From 8309e5606101ae02c2814656dc565f1e55674375 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 24 Apr 2026 12:30:03 +0000 Subject: [PATCH] SDK regeneration --- README.md | 97 +- poetry.lock | 20 +- pyproject.toml | 2 +- reference.md | 32574 +++++++------- src/merge/__init__.py | 6 +- src/merge/client.py | 74 +- src/merge/core/__init__.py | 5 + src/merge/core/client_wrapper.py | 4 +- src/merge/core/pagination.py | 82 + src/merge/environment.py | 2 +- src/merge/resources/__init__.py | 6 +- src/merge/resources/accounting/__init__.py | 543 +- src/merge/resources/accounting/client.py | 38 + .../accounting/resources/__init__.py | 174 +- .../resources/account_token/client.py | 65 + .../resources/account_token/raw_client.py | 73 + .../resources/accounting_periods/client.py | 35 +- .../accounting_periods/raw_client.py | 50 +- .../accounting/resources/accounts/client.py | 59 +- .../resources/accounts/raw_client.py | 100 +- .../resources/attachments/client.py | 35 +- .../resources/attachments/raw_client.py | 62 +- .../resources/audit_trail/client.py | 36 +- .../resources/audit_trail/raw_client.py | 54 +- .../resources/balance_sheets/client.py | 59 +- .../resources/balance_sheets/raw_client.py | 88 +- .../resources/bank_feed_accounts/client.py | 35 +- .../bank_feed_accounts/raw_client.py | 50 +- .../bank_feed_transactions/client.py | 59 +- .../bank_feed_transactions/raw_client.py | 88 +- .../resources/cash_flow_statements/client.py | 59 +- .../cash_flow_statements/raw_client.py | 88 +- .../resources/company_info/__init__.py | 8 +- .../resources/company_info/client.py | 91 +- .../resources/company_info/raw_client.py | 102 +- .../resources/company_info/types/__init__.py | 10 +- .../company_info_list_request_expand_item.py | 17 + .../company_info_retrieve_request_expand.py | 25 - ...mpany_info_retrieve_request_expand_item.py | 17 + .../accounting/resources/contacts/__init__.py | 8 +- .../accounting/resources/contacts/client.py | 110 +- .../resources/contacts/raw_client.py | 162 +- .../resources/contacts/types/__init__.py | 10 +- .../types/contacts_list_request_expand.py | 41 - .../contacts_list_request_expand_item.py} | 14 +- .../types/contacts_retrieve_request_expand.py | 41 - .../contacts_retrieve_request_expand_item.py | 25 + .../resources/credit_notes/__init__.py | 12 +- .../resources/credit_notes/client.py | 408 +- .../resources/credit_notes/raw_client.py | 450 +- .../resources/credit_notes/types/__init__.py | 12 +- .../types/credit_notes_list_request_expand.py | 627 - .../credit_notes_list_request_expand_item.py | 41 + .../credit_notes_retrieve_request_expand.py | 639 - ...edit_notes_retrieve_request_expand_item.py | 41 + .../accounting/resources/employees/client.py | 59 +- .../resources/employees/raw_client.py | 88 +- .../resources/expense_reports/__init__.py | 18 +- .../resources/expense_reports/client.py | 244 +- .../resources/expense_reports/raw_client.py | 279 +- .../expense_reports/types/__init__.py | 18 +- ...pense_reports_lines_list_request_expand.py | 265 - ..._reports_lines_list_request_expand_item.py | 37 + .../expense_reports_list_request_expand.py | 73 - ...xpense_reports_list_request_expand_item.py | 29 + ...expense_reports_retrieve_request_expand.py | 73 - ...se_reports_retrieve_request_expand_item.py | 29 + .../accounting/resources/expenses/__init__.py | 8 +- .../accounting/resources/expenses/client.py | 316 +- .../resources/expenses/raw_client.py | 380 +- .../resources/expenses/types/__init__.py | 10 +- .../types/expenses_list_request_expand.py | 275 - .../expenses_list_request_expand_item.py | 37 + .../types/expenses_retrieve_request_expand.py | 275 - .../expenses_retrieve_request_expand_item.py | 37 + .../resources/field_mapping/client.py | 64 + .../resources/field_mapping/raw_client.py | 64 + .../general_ledger_transactions/__init__.py | 11 +- .../general_ledger_transactions/client.py | 93 +- .../general_ledger_transactions/raw_client.py | 110 +- .../types/__init__.py | 12 +- ...ledger_transactions_list_request_expand.py | 93 - ...r_transactions_list_request_expand_item.py | 29 + ...er_transactions_retrieve_request_expand.py | 93 - ...ansactions_retrieve_request_expand_item.py | 29 + .../resources/income_statements/client.py | 59 +- .../resources/income_statements/raw_client.py | 88 +- .../accounting/resources/invoices/__init__.py | 12 +- .../accounting/resources/invoices/client.py | 328 +- .../resources/invoices/raw_client.py | 392 +- .../resources/invoices/types/__init__.py | 12 +- .../types/invoices_list_request_expand.py | 35091 --------------- .../invoices_list_request_expand_item.py | 65 + .../types/invoices_retrieve_request_expand.py | 35724 ---------------- .../invoices_retrieve_request_expand_item.py | 65 + .../accounting/resources/issues/client.py | 35 +- .../accounting/resources/issues/raw_client.py | 68 +- .../resources/item_fulfillments}/__init__.py | 7 +- .../resources/item_fulfillments/client.py | 1084 + .../resources/item_fulfillments/raw_client.py | 1132 + .../item_fulfillments/types}/__init__.py | 9 +- ...m_fulfillments_list_request_expand_item.py | 29 + ...lfillments_retrieve_request_expand_item.py | 29 + .../accounting/resources/items/__init__.py | 9 +- .../accounting/resources/items/client.py | 87 +- .../accounting/resources/items/raw_client.py | 108 +- .../resources/items/types/__init__.py | 10 +- .../items/types/items_list_request_expand.py | 145 - .../types/items_list_request_expand_item.py | 33 + .../types/items_retrieve_request_expand.py | 145 - .../items_retrieve_request_expand_item.py | 33 + .../resources/journal_entries/__init__.py | 8 +- .../resources/journal_entries/client.py | 183 +- .../resources/journal_entries/raw_client.py | 209 +- .../journal_entries/types/__init__.py | 10 +- .../journal_entries_list_request_expand.py | 294 - ...ournal_entries_list_request_expand_item.py | 37 + ...journal_entries_retrieve_request_expand.py | 297 - ...al_entries_retrieve_request_expand_item.py | 37 + .../resources/link_token/__init__.py | 9 +- .../accounting/resources/link_token/client.py | 41 +- .../resources/link_token/raw_client.py | 41 +- .../resources/link_token/types/__init__.py | 10 +- ...equest_completed_account_initial_screen.py | 0 .../resources/linked_accounts/client.py | 48 +- .../resources/linked_accounts/raw_client.py | 80 +- .../linked_accounts_list_request_category.py | 16 + .../resources/payment_methods/client.py | 35 +- .../resources/payment_methods/raw_client.py | 50 +- .../resources/payment_terms/client.py | 59 +- .../resources/payment_terms/raw_client.py | 76 +- .../accounting/resources/payments/__init__.py | 8 +- .../accounting/resources/payments/client.py | 163 +- .../resources/payments/raw_client.py | 209 +- .../resources/payments/types/__init__.py | 10 +- .../types/payments_list_request_expand.py | 641 - .../payments_list_request_expand_item.py | 41 + .../types/payments_retrieve_request_expand.py | 644 - .../payments_retrieve_request_expand_item.py | 41 + .../accounting/resources/projects/__init__.py | 8 +- .../accounting/resources/projects/client.py | 91 +- .../resources/projects/raw_client.py | 104 +- .../resources/projects/types/__init__.py | 10 +- .../types/projects_list_request_expand.py | 25 - .../projects_list_request_expand_item.py | 17 + .../types/projects_retrieve_request_expand.py | 25 - .../projects_retrieve_request_expand_item.py | 17 + .../resources/purchase_orders/__init__.py | 8 +- .../resources/purchase_orders/client.py | 183 +- .../resources/purchase_orders/raw_client.py | 213 +- .../purchase_orders/types/__init__.py | 10 +- .../purchase_orders_list_request_expand.py | 654 - ...urchase_orders_list_request_expand_item.py | 41 + ...purchase_orders_retrieve_request_expand.py | 678 - ...ase_orders_retrieve_request_expand_item.py | 41 + .../resources/sales_orders}/__init__.py | 7 +- .../resources/sales_orders/client.py | 1204 + .../resources/sales_orders/raw_client.py | 1226 + .../resources/sales_orders}/types/__init__.py | 8 +- .../sales_orders_list_request_expand_item.py | 37 + ...les_orders_retrieve_request_expand_item.py | 37 + .../resources/sync_status/client.py | 36 +- .../resources/sync_status/raw_client.py | 46 +- .../accounting/resources/tax_rates/client.py | 59 +- .../resources/tax_rates/raw_client.py | 90 +- .../resources/tracking_categories/client.py | 59 +- .../tracking_categories/raw_client.py | 98 +- .../resources/transactions/__init__.py | 8 +- .../resources/transactions/client.py | 79 +- .../resources/transactions/raw_client.py | 96 +- .../resources/transactions/types/__init__.py | 10 +- .../types/transactions_list_request_expand.py | 284 - .../transactions_list_request_expand_item.py | 37 + .../transactions_retrieve_request_expand.py | 284 - ...ansactions_retrieve_request_expand_item.py | 37 + .../resources/vendor_credits/__init__.py | 8 +- .../resources/vendor_credits/client.py | 421 +- .../resources/vendor_credits/raw_client.py | 451 +- .../vendor_credits/types/__init__.py | 10 +- .../vendor_credits_list_request_expand.py | 139 - ...vendor_credits_list_request_expand_item.py | 33 + .../vendor_credits_retrieve_request_expand.py | 139 - ...or_credits_retrieve_request_expand_item.py | 33 + .../resources/accounting/types/__init__.py | 350 +- .../resources/accounting/types/account.py | 3 +- ..._request_company.py => account_company.py} | 2 +- .../accounting/types/account_request.py | 3 +- .../types/account_request_company.py | 7 + .../types/async_bulk_create_response.py} | 11 +- .../accounting/types/audit_log_event.py | 1 + .../accounting/types/bank_feed_account.py | 3 +- .../accounting/types/batch_object.py | 40 + .../types/batch_object_item_response.py} | 12 +- .../accounting/types/batch_object_status.py | 7 + .../types/batch_object_status_enum.py | 35 + .../types/batch_objects_response.py | 55 + .../types/batch_objects_response_status.py | 7 + .../batch_objects_response_status_enum.py | 53 + .../accounting/types/categories_enum.py | 5 + .../accounting/types/category_enum.py | 5 + .../accounting/types/company_info.py | 8 +- ...item.py => company_info_addresses_item.py} | 2 +- .../types/company_info_phone_numbers_item.py | 7 + .../completed_account_initial_screen_enum.py | 0 .../resources/accounting/types/contact.py | 9 +- .../accounting/types/contact_company.py | 7 + .../types/contact_phone_numbers_item.py | 7 + .../accounting/types/contact_request.py | 9 +- .../types/contact_request_company.py | 7 + .../contact_request_phone_numbers_item.py | 7 + .../resources/accounting/types/credit_note.py | 4 +- .../credit_note_line_item_request_project.py | 4 +- .../types/credit_note_line_items_item.py | 7 + .../credit_note_request_line_items_item.py | 4 +- .../types/data_passthrough_request.py | 4 +- .../types/data_passthrough_request_method.py | 7 - .../types/error_validation_problem.py | 3 + .../resources/accounting/types/expense.py | 2 +- .../types/expense_batch_item_request.py | 26 + .../types/expense_line_request_project.py | 4 +- .../accounting/types/expense_report.py | 14 +- ...py => expense_report_accounting_period.py} | 2 +- .../types/expense_report_currency.py | 7 + ...employee.py => expense_report_employee.py} | 2 +- .../accounting/types/expense_report_line.py | 4 +- .../types/expense_report_line_currency.py | 7 + .../types/expense_report_line_request.py | 4 +- .../expense_report_line_request_currency.py | 7 + .../types/expense_report_lines_item.py | 7 + .../types/expense_report_request.py | 8 +- .../types/expense_report_request_currency.py | 7 + .../types/expense_report_request_status.py | 7 + .../accounting/types/expense_request.py | 2 +- .../external_target_field_api_response.py | 4 + .../types/field_mapping_api_instance.py | 2 + .../field_mapping_api_instance_response.py | 6 + .../types/general_ledger_transaction_line.py | 4 +- .../resources/accounting/types/invoice.py | 6 +- .../types/invoice_batch_item_request.py | 26 + .../accounting/types/invoice_line_item.py | 8 +- .../types/invoice_line_item_request.py | 8 +- .../invoice_line_item_request_employee.py | 7 - .../types/invoice_line_items_item.py | 7 + .../accounting/types/invoice_request.py | 10 +- .../invoice_request_accounting_period.py | 7 + .../types/invoice_request_line_items_item.py | 7 + .../types/invoice_sales_orders_item.py | 7 + .../accounting/types/item_fulfillment.py | 106 + .../item_fulfillment_batch_item_request.py} | 10 +- .../types/item_fulfillment_company.py | 7 + ...ontact.py => item_fulfillment_customer.py} | 2 +- .../types/item_fulfillment_line.py} | 53 +- .../types/item_fulfillment_line_item.py} | 4 +- .../types/item_fulfillment_line_request.py | 65 + .../item_fulfillment_line_request_item.py} | 4 +- ...lfillment_line_request_sales_order_line.py | 7 + ..._line_request_tracking_categories_item.py} | 2 +- .../item_fulfillment_line_sales_order_line.py | 7 + ...lfillment_line_tracking_categories_item.py | 7 + .../types/item_fulfillment_lines_item.py | 7 + .../types/item_fulfillment_request_request.py | 74 + ...tem_fulfillment_request_request_company.py | 7 + ...em_fulfillment_request_request_customer.py | 7 + ..._fulfillment_request_request_lines_item.py | 7 + ...fulfillment_request_request_sales_order.py | 7 + ...item_fulfillment_request_request_status.py | 7 + .../types/item_fulfillment_response.py} | 6 +- .../types/item_fulfillment_sales_order.py | 7 + .../types/item_fulfillment_status.py | 7 + .../types/item_fulfillment_status_enum.py | 36 + .../accounting/types/journal_entry.py | 4 +- .../types/journal_entry_lines_item.py | 7 + .../accounting/types/journal_entry_request.py | 4 +- .../types/journal_entry_request_lines_item.py | 7 + .../accounting/types/meta_response.py | 5 +- .../types/paginated_item_fulfillment_list.py} | 6 +- .../types/paginated_sales_order_list.py} | 6 +- .../types/patched_contact_request.py | 9 +- .../types/patched_contact_request_status.py | 7 + .../types/patched_payment_request.py | 26 +- .../types/patched_payment_request_account.py | 7 - ...d_payment_request_applied_to_lines_item.py | 7 - .../patched_payment_request_payment_method.py | 7 - .../types/patched_vendor_credit_request.py | 375 + .../patched_vendor_credit_request_currency.py | 7 + .../accounting/types/payment_method.py | 2 +- .../payment_request_applied_to_lines_item.py | 4 +- .../accounting/types/purchase_order.py | 4 +- .../types/purchase_order_line_items_item.py | 7 + .../types/purchase_order_request.py | 4 +- .../purchase_order_request_line_items_item.py | 7 + .../types/regenerate_account_token.py} | 12 +- .../accounting/types/remote_field.py | 6 +- .../types/remote_field_api_response.py | 5 + .../types/remote_field_remote_field_class.py | 7 - .../accounting/types/remote_field_request.py | 3 +- ...remote_field_request_remote_field_class.py | 7 - .../accounting/types/remote_response.py | 4 +- .../types/remote_response_response_type.py | 0 .../resources/accounting/types/report_item.py | 2 +- .../resources/accounting/types/role_enum.py | 5 + .../resources/accounting/types/sales_order.py | 444 + .../types/sales_order_batch_item_request.py} | 10 +- .../accounting/types/sales_order_company.py | 7 + .../accounting/types/sales_order_currency.py | 7 + .../accounting/types/sales_order_customer.py | 7 + .../types/sales_order_line.py} | 60 +- .../types/sales_order_line_company.py | 7 + .../types/sales_order_line_item.py} | 4 +- .../types/sales_order_line_request.py | 85 + .../types/sales_order_line_request_company.py | 7 + .../types/sales_order_line_request_item.py} | 4 +- .../sales_order_line_request_tax_rate.py | 7 + ..._line_request_tracking_categories_item.py} | 2 +- .../types/sales_order_line_tax_rate.py} | 4 +- ...les_order_line_tracking_categories_item.py | 7 + .../types/sales_order_lines_item.py | 7 + .../types/sales_order_payment_term.py | 7 + .../types/sales_order_request_request.py | 414 + .../sales_order_request_request_company.py | 7 + .../sales_order_request_request_currency.py | 7 + .../sales_order_request_request_customer.py | 7 + .../sales_order_request_request_lines_item.py | 7 + ...ales_order_request_request_payment_term.py | 7 + ..._order_request_request_shipping_address.py | 7 + .../sales_order_request_request_status.py | 7 + ...equest_request_tracking_categories_item.py | 7 + .../types/sales_order_response.py} | 6 +- .../types/sales_order_shipping_address.py | 7 + .../accounting/types/sales_order_status.py | 7 + .../types/sales_order_status_enum.py | 46 + .../sales_order_tracking_categories_item.py | 7 + .../resources/accounting/types/sync_status.py | 4 +- .../types/sync_status_last_sync_result.py | 0 .../resources/accounting/types/tax_rate.py | 4 +- .../types/tax_rate_tax_components_item.py | 7 - .../resources/accounting/types/transaction.py | 7 +- .../accounting/types/transaction_company.py | 7 + .../types/transaction_line_items_item.py | 7 + .../accounting/types/vendor_credit.py | 4 +- .../types/vendor_credit_lines_item.py | 7 + .../types/warning_validation_problem.py | 3 + src/merge/resources/ats/__init__.py | 97 +- src/merge/resources/ats/resources/__init__.py | 72 +- .../ats/resources/account_token/client.py | 65 + .../ats/resources/account_token/raw_client.py | 73 + .../ats/resources/activities/client.py | 51 +- .../ats/resources/activities/raw_client.py | 84 +- .../ats/resources/applications/__init__.py | 8 +- .../ats/resources/applications/client.py | 75 +- .../ats/resources/applications/raw_client.py | 98 +- .../resources/applications/types/__init__.py | 10 +- .../types/applications_list_request_expand.py | 1737 - .../applications_list_request_expand_item.py | 45 + .../applications_retrieve_request_expand.py | 1773 - ...plications_retrieve_request_expand_item.py | 45 + .../ats/resources/attachments/client.py | 55 +- .../ats/resources/attachments/raw_client.py | 88 +- .../ats/resources/audit_trail/client.py | 36 +- .../ats/resources/audit_trail/raw_client.py | 54 +- .../ats/resources/candidates/__init__.py | 9 +- .../ats/resources/candidates/client.py | 107 +- .../ats/resources/candidates/raw_client.py | 120 +- .../resources/candidates/types/__init__.py | 12 +- .../types/candidates_list_request_expand.py | 25 - .../candidates_list_request_expand_item.py | 19 + .../candidates_retrieve_request_expand.py | 25 - ...candidates_retrieve_request_expand_item.py | 19 + .../ats/resources/departments/client.py | 31 +- .../ats/resources/departments/raw_client.py | 56 +- .../resources/ats/resources/eeocs/client.py | 59 +- .../ats/resources/eeocs/raw_client.py | 92 +- .../ats/resources/field_mapping/client.py | 32 + .../ats/resources/field_mapping/raw_client.py | 34 + .../ats/resources/interviews/__init__.py | 8 +- .../ats/resources/interviews/client.py | 75 +- .../ats/resources/interviews/raw_client.py | 102 +- .../resources/interviews/types/__init__.py | 10 +- .../types/interviews_list_request_expand.py | 73 - .../interviews_list_request_expand_item.py | 29 + .../interviews_retrieve_request_expand.py | 73 - ...interviews_retrieve_request_expand_item.py | 29 + .../resources/ats/resources/issues/client.py | 35 +- .../ats/resources/issues/raw_client.py | 68 +- .../resources/job_interview_stages/client.py | 51 +- .../job_interview_stages/raw_client.py | 80 +- .../ats/resources/job_postings/client.py | 51 +- .../ats/resources/job_postings/raw_client.py | 80 +- .../resources/ats/resources/jobs/__init__.py | 18 +- .../resources/ats/resources/jobs/client.py | 142 +- .../ats/resources/jobs/raw_client.py | 174 +- .../ats/resources/jobs/types/__init__.py | 18 +- .../jobs/types/jobs_list_request_expand.py | 139 - .../types/jobs_list_request_expand_item.py | 33 + .../types/jobs_retrieve_request_expand.py | 139 - .../jobs_retrieve_request_expand_item.py | 33 + ...screening_questions_list_request_expand.py | 25 - ...ning_questions_list_request_expand_item.py | 17 + .../ats/resources/link_token/client.py | 4 +- .../ats/resources/link_token/raw_client.py | 4 +- .../ats/resources/linked_accounts/client.py | 36 +- .../resources/linked_accounts/raw_client.py | 68 +- .../ats/resources/offers/__init__.py | 10 +- .../resources/ats/resources/offers/client.py | 102 +- .../ats/resources/offers/raw_client.py | 127 +- .../ats/resources/offers/types/__init__.py | 12 +- .../types/offers_list_request_expand.py | 25 - .../types/offers_list_request_expand_item.py | 17 + .../types/offers_list_request_status.py | 49 + .../types/offers_retrieve_request_expand.py | 25 - .../offers_retrieve_request_expand_item.py | 17 + .../resources/ats/resources/offices/client.py | 35 +- .../ats/resources/offices/raw_client.py | 60 +- .../ats/resources/reject_reasons/client.py | 35 +- .../resources/reject_reasons/raw_client.py | 60 +- .../ats/resources/scorecards/__init__.py | 8 +- .../ats/resources/scorecards/client.py | 75 +- .../ats/resources/scorecards/raw_client.py | 100 +- .../resources/scorecards/types/__init__.py | 10 +- .../types/scorecards_list_request_expand.py | 41 - .../scorecards_list_request_expand_item.py | 25 + .../scorecards_retrieve_request_expand.py | 41 - ...scorecards_retrieve_request_expand_item.py | 25 + .../ats/resources/sync_status/client.py | 36 +- .../ats/resources/sync_status/raw_client.py | 46 +- .../resources/ats/resources/tags/client.py | 36 +- .../ats/resources/tags/raw_client.py | 62 +- .../resources/ats/resources/users/client.py | 35 +- .../ats/resources/users/raw_client.py | 66 +- src/merge/resources/ats/types/__init__.py | 15 +- .../resources/ats/types/activity_request.py | 4 +- .../types/activity_request_activity_type.py | 7 - .../resources/ats/types/audit_log_event.py | 1 + .../ats/types/field_mapping_api_instance.py | 1 + .../types/ignore_common_model_request.py} | 9 +- .../ignore_common_model_request_reason.py | 2 +- .../types/regenerate_account_token.py} | 12 +- src/merge/resources/ats/types/role_enum.py | 5 + .../resources/ats/types/screening_question.py | 3 +- .../types/screening_question_options_item.py | 7 + src/merge/resources/chat/__init__.py | 391 - src/merge/resources/chat/client.py | 459 - src/merge/resources/chat/raw_client.py | 13 - .../resources/chat/resources/__init__.py | 120 - .../resources/account_details/__init__.py | 4 - .../chat/resources/account_details/client.py | 102 - .../resources/account_details/raw_client.py | 91 - .../chat/resources/account_token/__init__.py | 4 - .../chat/resources/account_token/client.py | 112 - .../resources/account_token/raw_client.py | 98 - .../resources/async_passthrough/__init__.py | 32 - .../resources/async_passthrough/client.py | 201 - .../resources/async_passthrough/raw_client.py | 189 - .../async_passthrough/types/__init__.py | 32 - .../async_passthrough_retrieve_response.py | 7 - .../chat/resources/audit_trail/__init__.py | 4 - .../chat/resources/audit_trail/client.py | 188 - .../chat/resources/audit_trail/raw_client.py | 161 - .../resources/available_actions/__init__.py | 4 - .../resources/available_actions/client.py | 102 - .../resources/available_actions/raw_client.py | 91 - .../chat/resources/conversations/client.py | 553 - .../resources/conversations/raw_client.py | 479 - ...nversations_members_list_request_expand.py | 25 - .../chat/resources/delete_account/__init__.py | 4 - .../chat/resources/delete_account/client.py | 99 - .../resources/delete_account/raw_client.py | 71 - .../chat/resources/field_mapping/__init__.py | 4 - .../chat/resources/field_mapping/client.py | 664 - .../resources/field_mapping/raw_client.py | 672 - .../chat/resources/force_resync/__init__.py | 4 - .../chat/resources/force_resync/client.py | 106 - .../chat/resources/force_resync/raw_client.py | 93 - .../chat/resources/generate_key/__init__.py | 4 - .../chat/resources/generate_key/client.py | 115 - .../chat/resources/generate_key/raw_client.py | 114 - .../chat/resources/groups/__init__.py | 4 - .../resources/chat/resources/groups/client.py | 387 - .../chat/resources/groups/raw_client.py | 331 - .../resources/chat/resources/issues/client.py | 378 - .../chat/resources/issues/raw_client.py | 336 - .../chat/resources/issues/types/__init__.py | 32 - .../types/issues_list_request_status.py | 17 - .../chat/resources/link_token/client.py | 290 - .../chat/resources/link_token/raw_client.py | 273 - .../resources/link_token/types/__init__.py | 38 - .../resources/linked_accounts/__init__.py | 32 - .../chat/resources/linked_accounts/client.py | 297 - .../resources/linked_accounts/raw_client.py | 250 - .../linked_accounts_list_request_category.py | 49 - .../chat/resources/messages/client.py | 571 - .../chat/resources/messages/raw_client.py | 489 - .../chat/resources/messages/types/__init__.py | 36 - .../types/messages_list_request_order_by.py | 21 - .../messages_replies_list_request_order_by.py | 21 - .../chat/resources/passthrough/__init__.py | 4 - .../chat/resources/passthrough/client.py | 126 - .../chat/resources/passthrough/raw_client.py | 111 - .../chat/resources/regenerate_key/__init__.py | 4 - .../chat/resources/regenerate_key/client.py | 115 - .../resources/regenerate_key/raw_client.py | 114 - .../chat/resources/scopes/__init__.py | 4 - .../resources/chat/resources/scopes/client.py | 320 - .../chat/resources/scopes/raw_client.py | 267 - .../chat/resources/sync_status/__init__.py | 4 - .../chat/resources/sync_status/client.py | 132 - .../chat/resources/sync_status/raw_client.py | 121 - .../chat/resources/users/__init__.py | 4 - .../resources/chat/resources/users/client.py | 387 - .../chat/resources/users/raw_client.py | 331 - .../resources/webhook_receivers/__init__.py | 4 - .../resources/webhook_receivers/client.py | 201 - .../resources/webhook_receivers/raw_client.py | 208 - src/merge/resources/chat/types/__init__.py | 302 - .../resources/chat/types/account_details.py | 40 - .../chat/types/account_details_and_actions.py | 54 - ...account_details_and_actions_integration.py | 29 - ...account_details_and_actions_status_enum.py | 36 - .../chat/types/account_integration.py | 67 - .../resources/chat/types/advanced_metadata.py | 25 - .../resources/chat/types/audit_log_event.py | 97 - .../chat/types/audit_log_event_event_type.py | 7 - .../resources/chat/types/available_actions.py | 33 - .../resources/chat/types/categories_enum.py | 56 - .../resources/chat/types/category_enum.py | 56 - .../chat/types/data_passthrough_request.py | 62 - .../types/data_passthrough_request_method.py | 7 - ...data_passthrough_request_request_format.py | 7 - .../chat/types/enabled_actions_enum.py | 22 - .../resources/chat/types/encoding_enum.py | 31 - .../chat/types/error_validation_problem.py | 25 - .../resources/chat/types/event_type_enum.py | 231 - .../chat/types/external_target_field_api.py | 22 - .../external_target_field_api_response.py | 26 - .../chat/types/field_mapping_api_instance.py | 26 - ...field_mapping_api_instance_remote_field.py | 27 - ...tance_remote_field_remote_endpoint_info.py | 22 - .../field_mapping_api_instance_response.py | 26 - ...field_mapping_api_instance_target_field.py | 22 - .../types/field_permission_deserializer.py | 21 - .../field_permission_deserializer_request.py | 21 - src/merge/resources/chat/types/group.py | 68 - ...ividual_common_model_scope_deserializer.py | 24 - ...common_model_scope_deserializer_request.py | 24 - src/merge/resources/chat/types/issue.py | 36 - .../resources/chat/types/issue_status.py | 7 - .../resources/chat/types/issue_status_enum.py | 22 - .../resources/chat/types/language_enum.py | 22 - .../chat/types/last_sync_result_enum.py | 46 - src/merge/resources/chat/types/link_token.py | 22 - src/merge/resources/chat/types/member.py | 73 - src/merge/resources/chat/types/message.py | 88 - src/merge/resources/chat/types/method_enum.py | 51 - .../resources/chat/types/model_operation.py | 32 - .../types/model_permission_deserializer.py | 20 - .../model_permission_deserializer_request.py | 20 - .../types/multipart_form_field_request.py | 57 - .../multipart_form_field_request_encoding.py | 7 - ...inated_account_details_and_actions_list.py | 23 - .../chat/types/paginated_conversation_list.py | 23 - .../chat/types/paginated_group_list.py | 23 - .../chat/types/paginated_member_list.py | 23 - .../chat/types/paginated_message_list.py | 23 - .../chat/types/paginated_sync_status_list.py | 23 - .../chat/types/paginated_user_list.py | 23 - src/merge/resources/chat/types/remote_data.py | 37 - .../chat/types/remote_endpoint_info.py | 22 - .../resources/chat/types/remote_field_api.py | 28 - .../remote_field_api_advanced_metadata.py | 7 - .../chat/types/remote_field_api_coverage.py | 5 - .../chat/types/remote_field_api_response.py | 24 - .../resources/chat/types/remote_response.py | 36 - .../chat/types/request_format_enum.py | 31 - .../chat/types/response_type_enum.py | 22 - src/merge/resources/chat/types/role_enum.py | 46 - ...elective_sync_configurations_usage_enum.py | 24 - .../resources/chat/types/status_fd_5_enum.py | 46 - src/merge/resources/chat/types/sync_status.py | 41 - src/merge/resources/chat/types/type_enum.py | 51 - .../chat/types/validation_problem_source.py | 20 - .../chat/types/warning_validation_problem.py | 25 - .../resources/chat/types/webhook_receiver.py | 22 - src/merge/resources/crm/__init__.py | 96 +- src/merge/resources/crm/resources/__init__.py | 62 +- .../crm/resources/account_token/client.py | 65 + .../crm/resources/account_token/raw_client.py | 73 + .../crm/resources/accounts/client.py | 86 +- .../crm/resources/accounts/raw_client.py | 140 +- .../crm/resources/association_types/client.py | 107 +- .../resources/association_types/raw_client.py | 96 +- .../crm/resources/associations/client.py | 47 +- .../crm/resources/associations/raw_client.py | 80 +- .../crm/resources/audit_trail/client.py | 36 +- .../crm/resources/audit_trail/raw_client.py | 54 +- .../crm/resources/contacts/__init__.py | 8 +- .../crm/resources/contacts/client.py | 106 +- .../crm/resources/contacts/raw_client.py | 154 +- .../crm/resources/contacts/types/__init__.py | 10 +- .../contacts_list_request_expand_item.py | 17 + .../contacts_retrieve_request_expand_item.py | 17 + .../resources/custom_object_classes/client.py | 59 +- .../custom_object_classes/raw_client.py | 86 +- .../crm/resources/custom_objects/client.py | 70 +- .../resources/custom_objects/raw_client.py | 120 +- .../crm/resources/engagement_types/client.py | 70 +- .../resources/engagement_types/raw_client.py | 118 +- .../crm/resources/engagements/__init__.py | 8 +- .../crm/resources/engagements/client.py | 114 +- .../crm/resources/engagements/raw_client.py | 152 +- .../resources/engagements/types/__init__.py | 10 +- .../types/engagements_list_request_expand.py | 73 - .../engagements_list_request_expand_item.py | 29 + .../engagements_retrieve_request_expand.py | 73 - ...ngagements_retrieve_request_expand_item.py | 29 + .../crm/resources/field_mapping/client.py | 44 + .../crm/resources/field_mapping/raw_client.py | 44 + .../resources/crm/resources/issues/client.py | 35 +- .../crm/resources/issues/raw_client.py | 68 +- .../resources/crm/resources/leads/__init__.py | 9 +- .../resources/crm/resources/leads/client.py | 106 +- .../crm/resources/leads/raw_client.py | 158 +- .../crm/resources/leads/types/__init__.py | 10 +- .../leads/types/leads_list_request_expand.py | 41 - .../types/leads_list_request_expand_item.py | 25 + .../types/leads_retrieve_request_expand.py | 41 - .../leads_retrieve_request_expand_item.py | 25 + .../crm/resources/link_token/client.py | 4 +- .../crm/resources/link_token/raw_client.py | 4 +- .../crm/resources/linked_accounts/client.py | 36 +- .../resources/linked_accounts/raw_client.py | 68 +- .../resources/crm/resources/notes/__init__.py | 9 +- .../resources/crm/resources/notes/client.py | 106 +- .../crm/resources/notes/raw_client.py | 156 +- .../crm/resources/notes/types/__init__.py | 10 +- .../notes/types/notes_list_request_expand.py | 73 - .../types/notes_list_request_expand_item.py | 29 + .../types/notes_retrieve_request_expand.py | 73 - .../notes_retrieve_request_expand_item.py | 29 + .../crm/resources/opportunities/__init__.py | 14 +- .../crm/resources/opportunities/client.py | 114 +- .../crm/resources/opportunities/raw_client.py | 166 +- .../resources/opportunities/types/__init__.py | 14 +- .../opportunities_list_request_expand.py | 41 - ...opportunities_list_request_expand_item.py} | 14 +- .../opportunities_retrieve_request_expand.py | 41 - ...rtunities_retrieve_request_expand_item.py} | 14 +- .../resources/crm/resources/stages/client.py | 70 +- .../crm/resources/stages/raw_client.py | 118 +- .../crm/resources/sync_status/client.py | 36 +- .../crm/resources/sync_status/raw_client.py | 46 +- .../resources/crm/resources/tasks/__init__.py | 9 +- .../resources/crm/resources/tasks/client.py | 106 +- .../crm/resources/tasks/raw_client.py | 148 +- .../crm/resources/tasks/types/__init__.py | 10 +- .../tasks/types/tasks_list_request_expand.py | 41 - .../types/tasks_list_request_expand_item.py | 29 + .../types/tasks_retrieve_request_expand.py | 41 - .../tasks_retrieve_request_expand_item.py | 29 + .../resources/crm/resources/users/client.py | 70 +- .../crm/resources/users/raw_client.py | 120 +- src/merge/resources/crm/types/__init__.py | 24 +- .../crm/types/account_details_and_actions.py | 1 + .../resources/crm/types/audit_log_event.py | 1 + .../crm/types/field_mapping_api_instance.py | 1 + src/merge/resources/crm/types/lead.py | 11 + src/merge/resources/crm/types/lead_status.py | 7 + .../resources/crm/types/lead_status_enum.py | 36 + .../crm/types/patched_task_request.py | 5 + .../types/regenerate_account_token.py} | 15 +- .../resources/crm/types/remote_field_class.py | 8 +- .../types/remote_field_class_field_format.py | 7 - .../types/remote_field_class_field_type.py | 7 - .../resources/crm/types/remote_response.py | 4 +- .../types/remote_response_response_type.py | 0 src/merge/resources/crm/types/role_enum.py | 5 + src/merge/resources/crm/types/task.py | 6 + .../types/task_contact.py} | 4 +- src/merge/resources/crm/types/task_request.py | 6 + .../crm/types/task_request_contact.py | 7 + src/merge/resources/filestorage/__init__.py | 51 +- .../filestorage/resources/__init__.py | 30 +- .../resources/account_token/client.py | 65 + .../resources/account_token/raw_client.py | 73 + .../resources/audit_trail/client.py | 36 +- .../resources/audit_trail/raw_client.py | 54 +- .../filestorage/resources/drives/client.py | 31 +- .../resources/drives/raw_client.py | 58 +- .../resources/field_mapping/client.py | 44 + .../resources/field_mapping/raw_client.py | 44 + .../filestorage/resources/files/__init__.py | 12 +- .../filestorage/resources/files/client.py | 121 +- .../filestorage/resources/files/raw_client.py | 167 +- .../resources/files/types/__init__.py | 12 +- .../files/types/files_list_request_expand.py | 41 - .../types/files_list_request_expand_item.py | 25 + .../types/files_retrieve_request_expand.py | 41 - .../files_retrieve_request_expand_item.py | 25 + .../filestorage/resources/folders/__init__.py | 8 +- .../filestorage/resources/folders/client.py | 79 +- .../resources/folders/raw_client.py | 96 +- .../resources/folders/types/__init__.py | 10 +- .../types/folders_list_request_expand.py | 41 - .../types/folders_list_request_expand_item.py | 25 + .../types/folders_retrieve_request_expand.py | 41 - .../folders_retrieve_request_expand_item.py | 25 + .../filestorage/resources/groups/__init__.py | 31 + .../filestorage/resources/groups/client.py | 61 +- .../resources/groups/raw_client.py | 88 +- .../resources/groups/types}/__init__.py | 9 +- .../types/groups_list_request_expand_item.py | 17 + .../groups_retrieve_request_expand_item.py | 17 + .../filestorage/resources/issues/client.py | 35 +- .../resources/issues/raw_client.py | 68 +- .../resources/link_token/__init__.py | 28 + .../resources/link_token/client.py | 14 +- .../resources/link_token/raw_client.py | 14 +- .../resources/link_token/types}/__init__.py | 6 +- .../end_user_details_request_language.py | 0 .../resources/linked_accounts/client.py | 36 +- .../resources/linked_accounts/raw_client.py | 68 +- .../resources/sync_status/client.py | 36 +- .../resources/sync_status/raw_client.py | 46 +- .../filestorage/resources/users/client.py | 47 +- .../filestorage/resources/users/raw_client.py | 74 +- .../resources/filestorage/types/__init__.py | 18 + .../filestorage/types/account_details.py | 4 +- .../types/account_details_and_actions.py | 8 +- .../account_details_and_actions_category.py | 0 .../account_details_and_actions_status.py | 0 .../types/account_details_category.py | 0 .../resources/filestorage/types/drive.py | 5 - .../types/field_mapping_api_instance.py | 1 + .../resources/filestorage/types/permission.py | 7 + .../types/regenerate_account_token.py | 30 + .../filestorage/types/remote_response.py | 4 +- .../types/remote_response_response_type.py | 7 + .../resources/filestorage/types/role_enum.py | 5 + .../filestorage/types/sync_status.py | 4 +- .../types/sync_status_status.py | 0 src/merge/resources/hris/__init__.py | 73 +- .../resources/hris/resources/__init__.py | 59 +- .../hris/resources/account_token/client.py | 65 + .../resources/account_token/raw_client.py | 73 + .../hris/resources/audit_trail/client.py | 36 +- .../hris/resources/audit_trail/raw_client.py | 54 +- .../hris/resources/bank_info/client.py | 55 +- .../hris/resources/bank_info/raw_client.py | 94 +- .../hris/resources/benefits/client.py | 55 +- .../hris/resources/benefits/raw_client.py | 84 +- .../hris/resources/companies/client.py | 31 +- .../hris/resources/companies/raw_client.py | 56 +- .../hris/resources/dependents/client.py | 31 +- .../hris/resources/dependents/raw_client.py | 60 +- .../employee_payroll_runs/__init__.py | 8 +- .../resources/employee_payroll_runs/client.py | 85 +- .../employee_payroll_runs/raw_client.py | 108 +- .../employee_payroll_runs/types/__init__.py | 10 +- ...ployee_payroll_runs_list_request_expand.py | 25 - ...e_payroll_runs_list_request_expand_item.py | 17 + ...ee_payroll_runs_retrieve_request_expand.py | 25 - ...yroll_runs_retrieve_request_expand_item.py | 17 + .../hris/resources/employees/__init__.py | 15 +- .../hris/resources/employees/client.py | 107 +- .../hris/resources/employees/raw_client.py | 162 +- .../resources/employees/types/__init__.py | 15 +- .../types/employees_list_request_expand.py | 1096 - .../employees_list_request_expand_item.py | 45 + .../employees_retrieve_request_expand.py | 1102 - .../employees_retrieve_request_expand_item.py | 45 + .../resources/employer_benefits/client.py | 31 +- .../resources/employer_benefits/raw_client.py | 56 +- .../hris/resources/employments/__init__.py | 12 +- .../hris/resources/employments/client.py | 67 +- .../hris/resources/employments/raw_client.py | 94 +- .../resources/employments/types/__init__.py | 12 +- .../types/employments_list_request_expand.py | 25 - .../employments_list_request_expand_item.py | 17 + .../employments_retrieve_request_expand.py | 25 - ...mployments_retrieve_request_expand_item.py | 17 + .../hris/resources/field_mapping/client.py | 12 + .../resources/field_mapping/raw_client.py | 14 + .../hris/resources/groups/__init__.py | 28 + .../resources/hris/resources/groups/client.py | 132 +- .../hris/resources/groups/raw_client.py | 167 +- .../resources/groups/types}/__init__.py | 6 +- .../types/groups_types_list_response.py} | 13 +- .../resources/hris/resources/issues/client.py | 31 +- .../hris/resources/issues/raw_client.py | 64 +- .../hris/resources/link_token/__init__.py | 9 +- .../hris/resources/link_token/client.py | 27 +- .../hris/resources/link_token/raw_client.py | 27 +- .../resources/link_token/types/__init__.py | 10 +- ...equest_completed_account_initial_screen.py | 7 - .../hris/resources/linked_accounts/client.py | 32 +- .../resources/linked_accounts/raw_client.py | 64 +- .../hris/resources/locations/client.py | 31 +- .../hris/resources/locations/raw_client.py | 62 +- .../hris/resources/pay_groups/client.py | 31 +- .../hris/resources/pay_groups/raw_client.py | 56 +- .../hris/resources/payroll_runs/client.py | 31 +- .../hris/resources/payroll_runs/raw_client.py | 70 +- .../hris/resources/sync_status/client.py | 32 +- .../hris/resources/sync_status/raw_client.py | 42 +- .../resources/hris/resources/teams/client.py | 55 +- .../hris/resources/teams/raw_client.py | 84 +- .../hris/resources/time_off/__init__.py | 12 +- .../hris/resources/time_off/client.py | 71 +- .../hris/resources/time_off/raw_client.py | 110 +- .../hris/resources/time_off/types/__init__.py | 12 +- .../types/time_off_list_request_expand.py | 25 - .../time_off_list_request_expand_item.py | 17 + .../types/time_off_retrieve_request_expand.py | 25 - .../time_off_retrieve_request_expand_item.py | 17 + .../resources/time_off_balances/client.py | 59 +- .../resources/time_off_balances/raw_client.py | 94 +- .../resources/timesheet_entries/client.py | 55 +- .../resources/timesheet_entries/raw_client.py | 94 +- src/merge/resources/hris/types/__init__.py | 18 +- .../resources/hris/types/audit_log_event.py | 1 + .../completed_account_initial_screen_enum.py | 5 - .../types/ignore_common_model_request.py} | 9 +- .../ignore_common_model_request_reason.py | 2 +- .../resources/hris/types/meta_response.py | 4 + .../types/multipart_form_field_request.py | 4 +- .../multipart_form_field_request_encoding.py | 7 - .../hris/types/regenerate_account_token.py | 30 + src/merge/resources/hris/types/role_enum.py | 5 + src/merge/resources/hris/types/sync_status.py | 4 +- .../types/sync_status_status.py | 0 src/merge/resources/knowledgebase/__init__.py | 481 - src/merge/resources/knowledgebase/client.py | 480 - .../resources/knowledgebase/raw_client.py | 13 - .../knowledgebase/resources/__init__.py | 134 - .../resources/account_details/__init__.py | 4 - .../resources/account_details/client.py | 102 - .../resources/account_details/raw_client.py | 91 - .../resources/account_token/__init__.py | 4 - .../resources/account_token/client.py | 112 - .../resources/account_token/raw_client.py | 98 - .../resources/articles/__init__.py | 36 - .../resources/articles/client.py | 468 - .../resources/articles/raw_client.py | 384 - .../resources/articles/types/__init__.py | 38 - .../types/articles_list_request_expand.py | 625 - .../types/articles_list_request_type.py | 29 - .../types/articles_retrieve_request_expand.py | 631 - .../resources/async_passthrough/__init__.py | 32 - .../resources/async_passthrough/client.py | 201 - .../resources/async_passthrough/raw_client.py | 189 - .../async_passthrough/types/__init__.py | 32 - .../async_passthrough_retrieve_response.py | 7 - .../resources/attachments/__init__.py | 4 - .../resources/attachments/client.py | 367 - .../resources/attachments/raw_client.py | 311 - .../resources/audit_trail/__init__.py | 4 - .../resources/audit_trail/client.py | 188 - .../resources/audit_trail/raw_client.py | 161 - .../resources/available_actions/__init__.py | 4 - .../resources/available_actions/client.py | 102 - .../resources/available_actions/raw_client.py | 91 - .../resources/containers/__init__.py | 36 - .../resources/containers/client.py | 444 - .../resources/containers/raw_client.py | 364 - .../resources/containers/types/__init__.py | 38 - .../types/containers_list_request_expand.py | 41 - .../types/containers_list_request_type.py | 41 - .../containers_retrieve_request_expand.py | 41 - .../resources/delete_account/__init__.py | 4 - .../resources/delete_account/client.py | 99 - .../resources/delete_account/raw_client.py | 71 - .../resources/field_mapping/__init__.py | 4 - .../resources/field_mapping/client.py | 664 - .../resources/field_mapping/raw_client.py | 672 - .../resources/force_resync/__init__.py | 4 - .../resources/force_resync/client.py | 106 - .../resources/force_resync/raw_client.py | 93 - .../resources/generate_key/__init__.py | 4 - .../resources/generate_key/client.py | 115 - .../resources/generate_key/raw_client.py | 114 - .../resources/groups/__init__.py | 32 - .../knowledgebase/resources/groups/client.py | 405 - .../resources/groups/raw_client.py | 333 - .../resources/groups/types/__init__.py | 36 - .../types/groups_list_request_expand.py | 25 - .../types/groups_retrieve_request_expand.py | 25 - .../resources/issues/__init__.py | 32 - .../knowledgebase/resources/issues/client.py | 382 - .../resources/issues/raw_client.py | 336 - .../resources/issues/types/__init__.py | 32 - .../types/issues_list_request_status.py | 17 - .../resources/link_token/__init__.py | 35 - .../resources/link_token/client.py | 290 - .../resources/link_token/raw_client.py | 273 - .../resources/link_token/types/__init__.py | 38 - ...equest_completed_account_initial_screen.py | 7 - .../end_user_details_request_language.py | 7 - .../resources/linked_accounts/__init__.py | 32 - .../resources/linked_accounts/client.py | 295 - .../resources/linked_accounts/raw_client.py | 248 - .../linked_accounts_list_request_category.py | 45 - .../resources/passthrough/__init__.py | 4 - .../resources/passthrough/client.py | 126 - .../resources/passthrough/raw_client.py | 111 - .../resources/regenerate_key/__init__.py | 4 - .../resources/regenerate_key/client.py | 115 - .../resources/regenerate_key/raw_client.py | 114 - .../resources/scopes/__init__.py | 4 - .../knowledgebase/resources/scopes/client.py | 320 - .../resources/scopes/raw_client.py | 267 - .../resources/sync_status/__init__.py | 4 - .../resources/sync_status/client.py | 132 - .../resources/sync_status/raw_client.py | 121 - .../knowledgebase/resources/users/__init__.py | 4 - .../knowledgebase/resources/users/client.py | 367 - .../resources/users/raw_client.py | 311 - .../resources/webhook_receivers/__init__.py | 4 - .../resources/webhook_receivers/client.py | 201 - .../resources/webhook_receivers/raw_client.py | 208 - .../resources/knowledgebase/types/__init__.py | 374 - .../knowledgebase/types/account_details.py | 40 - .../types/account_details_and_actions.py | 54 - .../account_details_and_actions_category.py | 7 - ...account_details_and_actions_integration.py | 29 - .../account_details_and_actions_status.py | 7 - ...account_details_and_actions_status_enum.py | 36 - .../types/account_details_category.py | 7 - .../types/account_integration.py | 67 - .../knowledgebase/types/advanced_metadata.py | 25 - .../resources/knowledgebase/types/article.py | 159 - .../types/article_attachments_item.py | 7 - .../types/article_parent_article.py | 9 - .../types/article_parent_container.py | 7 - .../types/article_root_container.py | 7 - .../knowledgebase/types/article_status.py | 7 - .../knowledgebase/types/article_type.py | 7 - .../knowledgebase/types/article_type_enum.py | 31 - .../knowledgebase/types/article_visibility.py | 7 - .../types/async_passthrough_reciept.py | 20 - .../knowledgebase/types/attachment.py | 67 - .../knowledgebase/types/audit_log_event.py | 97 - .../types/audit_log_event_event_type.py | 7 - .../types/audit_log_event_role.py | 7 - .../knowledgebase/types/available_actions.py | 33 - .../knowledgebase/types/categories_enum.py | 56 - .../knowledgebase/types/category_enum.py | 56 - .../types/common_model_scopes_body_request.py | 23 - .../completed_account_initial_screen_enum.py | 5 - .../knowledgebase/types/container.py | 130 - .../types/container_permissions_item.py | 7 - .../knowledgebase/types/container_status.py | 7 - .../knowledgebase/types/container_type.py | 7 - .../types/container_type_enum.py | 46 - .../types/container_visibility.py | 7 - .../types/data_passthrough_request.py | 62 - .../types/data_passthrough_request_method.py | 7 - ...data_passthrough_request_request_format.py | 7 - .../knowledgebase/types/debug_mode_log.py | 23 - .../types/debug_model_log_summary.py | 22 - .../types/enabled_actions_enum.py | 22 - .../knowledgebase/types/encoding_enum.py | 31 - .../types/error_validation_problem.py | 24 - .../knowledgebase/types/event_type_enum.py | 231 - .../types/external_target_field_api.py | 22 - .../external_target_field_api_response.py | 25 - .../types/field_mapping_api_instance.py | 26 - ...field_mapping_api_instance_remote_field.py | 27 - ...tance_remote_field_remote_endpoint_info.py | 22 - .../field_mapping_api_instance_response.py | 25 - ...field_mapping_api_instance_target_field.py | 22 - .../types/field_permission_deserializer.py | 21 - .../field_permission_deserializer_request.py | 21 - .../resources/knowledgebase/types/group.py | 71 - .../knowledgebase/types/group_parent_group.py | 9 - ...ividual_common_model_scope_deserializer.py | 24 - ...common_model_scope_deserializer_request.py | 24 - .../resources/knowledgebase/types/issue.py | 36 - .../knowledgebase/types/issue_status.py | 7 - .../knowledgebase/types/issue_status_enum.py | 22 - .../knowledgebase/types/language_enum.py | 22 - .../types/last_sync_result_enum.py | 46 - .../knowledgebase/types/link_token.py | 22 - .../knowledgebase/types/method_enum.py | 51 - .../knowledgebase/types/model_operation.py | 32 - .../types/model_permission_deserializer.py | 20 - .../model_permission_deserializer_request.py | 20 - .../types/multipart_form_field_request.py | 57 - .../multipart_form_field_request_encoding.py | 7 - ...inated_account_details_and_actions_list.py | 23 - .../types/paginated_article_list.py | 30 - .../types/paginated_attachment_list.py | 23 - .../types/paginated_audit_log_event_list.py | 23 - .../types/paginated_container_list.py | 30 - .../types/paginated_group_list.py | 29 - .../types/paginated_issue_list.py | 23 - .../types/paginated_sync_status_list.py | 23 - .../types/paginated_user_list.py | 23 - .../knowledgebase/types/permission_group.py | 7 - .../knowledgebase/types/permission_type.py | 7 - .../types/permission_type_enum.py | 36 - .../knowledgebase/types/remote_data.py | 37 - .../types/remote_endpoint_info.py | 22 - .../knowledgebase/types/remote_field_api.py | 28 - .../remote_field_api_advanced_metadata.py | 7 - .../types/remote_field_api_coverage.py | 5 - .../types/remote_field_api_response.py | 25 - .../knowledgebase/types/remote_response.py | 36 - .../types/request_format_enum.py | 31 - .../knowledgebase/types/response_type_enum.py | 22 - .../knowledgebase/types/role_enum.py | 46 - .../knowledgebase/types/roles_enum.py | 31 - ...elective_sync_configurations_usage_enum.py | 24 - .../knowledgebase/types/status_3_c_6_enum.py | 36 - .../knowledgebase/types/status_fd_5_enum.py | 46 - .../knowledgebase/types/sync_status.py | 41 - .../types/sync_status_last_sync_result.py | 7 - .../resources/knowledgebase/types/user.py | 60 - .../types/validation_problem_source.py | 20 - .../knowledgebase/types/visibility_enum.py | 31 - .../types/warning_validation_problem.py | 24 - .../knowledgebase/types/webhook_receiver.py | 22 - src/merge/resources/ticketing/__init__.py | 114 +- .../resources/ticketing/resources/__init__.py | 69 +- .../resources/account_token/client.py | 65 + .../resources/account_token/raw_client.py | 73 + .../ticketing/resources/accounts/client.py | 35 +- .../resources/accounts/raw_client.py | 60 +- .../ticketing/resources/attachments/client.py | 59 +- .../resources/attachments/raw_client.py | 90 +- .../ticketing/resources/audit_trail/client.py | 32 +- .../resources/audit_trail/raw_client.py | 50 +- .../resources/collections/__init__.py | 18 +- .../ticketing/resources/collections/client.py | 118 +- .../resources/collections/raw_client.py | 166 +- .../resources/collections/types/__init__.py | 15 +- .../collections_list_request_expand_item.py | 19 + ...ollections_retrieve_request_expand_item.py | 19 + ...collections_viewers_list_request_expand.py | 25 - ...ctions_viewers_list_request_expand_item.py | 17 + .../ticketing/resources/comments/__init__.py | 8 +- .../ticketing/resources/comments/client.py | 75 +- .../resources/comments/raw_client.py | 90 +- .../resources/comments/types/__init__.py | 10 +- .../types/comments_list_request_expand.py | 41 - .../comments_list_request_expand_item.py | 25 + .../types/comments_retrieve_request_expand.py | 41 - .../comments_retrieve_request_expand_item.py | 25 + .../ticketing/resources/contacts/client.py | 55 +- .../resources/contacts/raw_client.py | 84 +- .../resources/field_mapping/client.py | 24 + .../resources/field_mapping/raw_client.py | 24 + .../ticketing/resources/issues/client.py | 31 +- .../ticketing/resources/issues/raw_client.py | 64 +- .../resources/link_token/__init__.py | 9 +- .../ticketing/resources/link_token/client.py | 21 +- .../resources/link_token/raw_client.py | 21 +- .../resources/link_token/types/__init__.py | 10 +- ...equest_completed_account_initial_screen.py | 7 - .../resources/linked_accounts/client.py | 32 +- .../resources/linked_accounts/raw_client.py | 64 +- .../ticketing/resources/projects/__init__.py | 6 +- .../ticketing/resources/projects/client.py | 88 +- .../resources/projects/raw_client.py | 124 +- .../resources/projects/types/__init__.py | 8 +- .../projects_users_list_request_expand.py | 25 - ...projects_users_list_request_expand_item.py | 17 + .../ticketing/resources/roles/client.py | 31 +- .../ticketing/resources/roles/raw_client.py | 56 +- .../ticketing/resources/sync_status/client.py | 32 +- .../resources/sync_status/raw_client.py | 42 +- .../ticketing/resources/tags/client.py | 31 +- .../ticketing/resources/tags/raw_client.py | 56 +- .../ticketing/resources/teams/client.py | 31 +- .../ticketing/resources/teams/raw_client.py | 56 +- .../ticketing/resources/tickets/__init__.py | 24 +- .../ticketing/resources/tickets/client.py | 344 +- .../ticketing/resources/tickets/raw_client.py | 486 +- .../resources/tickets/types/__init__.py | 24 +- .../types/tickets_list_request_expand.py | 1162 - .../types/tickets_list_request_expand_item.py | 49 + ...e_search_retrieve_request_remote_fields.py | 41 + ...arch_retrieve_request_show_enum_origins.py | 41 + .../types/tickets_retrieve_request_expand.py | 1171 - .../tickets_retrieve_request_expand_item.py | 49 + .../tickets_viewers_list_request_expand.py | 25 - ...ickets_viewers_list_request_expand_item.py | 17 + .../ticketing/resources/users/__init__.py | 9 +- .../ticketing/resources/users/client.py | 103 +- .../ticketing/resources/users/raw_client.py | 126 +- .../resources/users/types/__init__.py | 10 +- .../users/types/users_list_request_expand.py | 25 - .../types/users_list_request_expand_item.py | 17 + .../types/users_retrieve_request_expand.py | 25 - .../users_retrieve_request_expand_item.py | 17 + .../resources/ticketing/types/__init__.py | 45 +- .../resources/ticketing/types/actions_enum.py | 36 + .../ticketing/types/audit_log_event.py | 1 + .../ticketing/types/categories_enum.py | 5 - .../ticketing/types/category_enum.py | 5 - .../resources/ticketing/types/collection.py | 6 +- .../types/collection_collection_type.py | 7 - .../types/collection_permissions_item.py} | 2 +- .../completed_account_initial_screen_enum.py | 5 - .../resources/ticketing/types/effect_enum.py | 31 + .../ticketing/types/patched_ticket_request.py | 14 +- .../types/patched_ticket_request_priority.py | 7 - .../types/permission.py | 40 +- .../ticketing/types/permission_effect.py | 7 + .../ticketing/types/permission_request.py | 55 + .../types/permission_request_effect.py | 7 + .../types/regenerate_account_token.py | 30 + .../ticketing/types/remote_field_class.py | 8 +- .../types/remote_field_class_field_format.py | 7 - .../types/remote_field_class_field_type.py | 7 - .../ticketing/types/remote_response.py | 4 +- .../types/remote_response_response_type.py | 7 + .../resources/ticketing/types/role_enum.py | 5 + .../ticketing/types/role_ticket_access.py | 2 +- .../types/role_ticket_actions_item.py | 2 +- .../resources/ticketing/types/sync_status.py | 4 +- .../ticketing/types/sync_status_status.py | 7 + src/merge/resources/ticketing/types/ticket.py | 32 +- 1121 files changed, 44434 insertions(+), 143659 deletions(-) create mode 100644 src/merge/core/pagination.py create mode 100644 src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py rename src/merge/resources/accounting/resources/{company_info/types/company_info_list_request_expand.py => contacts/types/contacts_list_request_expand_item.py} (50%) delete mode 100644 src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py rename src/merge/resources/{chat/resources/conversations/types => accounting/resources/item_fulfillments}/__init__.py (74%) create mode 100644 src/merge/resources/accounting/resources/item_fulfillments/client.py create mode 100644 src/merge/resources/accounting/resources/item_fulfillments/raw_client.py rename src/merge/resources/{chat/resources/messages => accounting/resources/item_fulfillments/types}/__init__.py (64%) create mode 100644 src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_list_request_expand_item.py create mode 100644 src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/items/types/items_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py rename src/merge/resources/{chat => accounting}/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py (100%) delete mode 100644 src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py rename src/merge/resources/{knowledgebase/resources/linked_accounts/types => accounting/resources/sales_orders}/__init__.py (76%) create mode 100644 src/merge/resources/accounting/resources/sales_orders/client.py create mode 100644 src/merge/resources/accounting/resources/sales_orders/raw_client.py rename src/merge/resources/{chat/resources/linked_accounts => accounting/resources/sales_orders}/types/__init__.py (67%) create mode 100644 src/merge/resources/accounting/resources/sales_orders/types/sales_orders_list_request_expand_item.py create mode 100644 src/merge/resources/accounting/resources/sales_orders/types/sales_orders_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py create mode 100644 src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py delete mode 100644 src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py create mode 100644 src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py rename src/merge/resources/accounting/types/{patched_payment_request_company.py => account_company.py} (65%) create mode 100644 src/merge/resources/accounting/types/account_request_company.py rename src/merge/resources/{chat/types/async_passthrough_reciept.py => accounting/types/async_bulk_create_response.py} (70%) create mode 100644 src/merge/resources/accounting/types/batch_object.py rename src/merge/resources/{chat/types/common_model_scopes_body_request.py => accounting/types/batch_object_item_response.py} (69%) create mode 100644 src/merge/resources/accounting/types/batch_object_status.py create mode 100644 src/merge/resources/accounting/types/batch_object_status_enum.py create mode 100644 src/merge/resources/accounting/types/batch_objects_response.py create mode 100644 src/merge/resources/accounting/types/batch_objects_response_status.py create mode 100644 src/merge/resources/accounting/types/batch_objects_response_status_enum.py rename src/merge/resources/accounting/types/{patched_contact_request_addresses_item.py => company_info_addresses_item.py} (63%) create mode 100644 src/merge/resources/accounting/types/company_info_phone_numbers_item.py rename src/merge/resources/{chat => accounting}/types/completed_account_initial_screen_enum.py (100%) create mode 100644 src/merge/resources/accounting/types/contact_company.py create mode 100644 src/merge/resources/accounting/types/contact_phone_numbers_item.py create mode 100644 src/merge/resources/accounting/types/contact_request_company.py create mode 100644 src/merge/resources/accounting/types/contact_request_phone_numbers_item.py create mode 100644 src/merge/resources/accounting/types/credit_note_line_items_item.py delete mode 100644 src/merge/resources/accounting/types/data_passthrough_request_method.py create mode 100644 src/merge/resources/accounting/types/expense_batch_item_request.py rename src/merge/resources/accounting/types/{patched_payment_request_accounting_period.py => expense_report_accounting_period.py} (62%) create mode 100644 src/merge/resources/accounting/types/expense_report_currency.py rename src/merge/resources/accounting/types/{invoice_line_item_employee.py => expense_report_employee.py} (67%) create mode 100644 src/merge/resources/accounting/types/expense_report_line_currency.py create mode 100644 src/merge/resources/accounting/types/expense_report_line_request_currency.py create mode 100644 src/merge/resources/accounting/types/expense_report_lines_item.py create mode 100644 src/merge/resources/accounting/types/expense_report_request_currency.py create mode 100644 src/merge/resources/accounting/types/expense_report_request_status.py create mode 100644 src/merge/resources/accounting/types/invoice_batch_item_request.py delete mode 100644 src/merge/resources/accounting/types/invoice_line_item_request_employee.py create mode 100644 src/merge/resources/accounting/types/invoice_line_items_item.py create mode 100644 src/merge/resources/accounting/types/invoice_request_accounting_period.py create mode 100644 src/merge/resources/accounting/types/invoice_request_line_items_item.py create mode 100644 src/merge/resources/accounting/types/invoice_sales_orders_item.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment.py rename src/merge/resources/{chat/types/common_model_scope_api.py => accounting/types/item_fulfillment_batch_item_request.py} (64%) create mode 100644 src/merge/resources/accounting/types/item_fulfillment_company.py rename src/merge/resources/accounting/types/{patched_payment_request_contact.py => item_fulfillment_customer.py} (65%) rename src/merge/resources/{chat/types/user.py => accounting/types/item_fulfillment_line.py} (56%) rename src/merge/resources/{knowledgebase/types/article_last_edited_by.py => accounting/types/item_fulfillment_line_item.py} (52%) create mode 100644 src/merge/resources/accounting/types/item_fulfillment_line_request.py rename src/merge/resources/{chat/types/conversation_type.py => accounting/types/item_fulfillment_line_request_item.py} (50%) create mode 100644 src/merge/resources/accounting/types/item_fulfillment_line_request_sales_order_line.py rename src/merge/resources/accounting/types/{general_ledger_transaction_line_tracking_categories_item.py => item_fulfillment_line_request_tracking_categories_item.py} (59%) create mode 100644 src/merge/resources/accounting/types/item_fulfillment_line_sales_order_line.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_line_tracking_categories_item.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_lines_item.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request_company.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request_customer.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request_lines_item.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request_sales_order.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_request_request_status.py rename src/merge/resources/{chat/types/field_mapping_instance_response.py => accounting/types/item_fulfillment_response.py} (84%) create mode 100644 src/merge/resources/accounting/types/item_fulfillment_sales_order.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_status.py create mode 100644 src/merge/resources/accounting/types/item_fulfillment_status_enum.py create mode 100644 src/merge/resources/accounting/types/journal_entry_lines_item.py create mode 100644 src/merge/resources/accounting/types/journal_entry_request_lines_item.py rename src/merge/resources/{chat/types/paginated_audit_log_event_list.py => accounting/types/paginated_item_fulfillment_list.py} (77%) rename src/merge/resources/{chat/types/paginated_issue_list.py => accounting/types/paginated_sales_order_list.py} (79%) create mode 100644 src/merge/resources/accounting/types/patched_contact_request_status.py delete mode 100644 src/merge/resources/accounting/types/patched_payment_request_account.py delete mode 100644 src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py delete mode 100644 src/merge/resources/accounting/types/patched_payment_request_payment_method.py create mode 100644 src/merge/resources/accounting/types/patched_vendor_credit_request.py create mode 100644 src/merge/resources/accounting/types/patched_vendor_credit_request_currency.py create mode 100644 src/merge/resources/accounting/types/purchase_order_line_items_item.py create mode 100644 src/merge/resources/accounting/types/purchase_order_request_line_items_item.py rename src/merge/resources/{chat/types/remote_key.py => accounting/types/regenerate_account_token.py} (66%) delete mode 100644 src/merge/resources/accounting/types/remote_field_remote_field_class.py delete mode 100644 src/merge/resources/accounting/types/remote_field_request_remote_field_class.py rename src/merge/resources/{chat => accounting}/types/remote_response_response_type.py (100%) create mode 100644 src/merge/resources/accounting/types/sales_order.py rename src/merge/resources/{knowledgebase/types/common_model_scope_api.py => accounting/types/sales_order_batch_item_request.py} (64%) create mode 100644 src/merge/resources/accounting/types/sales_order_company.py create mode 100644 src/merge/resources/accounting/types/sales_order_currency.py create mode 100644 src/merge/resources/accounting/types/sales_order_customer.py rename src/merge/resources/{chat/types/conversation.py => accounting/types/sales_order_line.py} (54%) create mode 100644 src/merge/resources/accounting/types/sales_order_line_company.py rename src/merge/resources/{knowledgebase/types/permission_user.py => accounting/types/sales_order_line_item.py} (54%) create mode 100644 src/merge/resources/accounting/types/sales_order_line_request.py create mode 100644 src/merge/resources/accounting/types/sales_order_line_request_company.py rename src/merge/resources/{knowledgebase/types/group_users_item.py => accounting/types/sales_order_line_request_item.py} (51%) create mode 100644 src/merge/resources/accounting/types/sales_order_line_request_tax_rate.py rename src/merge/resources/accounting/types/{patched_payment_request_tracking_categories_item.py => sales_order_line_request_tracking_categories_item.py} (69%) rename src/merge/resources/{chat/types/audit_log_event_role.py => accounting/types/sales_order_line_tax_rate.py} (50%) create mode 100644 src/merge/resources/accounting/types/sales_order_line_tracking_categories_item.py create mode 100644 src/merge/resources/accounting/types/sales_order_lines_item.py create mode 100644 src/merge/resources/accounting/types/sales_order_payment_term.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_company.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_currency.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_customer.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_lines_item.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_payment_term.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_shipping_address.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_status.py create mode 100644 src/merge/resources/accounting/types/sales_order_request_request_tracking_categories_item.py rename src/merge/resources/{knowledgebase/types/field_mapping_instance_response.py => accounting/types/sales_order_response.py} (84%) create mode 100644 src/merge/resources/accounting/types/sales_order_shipping_address.py create mode 100644 src/merge/resources/accounting/types/sales_order_status.py create mode 100644 src/merge/resources/accounting/types/sales_order_status_enum.py create mode 100644 src/merge/resources/accounting/types/sales_order_tracking_categories_item.py rename src/merge/resources/{chat => accounting}/types/sync_status_last_sync_result.py (100%) delete mode 100644 src/merge/resources/accounting/types/tax_rate_tax_components_item.py create mode 100644 src/merge/resources/accounting/types/transaction_company.py create mode 100644 src/merge/resources/accounting/types/transaction_line_items_item.py create mode 100644 src/merge/resources/accounting/types/vendor_credit_lines_item.py delete mode 100644 src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py create mode 100644 src/merge/resources/ats/resources/offers/types/offers_list_request_status.py delete mode 100644 src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py create mode 100644 src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py delete mode 100644 src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py create mode 100644 src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ats/types/activity_request_activity_type.py rename src/merge/resources/{chat/types/account_token.py => ats/types/ignore_common_model_request.py} (70%) rename src/merge/resources/ats/{resources/candidates => }/types/ignore_common_model_request_reason.py (76%) rename src/merge/resources/{knowledgebase/types/remote_key.py => ats/types/regenerate_account_token.py} (66%) create mode 100644 src/merge/resources/ats/types/screening_question_options_item.py delete mode 100644 src/merge/resources/chat/__init__.py delete mode 100644 src/merge/resources/chat/client.py delete mode 100644 src/merge/resources/chat/raw_client.py delete mode 100644 src/merge/resources/chat/resources/__init__.py delete mode 100644 src/merge/resources/chat/resources/account_details/__init__.py delete mode 100644 src/merge/resources/chat/resources/account_details/client.py delete mode 100644 src/merge/resources/chat/resources/account_details/raw_client.py delete mode 100644 src/merge/resources/chat/resources/account_token/__init__.py delete mode 100644 src/merge/resources/chat/resources/account_token/client.py delete mode 100644 src/merge/resources/chat/resources/account_token/raw_client.py delete mode 100644 src/merge/resources/chat/resources/async_passthrough/__init__.py delete mode 100644 src/merge/resources/chat/resources/async_passthrough/client.py delete mode 100644 src/merge/resources/chat/resources/async_passthrough/raw_client.py delete mode 100644 src/merge/resources/chat/resources/async_passthrough/types/__init__.py delete mode 100644 src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py delete mode 100644 src/merge/resources/chat/resources/audit_trail/__init__.py delete mode 100644 src/merge/resources/chat/resources/audit_trail/client.py delete mode 100644 src/merge/resources/chat/resources/audit_trail/raw_client.py delete mode 100644 src/merge/resources/chat/resources/available_actions/__init__.py delete mode 100644 src/merge/resources/chat/resources/available_actions/client.py delete mode 100644 src/merge/resources/chat/resources/available_actions/raw_client.py delete mode 100644 src/merge/resources/chat/resources/conversations/client.py delete mode 100644 src/merge/resources/chat/resources/conversations/raw_client.py delete mode 100644 src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py delete mode 100644 src/merge/resources/chat/resources/delete_account/__init__.py delete mode 100644 src/merge/resources/chat/resources/delete_account/client.py delete mode 100644 src/merge/resources/chat/resources/delete_account/raw_client.py delete mode 100644 src/merge/resources/chat/resources/field_mapping/__init__.py delete mode 100644 src/merge/resources/chat/resources/field_mapping/client.py delete mode 100644 src/merge/resources/chat/resources/field_mapping/raw_client.py delete mode 100644 src/merge/resources/chat/resources/force_resync/__init__.py delete mode 100644 src/merge/resources/chat/resources/force_resync/client.py delete mode 100644 src/merge/resources/chat/resources/force_resync/raw_client.py delete mode 100644 src/merge/resources/chat/resources/generate_key/__init__.py delete mode 100644 src/merge/resources/chat/resources/generate_key/client.py delete mode 100644 src/merge/resources/chat/resources/generate_key/raw_client.py delete mode 100644 src/merge/resources/chat/resources/groups/__init__.py delete mode 100644 src/merge/resources/chat/resources/groups/client.py delete mode 100644 src/merge/resources/chat/resources/groups/raw_client.py delete mode 100644 src/merge/resources/chat/resources/issues/client.py delete mode 100644 src/merge/resources/chat/resources/issues/raw_client.py delete mode 100644 src/merge/resources/chat/resources/issues/types/__init__.py delete mode 100644 src/merge/resources/chat/resources/issues/types/issues_list_request_status.py delete mode 100644 src/merge/resources/chat/resources/link_token/client.py delete mode 100644 src/merge/resources/chat/resources/link_token/raw_client.py delete mode 100644 src/merge/resources/chat/resources/link_token/types/__init__.py delete mode 100644 src/merge/resources/chat/resources/linked_accounts/__init__.py delete mode 100644 src/merge/resources/chat/resources/linked_accounts/client.py delete mode 100644 src/merge/resources/chat/resources/linked_accounts/raw_client.py delete mode 100644 src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py delete mode 100644 src/merge/resources/chat/resources/messages/client.py delete mode 100644 src/merge/resources/chat/resources/messages/raw_client.py delete mode 100644 src/merge/resources/chat/resources/messages/types/__init__.py delete mode 100644 src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py delete mode 100644 src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py delete mode 100644 src/merge/resources/chat/resources/passthrough/__init__.py delete mode 100644 src/merge/resources/chat/resources/passthrough/client.py delete mode 100644 src/merge/resources/chat/resources/passthrough/raw_client.py delete mode 100644 src/merge/resources/chat/resources/regenerate_key/__init__.py delete mode 100644 src/merge/resources/chat/resources/regenerate_key/client.py delete mode 100644 src/merge/resources/chat/resources/regenerate_key/raw_client.py delete mode 100644 src/merge/resources/chat/resources/scopes/__init__.py delete mode 100644 src/merge/resources/chat/resources/scopes/client.py delete mode 100644 src/merge/resources/chat/resources/scopes/raw_client.py delete mode 100644 src/merge/resources/chat/resources/sync_status/__init__.py delete mode 100644 src/merge/resources/chat/resources/sync_status/client.py delete mode 100644 src/merge/resources/chat/resources/sync_status/raw_client.py delete mode 100644 src/merge/resources/chat/resources/users/__init__.py delete mode 100644 src/merge/resources/chat/resources/users/client.py delete mode 100644 src/merge/resources/chat/resources/users/raw_client.py delete mode 100644 src/merge/resources/chat/resources/webhook_receivers/__init__.py delete mode 100644 src/merge/resources/chat/resources/webhook_receivers/client.py delete mode 100644 src/merge/resources/chat/resources/webhook_receivers/raw_client.py delete mode 100644 src/merge/resources/chat/types/__init__.py delete mode 100644 src/merge/resources/chat/types/account_details.py delete mode 100644 src/merge/resources/chat/types/account_details_and_actions.py delete mode 100644 src/merge/resources/chat/types/account_details_and_actions_integration.py delete mode 100644 src/merge/resources/chat/types/account_details_and_actions_status_enum.py delete mode 100644 src/merge/resources/chat/types/account_integration.py delete mode 100644 src/merge/resources/chat/types/advanced_metadata.py delete mode 100644 src/merge/resources/chat/types/audit_log_event.py delete mode 100644 src/merge/resources/chat/types/audit_log_event_event_type.py delete mode 100644 src/merge/resources/chat/types/available_actions.py delete mode 100644 src/merge/resources/chat/types/categories_enum.py delete mode 100644 src/merge/resources/chat/types/category_enum.py delete mode 100644 src/merge/resources/chat/types/data_passthrough_request.py delete mode 100644 src/merge/resources/chat/types/data_passthrough_request_method.py delete mode 100644 src/merge/resources/chat/types/data_passthrough_request_request_format.py delete mode 100644 src/merge/resources/chat/types/enabled_actions_enum.py delete mode 100644 src/merge/resources/chat/types/encoding_enum.py delete mode 100644 src/merge/resources/chat/types/error_validation_problem.py delete mode 100644 src/merge/resources/chat/types/event_type_enum.py delete mode 100644 src/merge/resources/chat/types/external_target_field_api.py delete mode 100644 src/merge/resources/chat/types/external_target_field_api_response.py delete mode 100644 src/merge/resources/chat/types/field_mapping_api_instance.py delete mode 100644 src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py delete mode 100644 src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py delete mode 100644 src/merge/resources/chat/types/field_mapping_api_instance_response.py delete mode 100644 src/merge/resources/chat/types/field_mapping_api_instance_target_field.py delete mode 100644 src/merge/resources/chat/types/field_permission_deserializer.py delete mode 100644 src/merge/resources/chat/types/field_permission_deserializer_request.py delete mode 100644 src/merge/resources/chat/types/group.py delete mode 100644 src/merge/resources/chat/types/individual_common_model_scope_deserializer.py delete mode 100644 src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py delete mode 100644 src/merge/resources/chat/types/issue.py delete mode 100644 src/merge/resources/chat/types/issue_status.py delete mode 100644 src/merge/resources/chat/types/issue_status_enum.py delete mode 100644 src/merge/resources/chat/types/language_enum.py delete mode 100644 src/merge/resources/chat/types/last_sync_result_enum.py delete mode 100644 src/merge/resources/chat/types/link_token.py delete mode 100644 src/merge/resources/chat/types/member.py delete mode 100644 src/merge/resources/chat/types/message.py delete mode 100644 src/merge/resources/chat/types/method_enum.py delete mode 100644 src/merge/resources/chat/types/model_operation.py delete mode 100644 src/merge/resources/chat/types/model_permission_deserializer.py delete mode 100644 src/merge/resources/chat/types/model_permission_deserializer_request.py delete mode 100644 src/merge/resources/chat/types/multipart_form_field_request.py delete mode 100644 src/merge/resources/chat/types/multipart_form_field_request_encoding.py delete mode 100644 src/merge/resources/chat/types/paginated_account_details_and_actions_list.py delete mode 100644 src/merge/resources/chat/types/paginated_conversation_list.py delete mode 100644 src/merge/resources/chat/types/paginated_group_list.py delete mode 100644 src/merge/resources/chat/types/paginated_member_list.py delete mode 100644 src/merge/resources/chat/types/paginated_message_list.py delete mode 100644 src/merge/resources/chat/types/paginated_sync_status_list.py delete mode 100644 src/merge/resources/chat/types/paginated_user_list.py delete mode 100644 src/merge/resources/chat/types/remote_data.py delete mode 100644 src/merge/resources/chat/types/remote_endpoint_info.py delete mode 100644 src/merge/resources/chat/types/remote_field_api.py delete mode 100644 src/merge/resources/chat/types/remote_field_api_advanced_metadata.py delete mode 100644 src/merge/resources/chat/types/remote_field_api_coverage.py delete mode 100644 src/merge/resources/chat/types/remote_field_api_response.py delete mode 100644 src/merge/resources/chat/types/remote_response.py delete mode 100644 src/merge/resources/chat/types/request_format_enum.py delete mode 100644 src/merge/resources/chat/types/response_type_enum.py delete mode 100644 src/merge/resources/chat/types/role_enum.py delete mode 100644 src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py delete mode 100644 src/merge/resources/chat/types/status_fd_5_enum.py delete mode 100644 src/merge/resources/chat/types/sync_status.py delete mode 100644 src/merge/resources/chat/types/type_enum.py delete mode 100644 src/merge/resources/chat/types/validation_problem_source.py delete mode 100644 src/merge/resources/chat/types/warning_validation_problem.py delete mode 100644 src/merge/resources/chat/types/webhook_receiver.py create mode 100644 src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py create mode 100644 src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py create mode 100644 src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py create mode 100644 src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py create mode 100644 src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py create mode 100644 src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py create mode 100644 src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py create mode 100644 src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py rename src/merge/resources/crm/resources/{contacts/types/contacts_list_request_expand.py => opportunities/types/opportunities_list_request_expand_item.py} (52%) delete mode 100644 src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py rename src/merge/resources/crm/resources/{contacts/types/contacts_retrieve_request_expand.py => opportunities/types/opportunities_retrieve_request_expand_item.py} (51%) delete mode 100644 src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py create mode 100644 src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py delete mode 100644 src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py create mode 100644 src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py create mode 100644 src/merge/resources/crm/types/lead_status.py create mode 100644 src/merge/resources/crm/types/lead_status_enum.py rename src/merge/resources/{knowledgebase/types/account_token.py => crm/types/regenerate_account_token.py} (62%) delete mode 100644 src/merge/resources/crm/types/remote_field_class_field_format.py delete mode 100644 src/merge/resources/crm/types/remote_field_class_field_type.py rename src/merge/resources/{knowledgebase => crm}/types/remote_response_response_type.py (100%) rename src/merge/resources/{knowledgebase/types/article_author.py => crm/types/task_contact.py} (53%) create mode 100644 src/merge/resources/crm/types/task_request_contact.py delete mode 100644 src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py create mode 100644 src/merge/resources/filestorage/resources/files/types/files_list_request_expand_item.py delete mode 100644 src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py create mode 100644 src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py create mode 100644 src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand_item.py delete mode 100644 src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py create mode 100644 src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand_item.py rename src/merge/resources/{chat/resources/link_token => filestorage/resources/groups/types}/__init__.py (69%) create mode 100644 src/merge/resources/filestorage/resources/groups/types/groups_list_request_expand_item.py create mode 100644 src/merge/resources/filestorage/resources/groups/types/groups_retrieve_request_expand_item.py rename src/merge/resources/{chat/resources/issues => filestorage/resources/link_token/types}/__init__.py (78%) rename src/merge/resources/{chat => filestorage}/resources/link_token/types/end_user_details_request_language.py (100%) rename src/merge/resources/{chat => filestorage}/types/account_details_and_actions_category.py (100%) rename src/merge/resources/{chat => filestorage}/types/account_details_and_actions_status.py (100%) rename src/merge/resources/{chat => filestorage}/types/account_details_category.py (100%) create mode 100644 src/merge/resources/filestorage/types/regenerate_account_token.py create mode 100644 src/merge/resources/filestorage/types/remote_response_response_type.py rename src/merge/resources/{chat => filestorage}/types/sync_status_status.py (100%) delete mode 100644 src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py create mode 100644 src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py create mode 100644 src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py create mode 100644 src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py create mode 100644 src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py create mode 100644 src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py create mode 100644 src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py rename src/merge/resources/{chat/resources/conversations => hris/resources/groups/types}/__init__.py (80%) rename src/merge/resources/{chat/types/debug_model_log_summary.py => hris/resources/groups/types/groups_types_list_response.py} (56%) delete mode 100644 src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py delete mode 100644 src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py create mode 100644 src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py delete mode 100644 src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py create mode 100644 src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/hris/types/completed_account_initial_screen_enum.py rename src/merge/resources/{chat/types/debug_mode_log.py => hris/types/ignore_common_model_request.py} (70%) rename src/merge/resources/hris/{resources/employees => }/types/ignore_common_model_request_reason.py (76%) delete mode 100644 src/merge/resources/hris/types/multipart_form_field_request_encoding.py create mode 100644 src/merge/resources/hris/types/regenerate_account_token.py rename src/merge/resources/{knowledgebase => hris}/types/sync_status_status.py (100%) delete mode 100644 src/merge/resources/knowledgebase/__init__.py delete mode 100644 src/merge/resources/knowledgebase/client.py delete mode 100644 src/merge/resources/knowledgebase/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_details/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_details/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_details/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_token/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_token/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/account_token/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py delete mode 100644 src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/async_passthrough/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py delete mode 100644 src/merge/resources/knowledgebase/resources/attachments/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/attachments/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/attachments/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/audit_trail/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/audit_trail/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/available_actions/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/available_actions/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/available_actions/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py delete mode 100644 src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/delete_account/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/delete_account/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/delete_account/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/field_mapping/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/field_mapping/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/force_resync/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/force_resync/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/force_resync/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/generate_key/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/generate_key/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/generate_key/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py delete mode 100644 src/merge/resources/knowledgebase/resources/issues/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/issues/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/issues/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/issues/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py delete mode 100644 src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py delete mode 100644 src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/linked_accounts/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py delete mode 100644 src/merge/resources/knowledgebase/resources/passthrough/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/passthrough/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/passthrough/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/regenerate_key/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/scopes/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/scopes/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/scopes/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/sync_status/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/sync_status/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/sync_status/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/users/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/users/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/users/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py delete mode 100644 src/merge/resources/knowledgebase/resources/webhook_receivers/client.py delete mode 100644 src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py delete mode 100644 src/merge/resources/knowledgebase/types/__init__.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_and_actions.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_and_actions_category.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_and_actions_status.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/account_details_category.py delete mode 100644 src/merge/resources/knowledgebase/types/account_integration.py delete mode 100644 src/merge/resources/knowledgebase/types/advanced_metadata.py delete mode 100644 src/merge/resources/knowledgebase/types/article.py delete mode 100644 src/merge/resources/knowledgebase/types/article_attachments_item.py delete mode 100644 src/merge/resources/knowledgebase/types/article_parent_article.py delete mode 100644 src/merge/resources/knowledgebase/types/article_parent_container.py delete mode 100644 src/merge/resources/knowledgebase/types/article_root_container.py delete mode 100644 src/merge/resources/knowledgebase/types/article_status.py delete mode 100644 src/merge/resources/knowledgebase/types/article_type.py delete mode 100644 src/merge/resources/knowledgebase/types/article_type_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/article_visibility.py delete mode 100644 src/merge/resources/knowledgebase/types/async_passthrough_reciept.py delete mode 100644 src/merge/resources/knowledgebase/types/attachment.py delete mode 100644 src/merge/resources/knowledgebase/types/audit_log_event.py delete mode 100644 src/merge/resources/knowledgebase/types/audit_log_event_event_type.py delete mode 100644 src/merge/resources/knowledgebase/types/audit_log_event_role.py delete mode 100644 src/merge/resources/knowledgebase/types/available_actions.py delete mode 100644 src/merge/resources/knowledgebase/types/categories_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/category_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py delete mode 100644 src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/container.py delete mode 100644 src/merge/resources/knowledgebase/types/container_permissions_item.py delete mode 100644 src/merge/resources/knowledgebase/types/container_status.py delete mode 100644 src/merge/resources/knowledgebase/types/container_type.py delete mode 100644 src/merge/resources/knowledgebase/types/container_type_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/container_visibility.py delete mode 100644 src/merge/resources/knowledgebase/types/data_passthrough_request.py delete mode 100644 src/merge/resources/knowledgebase/types/data_passthrough_request_method.py delete mode 100644 src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py delete mode 100644 src/merge/resources/knowledgebase/types/debug_mode_log.py delete mode 100644 src/merge/resources/knowledgebase/types/debug_model_log_summary.py delete mode 100644 src/merge/resources/knowledgebase/types/enabled_actions_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/encoding_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/error_validation_problem.py delete mode 100644 src/merge/resources/knowledgebase/types/event_type_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/external_target_field_api.py delete mode 100644 src/merge/resources/knowledgebase/types/external_target_field_api_response.py delete mode 100644 src/merge/resources/knowledgebase/types/field_mapping_api_instance.py delete mode 100644 src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py delete mode 100644 src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py delete mode 100644 src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py delete mode 100644 src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py delete mode 100644 src/merge/resources/knowledgebase/types/field_permission_deserializer.py delete mode 100644 src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py delete mode 100644 src/merge/resources/knowledgebase/types/group.py delete mode 100644 src/merge/resources/knowledgebase/types/group_parent_group.py delete mode 100644 src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py delete mode 100644 src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py delete mode 100644 src/merge/resources/knowledgebase/types/issue.py delete mode 100644 src/merge/resources/knowledgebase/types/issue_status.py delete mode 100644 src/merge/resources/knowledgebase/types/issue_status_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/language_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/last_sync_result_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/link_token.py delete mode 100644 src/merge/resources/knowledgebase/types/method_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/model_operation.py delete mode 100644 src/merge/resources/knowledgebase/types/model_permission_deserializer.py delete mode 100644 src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py delete mode 100644 src/merge/resources/knowledgebase/types/multipart_form_field_request.py delete mode 100644 src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_article_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_attachment_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_container_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_group_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_issue_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_sync_status_list.py delete mode 100644 src/merge/resources/knowledgebase/types/paginated_user_list.py delete mode 100644 src/merge/resources/knowledgebase/types/permission_group.py delete mode 100644 src/merge/resources/knowledgebase/types/permission_type.py delete mode 100644 src/merge/resources/knowledgebase/types/permission_type_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_data.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_endpoint_info.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_field_api.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_field_api_coverage.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_field_api_response.py delete mode 100644 src/merge/resources/knowledgebase/types/remote_response.py delete mode 100644 src/merge/resources/knowledgebase/types/request_format_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/response_type_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/role_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/roles_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/status_3_c_6_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/status_fd_5_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/sync_status.py delete mode 100644 src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py delete mode 100644 src/merge/resources/knowledgebase/types/user.py delete mode 100644 src/merge/resources/knowledgebase/types/validation_problem_source.py delete mode 100644 src/merge/resources/knowledgebase/types/visibility_enum.py delete mode 100644 src/merge/resources/knowledgebase/types/warning_validation_problem.py delete mode 100644 src/merge/resources/knowledgebase/types/webhook_receiver.py create mode 100644 src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py create mode 100644 src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py delete mode 100644 src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py create mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_remote_fields.py create mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_show_enum_origins.py delete mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py delete mode 100644 src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py create mode 100644 src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py create mode 100644 src/merge/resources/ticketing/types/actions_enum.py delete mode 100644 src/merge/resources/ticketing/types/collection_collection_type.py rename src/merge/resources/{knowledgebase/types/article_permissions_item.py => ticketing/types/collection_permissions_item.py} (66%) delete mode 100644 src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py create mode 100644 src/merge/resources/ticketing/types/effect_enum.py delete mode 100644 src/merge/resources/ticketing/types/patched_ticket_request_priority.py rename src/merge/resources/{knowledgebase => ticketing}/types/permission.py (58%) create mode 100644 src/merge/resources/ticketing/types/permission_effect.py create mode 100644 src/merge/resources/ticketing/types/permission_request.py create mode 100644 src/merge/resources/ticketing/types/permission_request_effect.py create mode 100644 src/merge/resources/ticketing/types/regenerate_account_token.py delete mode 100644 src/merge/resources/ticketing/types/remote_field_class_field_format.py delete mode 100644 src/merge/resources/ticketing/types/remote_field_class_field_type.py create mode 100644 src/merge/resources/ticketing/types/remote_response_response_type.py create mode 100644 src/merge/resources/ticketing/types/sync_status_status.py diff --git a/README.md b/README.md index 41824d19..758cd5a1 100644 --- a/README.md +++ b/README.md @@ -44,18 +44,12 @@ Instantiate and use the client with the following: ```python from merge import Merge -from merge.resources.chat import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.ats.account_token.regenerate_create() ``` ## Instantiation @@ -89,7 +83,6 @@ The SDK also exports an `async` client so that you can make non-blocking calls t import asyncio from merge import AsyncMerge -from merge.resources.chat import DataPassthroughRequest, MethodEnum client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -98,12 +91,7 @@ client = AsyncMerge( async def main() -> None: - await client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) + await client.ats.account_token.regenerate_create() asyncio.run(main()) @@ -118,7 +106,7 @@ will be thrown. from merge.core.api_error import ApiError try: - client.chat.async_passthrough.create(...) + client.ats.account_token.regenerate_create(...) except ApiError as e: print(e.status_code) print(e.body) @@ -137,9 +125,17 @@ from merge import Merge client = Merge( ..., ) -response = client.chat.async_passthrough.with_raw_response.create(...) +response = client.ats.account_token.with_raw_response.regenerate_create(...) print(response.headers) # access the response headers print(response.data) # access the underlying object +pager = client.ats.activities.list(...) +print(pager.response.headers) # access the response headers for the first page +for item in pager: + print(item) # access the underlying object(s) +for page in pager.iter_pages(): + print(page.response.headers) # access the response headers for each page + for item in page: + print(item) # access the underlying object(s) ``` ### Retries @@ -157,7 +153,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret Use the `max_retries` request option to configure this behavior. ```python -client.chat.async_passthrough.create(..., request_options={ +client.ats.account_token.regenerate_create(..., request_options={ "max_retries": 1 }) ``` @@ -177,7 +173,7 @@ client = Merge( # Override timeout for a specific method -client.chat.async_passthrough.create(..., request_options={ +client.ats.account_token.regenerate_create(..., request_options={ "timeout_in_seconds": 1 }) ``` @@ -233,35 +229,48 @@ with open(local_filename, "wb") as f: ## Pagination -The SDK may return paginated results. Endpoints that return paginated results will -include a `next` and `prev` property on the response. To get the next page, you can -pass in the value of `next` to the cursor property on the request. Similarly, to -get the previous page, you can pass in the value of `prev` to the cursor property on -the request. +Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object. -Below is an example of iterating over all pages: ```python +import datetime -# response contains the first page -response = merge_client.hris.employees.list(created_after="2030-01-01") +from merge import Merge +from merge.resources.ats.resources.activities import ( + ActivitiesListRequestRemoteFields, + ActivitiesListRequestShowEnumOrigins, +) -# if there is a next page, load it by passing `next` to the cursor argument -while response.next is not None: - response = hris_client.employees.list( - cursor=response.next, - created_after="2030-01-01") +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.ats.activities.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, + remote_id="remote_id", + show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, + user_id="user_id", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` - - - - - - - - - - - - - diff --git a/poetry.lock b/poetry.lock index 5092d3a1..3bdd3b92 100644 --- a/poetry.lock +++ b/poetry.lock @@ -38,13 +38,13 @@ trio = ["trio (>=0.26.1)"] [[package]] name = "certifi" -version = "2026.2.25" +version = "2026.4.22" description = "Python package for providing Mozilla's CA Bundle." optional = false python-versions = ">=3.7" files = [ - {file = "certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa"}, - {file = "certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7"}, + {file = "certifi-2026.4.22-py3-none-any.whl", hash = "sha256:3cb2210c8f88ba2318d29b0388d1023c8492ff72ecdde4ebdaddbb13a31b1c4a"}, + {file = "certifi-2026.4.22.tar.gz", hash = "sha256:8d455352a37b71bf76a79caa83a3d6c25afee4a385d632127b6afb3963f1c580"}, ] [[package]] @@ -133,17 +133,17 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "idna" -version = "3.11" +version = "3.13" description = "Internationalized Domain Names in Applications (IDNA)" optional = false python-versions = ">=3.8" files = [ - {file = "idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"}, - {file = "idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902"}, + {file = "idna-3.13-py3-none-any.whl", hash = "sha256:892ea0cde124a99ce773decba204c5552b69c3c67ffd5f232eb7696135bc8bb3"}, + {file = "idna-3.13.tar.gz", hash = "sha256:585ea8fe5d69b9181ec1afba340451fba6ba764af97026f92a91d4eef164a242"}, ] [package.extras] -all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] +all = ["mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] [[package]] name = "iniconfig" @@ -222,13 +222,13 @@ files = [ [[package]] name = "packaging" -version = "26.0" +version = "26.1" description = "Core utilities for Python packages" optional = false python-versions = ">=3.8" files = [ - {file = "packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529"}, - {file = "packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4"}, + {file = "packaging-26.1-py3-none-any.whl", hash = "sha256:5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f"}, + {file = "packaging-26.1.tar.gz", hash = "sha256:f042152b681c4bfac5cae2742a55e103d27ab2ec0f3d88037136b6bfe7c9c5de"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index ad028ac0..4f9b62a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "MergePythonClient" [tool.poetry] name = "MergePythonClient" -version = "2.6.3" +version = "3.0.0" description = "" readme = "README.md" authors = [] diff --git a/reference.md b/reference.md index 0f023f71..694e50f5 100644 --- a/reference.md +++ b/reference.md @@ -1,6 +1,6 @@ # Reference -## Chat AccountDetails -
client.chat.account_details.retrieve() +## Ats AccountDetails +
client.ats.account_details.retrieve()
@@ -33,7 +33,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.account_details.retrieve() +client.ats.account_details.retrieve() ```
@@ -61,8 +61,8 @@ client.chat.account_details.retrieve()
-## Chat AccountToken -
client.chat.account_token.retrieve(...) +## Ats AccountToken +
client.ats.account_token.retrieve(...)
@@ -95,7 +95,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.account_token.retrieve( +client.ats.account_token.retrieve( public_token="public_token", ) @@ -133,8 +133,7 @@ client.chat.account_token.retrieve(
-## Chat AsyncPassthrough -
client.chat.async_passthrough.create(...) +
client.ats.account_token.regenerate_create()
@@ -146,7 +145,7 @@ client.chat.account_token.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Exchange Linked Account account tokens.
@@ -162,18 +161,12 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.chat import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.ats.account_token.regenerate_create() ``` @@ -189,14 +182,6 @@ client.chat.async_passthrough.create(
-**request:** `DataPassthroughRequest` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -209,7 +194,8 @@ client.chat.async_passthrough.create(
-
client.chat.async_passthrough.retrieve(...) +## Ats Activities +
client.ats.activities.list(...)
@@ -221,7 +207,7 @@ client.chat.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns a list of `Activity` objects.
@@ -236,15 +222,46 @@ Retrieves data from earlier async-passthrough POST request
```python +import datetime + from merge import Merge +from merge.resources.ats.resources.activities import ( + ActivitiesListRequestRemoteFields, + ActivitiesListRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +response = client.ats.activities.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, + remote_id="remote_id", + show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, + user_id="user_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -260,7 +277,7 @@ client.chat.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -268,76 +285,67 @@ client.chat.async_passthrough.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Chat AuditTrail -
client.chat.audit_trail.list(...)
-#### 📝 Description - -
-
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["user"], typing.Sequence[typing.Literal["user"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
-Gets a list of audit trail events. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + -#### ⚙️ Parameters -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -345,7 +353,7 @@ client.chat.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -353,7 +361,7 @@ client.chat.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**remote_fields:** `typing.Optional[ActivitiesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -361,7 +369,7 @@ client.chat.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -369,7 +377,7 @@ client.chat.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**show_enum_origins:** `typing.Optional[ActivitiesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -377,7 +385,7 @@ client.chat.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**user_id:** `typing.Optional[str]` — If provided, will only return activities done by this user.
@@ -397,8 +405,7 @@ client.chat.audit_trail.list(
-## Chat AvailableActions -
client.chat.available_actions.retrieve() +
client.ats.activities.create(...)
@@ -410,7 +417,7 @@ client.chat.audit_trail.list(
-Returns a list of models and actions available for an account. +Creates an `Activity` object with the given values.
@@ -426,12 +433,18 @@ Returns a list of models and actions available for an account. ```python from merge import Merge +from merge.resources.ats import ActivityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.available_actions.retrieve() +client.ats.activities.create( + is_debug_mode=True, + run_async=True, + model=ActivityRequest(), + remote_user_id="remote_user_id", +) ``` @@ -447,6 +460,38 @@ client.chat.available_actions.retrieve()
+**model:** `ActivityRequest` + +
+
+ +
+
+ +**remote_user_id:** `str` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -459,8 +504,7 @@ client.chat.available_actions.retrieve()
-## Chat Conversations -
client.chat.conversations.list(...) +
client.ats.activities.retrieve(...)
@@ -472,7 +516,7 @@ client.chat.available_actions.retrieve()
-Returns a list of `Conversation` objects. +Returns an `Activity` object with the given `id`.
@@ -487,33 +531,22 @@ Returns a list of `Conversation` objects.
```python -import datetime - from merge import Merge +from merge.resources.ats.resources.activities import ( + ActivitiesRetrieveRequestRemoteFields, + ActivitiesRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.ats.activities.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", + remote_fields=ActivitiesRetrieveRequestRemoteFields.ACTIVITY_TYPE, + show_enum_origins=ActivitiesRetrieveRequestShowEnumOrigins.ACTIVITY_TYPE, ) ``` @@ -530,7 +563,7 @@ client.chat.conversations.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -538,7 +571,11 @@ client.chat.conversations.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["user"], typing.Sequence[typing.Literal["user"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -546,7 +583,7 @@ client.chat.conversations.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -554,7 +591,7 @@ client.chat.conversations.list(
-**expand:** `typing.Optional[typing.Literal["members"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -562,7 +599,7 @@ client.chat.conversations.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_fields:** `typing.Optional[ActivitiesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -570,7 +607,7 @@ client.chat.conversations.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[ActivitiesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -578,43 +615,64 @@ client.chat.conversations.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+
client.ats.activities.meta_post_retrieve()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +Returns metadata for `Activity` POSTs. +
+
+#### 🔌 Usage +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.activities.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -630,7 +688,8 @@ client.chat.conversations.list(
-
client.chat.conversations.members_list(...) +## Ats Applications +
client.ats.applications.list(...)
@@ -642,7 +701,7 @@ client.chat.conversations.list(
-Returns a list of `Member` objects. +Returns a list of `Application` objects.
@@ -657,24 +716,45 @@ Returns a list of `Member` objects.
```python +import datetime + from merge import Merge -from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.conversations.members_list( - conversation_id="conversation_id", +response = client.ats.applications.list( + candidate_id="candidate_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + credited_to_id="credited_to_id", + current_stage_id="current_stage_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, include_deleted_data=True, include_remote_data=True, include_shell_data=True, + job_id="job_id", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + reject_reason_id="reject_reason_id", + remote_id="remote_id", + source="source", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -690,7 +770,39 @@ client.chat.conversations.members_list(
-**conversation_id:** `str` +**candidate_id:** `typing.Optional[str]` — If provided, will only return applications for this candidate. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**credited_to_id:** `typing.Optional[str]` — If provided, will only return applications credited to this user. + +
+
+ +
+
+ +**current_stage_id:** `typing.Optional[str]` — If provided, will only return applications at this interview stage.
@@ -706,7 +818,12 @@ client.chat.conversations.members_list(
-**expand:** `typing.Optional[ConversationsMembersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ApplicationsListRequestExpandItem, + typing.Sequence[ApplicationsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -738,7 +855,55 @@ client.chat.conversations.members_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**job_id:** `typing.Optional[str]` — If provided, will only return applications for this job. + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
+ +
+
+ +**reject_reason_id:** `typing.Optional[str]` — If provided, will only return applications with this reject reason. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**source:** `typing.Optional[str]` — If provided, will only return applications with this source.
@@ -758,7 +923,7 @@ client.chat.conversations.members_list(
-
client.chat.conversations.retrieve(...) +
client.ats.applications.create(...)
@@ -770,7 +935,10 @@ client.chat.conversations.members_list(
-Returns a `Conversation` object with the given `id`. +Creates an `Application` object with the given values. +For certain integrations, but not all, our API detects duplicate candidates and will associate applications with existing records in the third-party. New candidates are created and automatically linked to the application. + +See our [Help Center article](https://help.merge.dev/en/articles/10012366-updates-to-post-applications-oct-2024) for detailed support per integration.
@@ -786,15 +954,17 @@ Returns a `Conversation` object with the given `id`. ```python from merge import Merge +from merge.resources.ats import ApplicationRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.conversations.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ats.applications.create( + is_debug_mode=True, + run_async=True, + model=ApplicationRequest(), + remote_user_id="remote_user_id", ) ``` @@ -811,7 +981,7 @@ client.chat.conversations.retrieve(
-**id:** `str` +**model:** `ApplicationRequest`
@@ -819,7 +989,7 @@ client.chat.conversations.retrieve(
-**expand:** `typing.Optional[typing.Literal["members"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_user_id:** `str`
@@ -827,7 +997,7 @@ client.chat.conversations.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -835,7 +1005,7 @@ client.chat.conversations.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -855,8 +1025,7 @@ client.chat.conversations.retrieve(
-## Chat Scopes -
client.chat.scopes.default_scopes_retrieve() +
client.ats.applications.retrieve(...)
@@ -868,7 +1037,7 @@ client.chat.conversations.retrieve(
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns an `Application` object with the given `id`.
@@ -889,7 +1058,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.default_scopes_retrieve() +client.ats.applications.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) ``` @@ -905,6 +1078,43 @@ client.chat.scopes.default_scopes_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + ApplicationsRetrieveRequestExpandItem, + typing.Sequence[ApplicationsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -917,7 +1127,7 @@ client.chat.scopes.default_scopes_retrieve()
-
client.chat.scopes.linked_account_scopes_retrieve() +
client.ats.applications.change_stage_create(...)
@@ -929,7 +1139,7 @@ client.chat.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Updates the `current_stage` field of an `Application` object
@@ -950,7 +1160,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.linked_account_scopes_retrieve() +client.ats.applications.change_stage_create( + id="id", + is_debug_mode=True, + run_async=True, +) ``` @@ -966,6 +1180,46 @@ client.chat.scopes.linked_account_scopes_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ +**job_interview_stage:** `typing.Optional[str]` — The interview stage to move the application to. + +
+
+ +
+
+ +**remote_user_id:** `typing.Optional[str]` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -978,7 +1232,7 @@ client.chat.scopes.linked_account_scopes_retrieve()
-
client.chat.scopes.linked_account_scopes_create(...) +
client.ats.applications.meta_post_retrieve(...)
@@ -990,7 +1244,7 @@ client.chat.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns metadata for `Application` POSTs.
@@ -1006,42 +1260,13 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +client.ats.applications.meta_post_retrieve( + application_remote_template_id="application_remote_template_id", ) ``` @@ -1058,7 +1283,7 @@ client.chat.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**application_remote_template_id:** `typing.Optional[str]` — The template ID associated with the nested application in the request.
@@ -1078,8 +1303,8 @@ client.chat.scopes.linked_account_scopes_create(
-## Chat DeleteAccount -
client.chat.delete_account.delete() +## Ats AsyncPassthrough +
client.ats.async_passthrough.create(...)
@@ -1091,7 +1316,7 @@ client.chat.scopes.linked_account_scopes_create(
-Delete a linked account. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -1107,12 +1332,18 @@ Delete a linked account. ```python from merge import Merge +from merge.resources.ats import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.delete_account.delete() +client.ats.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -1128,6 +1359,14 @@ client.chat.delete_account.delete()
+**request:** `DataPassthroughRequest` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1140,8 +1379,7 @@ client.chat.delete_account.delete()
-## Chat FieldMapping -
client.chat.field_mapping.field_mappings_retrieve(...) +
client.ats.async_passthrough.retrieve(...)
@@ -1153,7 +1391,7 @@ client.chat.delete_account.delete()
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Retrieves data from earlier async-passthrough POST request
@@ -1174,8 +1412,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.ats.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -1192,7 +1430,7 @@ client.chat.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**async_passthrough_receipt_id:** `str`
@@ -1212,7 +1450,8 @@ client.chat.field_mapping.field_mappings_retrieve(
-
client.chat.field_mapping.field_mappings_create(...) +## Ats Attachments +
client.ats.attachments.list(...)
@@ -1224,7 +1463,7 @@ client.chat.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Attachment` objects.
@@ -1239,21 +1478,40 @@ Create new Field Mappings that will be available after the next scheduled sync.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.ats.attachments.list( + candidate_id="candidate_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -1269,7 +1527,7 @@ client.chat.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**candidate_id:** `typing.Optional[str]` — If provided, will only return attachments for this candidate.
@@ -1277,7 +1535,7 @@ client.chat.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -1285,7 +1543,7 @@ client.chat.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -1293,7 +1551,7 @@ client.chat.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -1301,7 +1559,12 @@ client.chat.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["candidate"], + typing.Sequence[typing.Literal["candidate"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -1309,7 +1572,7 @@ client.chat.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -1317,7 +1580,7 @@ client.chat.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -1325,7 +1588,7 @@ client.chat.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -1333,70 +1596,47 @@ client.chat.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
- -
+
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-
-
client.chat.field_mapping.field_mappings_destroy(...)
-#### 📝 Description - -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### ⚙️ Parameters - -
-
-
-**field_mapping_id:** `str` +**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -1416,7 +1656,7 @@ client.chat.field_mapping.field_mappings_destroy(
-
client.chat.field_mapping.field_mappings_partial_update(...) +
client.ats.attachments.create(...)
@@ -1428,7 +1668,7 @@ client.chat.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates an `Attachment` object with the given values.
@@ -1444,13 +1684,17 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```python from merge import Merge +from merge.resources.ats import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.ats.attachments.create( + is_debug_mode=True, + run_async=True, + model=AttachmentRequest(), + remote_user_id="remote_user_id", ) ``` @@ -1467,15 +1711,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**model:** `AttachmentRequest`
@@ -1483,7 +1719,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**remote_user_id:** `str`
@@ -1491,7 +1727,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -1499,7 +1735,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -1519,7 +1755,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-
client.chat.field_mapping.remote_fields_retrieve(...) +
client.ats.attachments.retrieve(...)
@@ -1531,7 +1767,7 @@ client.chat.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns an `Attachment` object with the given `id`.
@@ -1552,9 +1788,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.ats.attachments.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -1571,7 +1808,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -1579,7 +1816,44 @@ client.chat.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["candidate"], + typing.Sequence[typing.Literal["candidate"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -1599,7 +1873,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-
client.chat.field_mapping.target_fields_retrieve() +
client.ats.attachments.meta_post_retrieve()
@@ -1611,7 +1885,7 @@ client.chat.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns metadata for `Attachment` POSTs.
@@ -1632,7 +1906,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.field_mapping.target_fields_retrieve() +client.ats.attachments.meta_post_retrieve() ``` @@ -1660,8 +1934,8 @@ client.chat.field_mapping.target_fields_retrieve()
-## Chat GenerateKey -
client.chat.generate_key.create(...) +## Ats AuditTrail +
client.ats.audit_trail.list(...)
@@ -1673,7 +1947,7 @@ client.chat.field_mapping.target_fields_retrieve()
-Create a remote key. +Gets a list of audit trail events.
@@ -1694,9 +1968,19 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.generate_key.create( - name="Remote Deployment Key 1", +response = client.ats.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + event_type="event_type", + page_size=1, + start_date="start_date", + user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -1712,7 +1996,47 @@ client.chat.generate_key.create(
-**name:** `str` — The name of the remote key +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time + +
+
+ +
+
+ +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time + +
+
+ +
+
+ +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -1732,8 +2056,8 @@ client.chat.generate_key.create(
-## Chat Groups -
client.chat.groups.list(...) +## Ats AvailableActions +
client.ats.available_actions.retrieve()
@@ -1745,7 +2069,69 @@ client.chat.generate_key.create(
-Returns a list of `Group` objects. +Returns a list of models and actions available for an account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.available_actions.retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Ats Candidates +
client.ats.candidates.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Candidate` objects.
@@ -1768,7 +2154,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.groups.list( +response = client.ats.candidates.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -1776,9 +2162,12 @@ client.chat.groups.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_addresses="email_addresses", + first_name="first_name", include_deleted_data=True, include_remote_data=True, include_shell_data=True, + last_name="last_name", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -1787,7 +2176,13 @@ client.chat.groups.list( ), page_size=1, remote_id="remote_id", + tags="tags", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -1827,7 +2222,28 @@ client.chat.groups.list(
-**expand:** `typing.Optional[typing.Literal["users"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**email_addresses:** `typing.Optional[str]` — If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + CandidatesListRequestExpandItem, + typing.Sequence[CandidatesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**first_name:** `typing.Optional[str]` — If provided, will only return candidates with this first name.
@@ -1859,6 +2275,14 @@ client.chat.groups.list(
+**last_name:** `typing.Optional[str]` — If provided, will only return candidates with this last name. + +
+
+ +
+
+ **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -1875,7 +2299,7 @@ client.chat.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -1891,6 +2315,14 @@ client.chat.groups.list(
+**tags:** `typing.Optional[str]` — If provided, will only return candidates with these tags; multiple tags can be separated by commas. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -1903,7 +2335,7 @@ client.chat.groups.list(
-
client.chat.groups.retrieve(...) +
client.ats.candidates.create(...)
@@ -1915,7 +2347,7 @@ client.chat.groups.list(
-Returns a `Group` object with the given `id`. +Creates a `Candidate` object with the given values.
@@ -1931,15 +2363,17 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge +from merge.resources.ats import CandidateRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ats.candidates.create( + is_debug_mode=True, + run_async=True, + model=CandidateRequest(), + remote_user_id="remote_user_id", ) ``` @@ -1956,7 +2390,7 @@ client.chat.groups.retrieve(
-**id:** `str` +**model:** `CandidateRequest`
@@ -1964,7 +2398,7 @@ client.chat.groups.retrieve(
-**expand:** `typing.Optional[typing.Literal["users"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_user_id:** `str`
@@ -1972,7 +2406,7 @@ client.chat.groups.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -1980,7 +2414,7 @@ client.chat.groups.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -2000,8 +2434,7 @@ client.chat.groups.retrieve(
-## Chat Issues -
client.chat.issues.list(...) +
client.ats.candidates.retrieve(...)
@@ -2013,7 +2446,7 @@ client.chat.groups.retrieve(
-Gets all issues for Organization. +Returns a `Candidate` object with the given `id`.
@@ -2028,38 +2461,16 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.chat.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, +client.ats.candidates.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -2076,7 +2487,7 @@ client.chat.issues.list(
-**account_token:** `typing.Optional[str]` +**id:** `str`
@@ -2084,7 +2495,12 @@ client.chat.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + CandidatesRetrieveRequestExpandItem, + typing.Sequence[CandidatesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -2092,7 +2508,7 @@ client.chat.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -2100,7 +2516,7 @@ client.chat.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -2108,47 +2524,75 @@ client.chat.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. -
+
+
client.ats.candidates.partial_update(...)
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues - -
-
+#### 📝 Description
-**integration_name:** `typing.Optional[str]` - +
+
+ +Updates a `Candidate` object with the given `id`. +
+
+#### 🔌 Usage +
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. - +
+
+ +```python +from merge import Merge +from merge.resources.ats import PatchedCandidateRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.candidates.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedCandidateRequest(), + remote_user_id="remote_user_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +
+
+ +**id:** `str`
@@ -2156,7 +2600,7 @@ client.chat.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**model:** `PatchedCandidateRequest`
@@ -2164,7 +2608,7 @@ client.chat.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**remote_user_id:** `str`
@@ -2172,7 +2616,7 @@ client.chat.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -2180,12 +2624,7 @@ client.chat.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -2205,7 +2644,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.chat.issues.retrieve(...) +
client.ats.candidates.ignore_create(...)
@@ -2217,7 +2656,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -2233,13 +2672,17 @@ Get a specific issue. ```python from merge import Merge +from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.issues.retrieve( - id="id", +client.ats.candidates.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -2256,7 +2699,15 @@ client.chat.issues.retrieve(
-**id:** `str` +**model_id:** `str` + +
+
+ +
+
+ +**request:** `IgnoreCommonModelRequest`
@@ -2276,8 +2727,7 @@ client.chat.issues.retrieve(
-## Chat LinkToken -
client.chat.link_token.create(...) +
client.ats.candidates.meta_patch_retrieve(...)
@@ -2289,7 +2739,7 @@ client.chat.issues.retrieve(
-Creates a link token to be used when linking a new end user. The link token expires after single use. +Returns metadata for `Candidate` PATCHs.
@@ -2305,17 +2755,13 @@ Creates a link token to be used when linking a new end user. The link token expi ```python from merge import Merge -from merge.resources.chat import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +client.ats.candidates.meta_patch_retrieve( + id="id", ) ``` @@ -2332,7 +2778,7 @@ client.chat.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**id:** `str`
@@ -2340,123 +2786,64 @@ client.chat.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. -
-
-
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. -
+
+
client.ats.candidates.meta_post_retrieve()
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - -
-
+#### 📝 Description
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - -
-
-
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - +Returns metadata for `Candidate` POSTs.
- -
-
- -**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. -
-
-
- -**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
+#### 🔌 Usage
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - -
-
-
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +```python +from merge import Merge -The following subset of IETF language tags can be used to configure localization. +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.candidates.meta_post_retrieve() -* `en` - en -* `de` - de - +```
- -
-
- -**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. -
-
-
- -**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. - -
-
+#### ⚙️ Parameters
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` - -When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - -* `SELECTIVE_SYNC` - SELECTIVE_SYNC - -
-
-
@@ -2472,8 +2859,8 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Chat LinkedAccounts -
client.chat.linked_accounts.list(...) +## Ats Scopes +
client.ats.scopes.default_scopes_retrieve()
@@ -2485,7 +2872,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -2501,29 +2888,12 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) +client.ats.scopes.default_scopes_retrieve() ``` @@ -2539,119 +2909,64 @@ client.chat.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage -* `knowledgebase` - knowledgebase -* `chat` - chat +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. -
-
-
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. -
+
+
client.ats.scopes.linked_account_scopes_retrieve()
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
+#### 📝 Description
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - -
-
-
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
- -
-
- -**id:** `typing.Optional[str]` -
-
-
- -**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - -
-
+#### 🔌 Usage
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - -
-
-
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.scopes.linked_account_scopes_retrieve() -**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - +```
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. -
+#### ⚙️ Parameters +
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - -
-
-
@@ -2667,8 +2982,170 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-## Chat Messages -
client.chat.messages.list(...) +
client.ats.scopes.linked_account_scopes_create(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.ats import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Ats DeleteAccount +
client.ats.delete_account.delete() +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Delete a linked account. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.delete_account.delete() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + +
+
+
+ +## Ats Departments +
client.ats.departments.list(...)
@@ -2680,7 +3157,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-Returns a list of `Message` objects. +Returns a list of `Department` objects.
@@ -2698,14 +3175,12 @@ Returns a list of `Message` objects. import datetime from merge import Merge -from merge.resources.chat.resources.messages import MessagesListRequestOrderBy client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.list( - conversation_id="conversation_id", +response = client.ats.departments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -2722,11 +3197,14 @@ client.chat.messages.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, page_size=1, remote_id="remote_id", - root_message="root_message", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -2742,14 +3220,6 @@ client.chat.messages.list(
-**conversation_id:** `typing.Optional[str]` — Filter messages by conversation ID. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -2814,15 +3284,7 @@ client.chat.messages.list(
-**order_by:** `typing.Optional[MessagesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -2838,14 +3300,6 @@ client.chat.messages.list(
-**root_message:** `typing.Optional[str]` — If provided as 'true', will only return root messages (messages without a parent message). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -2858,7 +3312,7 @@ client.chat.messages.list(
-
client.chat.messages.retrieve(...) +
client.ats.departments.retrieve(...)
@@ -2870,7 +3324,7 @@ client.chat.messages.list(
-Returns a `Message` object with the given `id`. +Returns a `Department` object with the given `id`.
@@ -2891,7 +3345,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.retrieve( +client.ats.departments.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -2947,7 +3401,8 @@ client.chat.messages.retrieve(
-
client.chat.messages.replies_list(...) +## Ats Eeocs +
client.ats.eeocs.list(...)
@@ -2959,7 +3414,7 @@ client.chat.messages.retrieve(
-Returns a list of `Message` objects. +Returns a list of `EEOC` objects.
@@ -2974,24 +3429,46 @@ Returns a list of `Message` objects.
```python +import datetime + from merge import Merge -from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, +from merge.resources.ats.resources.eeocs import ( + EeocsListRequestRemoteFields, + EeocsListRequestShowEnumOrigins, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.messages.replies_list( - message_id="message_id", +response = client.ats.eeocs.list( + candidate_id="candidate_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_fields=EeocsListRequestRemoteFields.DISABILITY_STATUS, + remote_id="remote_id", + show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -3007,7 +3484,7 @@ client.chat.messages.replies_list(
-**message_id:** `str` +**candidate_id:** `typing.Optional[str]` — If provided, will only return EEOC info for this candidate.
@@ -3015,7 +3492,7 @@ client.chat.messages.replies_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -3023,7 +3500,7 @@ client.chat.messages.replies_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -3031,7 +3508,7 @@ client.chat.messages.replies_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -3039,7 +3516,12 @@ client.chat.messages.replies_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["candidate"], + typing.Sequence[typing.Literal["candidate"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -3047,7 +3529,7 @@ client.chat.messages.replies_list(
-**order_by:** `typing.Optional[MessagesRepliesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -3055,7 +3537,7 @@ client.chat.messages.replies_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -3063,75 +3545,55 @@ client.chat.messages.replies_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
+
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-
-## Chat Passthrough -
client.chat.passthrough.create(...)
-#### 📝 Description - -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-Pull data from an endpoint not currently supported by Merge. -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.chat import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
+**remote_fields:** `typing.Optional[EeocsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**request:** `DataPassthroughRequest` +**show_enum_origins:** `typing.Optional[EeocsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -3151,8 +3613,7 @@ client.chat.passthrough.create(
-## Chat RegenerateKey -
client.chat.regenerate_key.create(...) +
client.ats.eeocs.retrieve(...)
@@ -3164,7 +3625,7 @@ client.chat.passthrough.create(
-Exchange remote keys. +Returns an `EEOC` object with the given `id`.
@@ -3180,13 +3641,21 @@ Exchange remote keys. ```python from merge import Merge +from merge.resources.ats.resources.eeocs import ( + EeocsRetrieveRequestRemoteFields, + EeocsRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.regenerate_key.create( - name="Remote Deployment Key 1", +client.ats.eeocs.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, + remote_fields=EeocsRetrieveRequestRemoteFields.DISABILITY_STATUS, + show_enum_origins=EeocsRetrieveRequestShowEnumOrigins.DISABILITY_STATUS, ) ``` @@ -3203,7 +3672,7 @@ client.chat.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str`
@@ -3211,72 +3680,36 @@ client.chat.regenerate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["candidate"], + typing.Sequence[typing.Literal["candidate"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - - -
- -## Chat SyncStatus -
client.chat.sync_status.list(...) -
-
- -#### 📝 Description - -
-
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_fields:** `typing.Optional[EeocsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -3284,7 +3717,7 @@ client.chat.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**show_enum_origins:** `typing.Optional[EeocsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -3304,8 +3737,8 @@ client.chat.sync_status.list(
-## Chat ForceResync -
client.chat.force_resync.sync_status_resync_create() +## Ats FieldMapping +
client.ats.field_mapping.field_mappings_retrieve(...)
@@ -3317,7 +3750,7 @@ client.chat.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -3338,7 +3771,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.force_resync.sync_status_resync_create() +client.ats.field_mapping.field_mappings_retrieve( + exclude_remote_field_metadata=True, +) ``` @@ -3354,6 +3789,14 @@ client.chat.force_resync.sync_status_resync_create()
+**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -3366,8 +3809,7 @@ client.chat.force_resync.sync_status_resync_create()
-## Chat Users -
client.chat.users.list(...) +
client.ats.field_mapping.field_mappings_create(...)
@@ -3379,7 +3821,7 @@ client.chat.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -3394,33 +3836,20 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.ats.field_mapping.field_mappings_create( + exclude_remote_field_metadata=True, + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -3437,7 +3866,7 @@ client.chat.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -3445,7 +3874,7 @@ client.chat.users.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -3453,7 +3882,7 @@ client.chat.users.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -3461,7 +3890,7 @@ client.chat.users.list(
-**expand:** `typing.Optional[typing.Literal["groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -3469,7 +3898,7 @@ client.chat.users.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -3477,7 +3906,7 @@ client.chat.users.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -3485,7 +3914,7 @@ client.chat.users.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -3493,7 +3922,7 @@ client.chat.users.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -3501,23 +3930,70 @@ client.chat.users.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.ats.field_mapping.field_mappings_destroy(...)
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +#### 📝 Description + +
+
+ +
+
+ +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +
+
+#### 🔌 Usage +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**field_mapping_id:** `str`
@@ -3537,7 +4013,7 @@ client.chat.users.list(
-
client.chat.users.retrieve(...) +
client.ats.field_mapping.field_mappings_partial_update(...)
@@ -3549,7 +4025,7 @@ client.chat.users.list(
-Returns a `User` object with the given `id`. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -3570,10 +4046,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ats.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) ``` @@ -3590,7 +4065,7 @@ client.chat.users.retrieve(
-**id:** `str` +**field_mapping_id:** `str`
@@ -3598,7 +4073,7 @@ client.chat.users.retrieve(
-**expand:** `typing.Optional[typing.Literal["groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided.
@@ -3606,7 +4081,7 @@ client.chat.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -3614,7 +4089,23 @@ client.chat.users.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -3634,8 +4125,7 @@ client.chat.users.retrieve(
-## Chat WebhookReceivers -
client.chat.webhook_receivers.list() +
client.ats.field_mapping.remote_fields_retrieve(...)
@@ -3647,7 +4137,7 @@ client.chat.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -3668,7 +4158,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.chat.webhook_receivers.list() +client.ats.field_mapping.remote_fields_retrieve( + common_models="common_models", + include_example_values="include_example_values", +) ``` @@ -3684,88 +4177,16 @@ client.chat.webhook_receivers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
- -
+
+
-
-
-
- -
client.chat.webhook_receivers.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `WebhookReceiver` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.chat.webhook_receivers.create( - event="event", - is_active=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**event:** `str` - -
-
- -
-
- -**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` - +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +
@@ -3784,8 +4205,7 @@ client.chat.webhook_receivers.create(
-## Ats AccountDetails -
client.ats.account_details.retrieve() +
client.ats.field_mapping.target_fields_retrieve()
@@ -3797,7 +4217,7 @@ client.chat.webhook_receivers.create(
-Get details for a linked account. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -3818,7 +4238,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.account_details.retrieve() +client.ats.field_mapping.target_fields_retrieve() ``` @@ -3846,8 +4266,8 @@ client.ats.account_details.retrieve()
-## Ats AccountToken -
client.ats.account_token.retrieve(...) +## Ats GenerateKey +
client.ats.generate_key.create(...)
@@ -3859,7 +4279,7 @@ client.ats.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Create a remote key.
@@ -3880,8 +4300,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.account_token.retrieve( - public_token="public_token", +client.ats.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -3898,7 +4318,7 @@ client.ats.account_token.retrieve(
-**public_token:** `str` +**name:** `str` — The name of the remote key
@@ -3918,8 +4338,8 @@ client.ats.account_token.retrieve(
-## Ats Activities -
client.ats.activities.list(...) +## Ats Interviews +
client.ats.interviews.list(...)
@@ -3931,7 +4351,7 @@ client.ats.account_token.retrieve(
-Returns a list of `Activity` objects. +Returns a list of `ScheduledInterview` objects.
@@ -3949,16 +4369,13 @@ Returns a list of `Activity` objects. import datetime from merge import Merge -from merge.resources.ats.resources.activities import ( - ActivitiesListRequestRemoteFields, - ActivitiesListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.activities.list( +response = client.ats.interviews.list( + application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -3969,18 +4386,23 @@ client.ats.activities.list( include_deleted_data=True, include_remote_data=True, include_shell_data=True, + job_id="job_id", + job_interview_stage_id="job_interview_stage_id", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + organizer_id="organizer_id", page_size=1, - remote_fields=ActivitiesListRequestRemoteFields.ACTIVITY_TYPE, remote_id="remote_id", - show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, - user_id="user_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -3996,6 +4418,14 @@ client.ats.activities.list(
+**application_id:** `typing.Optional[str]` — If provided, will only return interviews for this application. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -4020,7 +4450,12 @@ client.ats.activities.list(
-**expand:** `typing.Optional[typing.Literal["user"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + InterviewsListRequestExpandItem, + typing.Sequence[InterviewsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -4052,6 +4487,22 @@ client.ats.activities.list(
+**job_id:** `typing.Optional[str]` — If provided, wll only return interviews organized for this job. + +
+
+ +
+
+ +**job_interview_stage_id:** `typing.Optional[str]` — If provided, will only return interviews at this stage. + +
+
+ +
+
+ **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -4068,7 +4519,7 @@ client.ats.activities.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**organizer_id:** `typing.Optional[str]` — If provided, will only return interviews organized by this user.
@@ -4076,7 +4527,7 @@ client.ats.activities.list(
-**remote_fields:** `typing.Optional[ActivitiesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -4084,7 +4535,7 @@ client.ats.activities.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -4092,7 +4543,7 @@ client.ats.activities.list(
-**show_enum_origins:** `typing.Optional[ActivitiesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -4100,7 +4551,7 @@ client.ats.activities.list(
-**user_id:** `typing.Optional[str]` — If provided, will only return activities done by this user. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -4120,7 +4571,7 @@ client.ats.activities.list(
-
client.ats.activities.create(...) +
client.ats.interviews.create(...)
@@ -4132,7 +4583,7 @@ client.ats.activities.list(
-Creates an `Activity` object with the given values. +Creates a `ScheduledInterview` object with the given values.
@@ -4148,16 +4599,16 @@ Creates an `Activity` object with the given values. ```python from merge import Merge -from merge.resources.ats import ActivityRequest +from merge.resources.ats import ScheduledInterviewRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.activities.create( +client.ats.interviews.create( is_debug_mode=True, run_async=True, - model=ActivityRequest(), + model=ScheduledInterviewRequest(), remote_user_id="remote_user_id", ) @@ -4175,7 +4626,7 @@ client.ats.activities.create(
-**model:** `ActivityRequest` +**model:** `ScheduledInterviewRequest`
@@ -4219,7 +4670,7 @@ client.ats.activities.create(
-
client.ats.activities.retrieve(...) +
client.ats.interviews.retrieve(...)
@@ -4231,7 +4682,7 @@ client.ats.activities.create(
-Returns an `Activity` object with the given `id`. +Returns a `ScheduledInterview` object with the given `id`.
@@ -4247,21 +4698,15 @@ Returns an `Activity` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.activities import ( - ActivitiesRetrieveRequestRemoteFields, - ActivitiesRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.activities.retrieve( +client.ats.interviews.retrieve( id="id", include_remote_data=True, include_shell_data=True, - remote_fields=ActivitiesRetrieveRequestRemoteFields.ACTIVITY_TYPE, - show_enum_origins=ActivitiesRetrieveRequestShowEnumOrigins.ACTIVITY_TYPE, ) ``` @@ -4286,7 +4731,12 @@ client.ats.activities.retrieve(
-**expand:** `typing.Optional[typing.Literal["user"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + InterviewsRetrieveRequestExpandItem, + typing.Sequence[InterviewsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -4310,7 +4760,7 @@ client.ats.activities.retrieve(
-**remote_fields:** `typing.Optional[ActivitiesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -4318,7 +4768,7 @@ client.ats.activities.retrieve(
-**show_enum_origins:** `typing.Optional[ActivitiesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -4338,7 +4788,7 @@ client.ats.activities.retrieve(
-
client.ats.activities.meta_post_retrieve() +
client.ats.interviews.meta_post_retrieve()
@@ -4350,7 +4800,7 @@ client.ats.activities.retrieve(
-Returns metadata for `Activity` POSTs. +Returns metadata for `ScheduledInterview` POSTs.
@@ -4371,7 +4821,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.activities.meta_post_retrieve() +client.ats.interviews.meta_post_retrieve() ``` @@ -4399,8 +4849,8 @@ client.ats.activities.meta_post_retrieve()
-## Ats Applications -
client.ats.applications.list(...) +## Ats Issues +
client.ats.issues.list(...)
@@ -4412,7 +4862,7 @@ client.ats.activities.meta_post_retrieve()
-Returns a list of `Application` objects. +Gets all issues for Organization.
@@ -4430,41 +4880,41 @@ Returns a list of `Application` objects. import datetime from merge import Merge -from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, -) +from merge.resources.ats.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.applications.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( +response = client.ats.issues.list( + account_token="account_token", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + end_user_organization_name="end_user_organization_name", + first_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - created_before=datetime.datetime.fromisoformat( + first_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - credited_to_id="credited_to_id", - current_stage_id="current_stage_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - job_id="job_id", - modified_after=datetime.datetime.fromisoformat( + include_muted="include_muted", + integration_name="integration_name", + last_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - modified_before=datetime.datetime.fromisoformat( + last_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + linked_account_id="linked_account_id", page_size=1, - reject_reason_id="reject_reason_id", - remote_id="remote_id", - source="source", + start_date="start_date", + status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -4480,39 +4930,7 @@ client.ats.applications.list(
-**candidate_id:** `typing.Optional[str]` — If provided, will only return applications for this candidate. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**credited_to_id:** `typing.Optional[str]` — If provided, will only return applications credited to this user. - -
-
- -
-
- -**current_stage_id:** `typing.Optional[str]` — If provided, will only return applications at this interview stage. +**account_token:** `typing.Optional[str]`
@@ -4528,31 +4946,7 @@ client.ats.applications.list(
-**expand:** `typing.Optional[ApplicationsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -4560,7 +4954,7 @@ client.ats.applications.list(
-**job_id:** `typing.Optional[str]` — If provided, will only return applications for this job. +**end_user_organization_name:** `typing.Optional[str]`
@@ -4568,7 +4962,7 @@ client.ats.applications.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -4576,7 +4970,7 @@ client.ats.applications.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -4584,7 +4978,7 @@ client.ats.applications.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -4592,7 +4986,7 @@ client.ats.applications.list(
-**reject_reason_id:** `typing.Optional[str]` — If provided, will only return applications with this reject reason. +**integration_name:** `typing.Optional[str]`
@@ -4600,7 +4994,7 @@ client.ats.applications.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -4608,7 +5002,7 @@ client.ats.applications.list(
-**source:** `typing.Optional[str]` — If provided, will only return applications with this source. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -4616,77 +5010,15 @@ client.ats.applications.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
- -
- - - - -
- -
client.ats.applications.create(...) -
-
- -#### 📝 Description - -
-
-Creates an `Application` object with the given values. -For certain integrations, but not all, our API detects duplicate candidates and will associate applications with existing records in the third-party. New candidates are created and automatically linked to the application. - -See our [Help Center article](https://help.merge.dev/en/articles/10012366-updates-to-post-applications-oct-2024) for detailed support per integration. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ats import ApplicationRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.applications.create( - is_debug_mode=True, - run_async=True, - model=ApplicationRequest(), - remote_user_id="remote_user_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ApplicationRequest` +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -4694,7 +5026,7 @@ client.ats.applications.create(
-**remote_user_id:** `str` +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -4702,15 +5034,12 @@ client.ats.applications.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
+**status:** `typing.Optional[IssuesListRequestStatus]` -
-
+Status of the issue. Options: ('ONGOING', 'RESOLVED') -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -4730,7 +5059,7 @@ client.ats.applications.create(
-
client.ats.applications.retrieve(...) +
client.ats.issues.retrieve(...)
@@ -4742,7 +5071,7 @@ client.ats.applications.create(
-Returns an `Application` object with the given `id`. +Get a specific issue.
@@ -4758,19 +5087,13 @@ Returns an `Application` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.applications.retrieve( +client.ats.issues.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -4795,30 +5118,6 @@ client.ats.applications.retrieve(
-**expand:** `typing.Optional[ApplicationsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -4831,7 +5130,8 @@ client.ats.applications.retrieve(
-
client.ats.applications.change_stage_create(...) +## Ats JobInterviewStages +
client.ats.job_interview_stages.list(...)
@@ -4843,7 +5143,7 @@ client.ats.applications.retrieve(
-Updates the `current_stage` field of an `Application` object +Returns a list of `JobInterviewStage` objects.
@@ -4858,17 +5158,40 @@ Updates the `current_stage` field of an `Application` object
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.applications.change_stage_create( - id="id", - is_debug_mode=True, - run_async=True, +response = client.ats.job_interview_stages.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + job_id="job_id", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -4884,7 +5207,7 @@ client.ats.applications.change_stage_create(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -4892,7 +5215,7 @@ client.ats.applications.change_stage_create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -4900,7 +5223,7 @@ client.ats.applications.change_stage_create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -4908,7 +5231,9 @@ client.ats.applications.change_stage_create(
-**job_interview_stage:** `typing.Optional[str]` — The interview stage to move the application to. +**expand:** `typing.Optional[ + typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -4916,7 +5241,7 @@ client.ats.applications.change_stage_create(
-**remote_user_id:** `typing.Optional[str]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -4924,70 +5249,55 @@ client.ats.applications.change_stage_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-
client.ats.applications.meta_post_retrieve(...)
-#### 📝 Description - -
-
+**job_id:** `typing.Optional[str]` — If provided, will only return interview stages for this job. + +
+
-Returns metadata for `Application` POSTs. -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.applications.meta_post_retrieve( - application_remote_template_id="application_remote_template_id", -) - -``` -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-**application_remote_template_id:** `typing.Optional[str]` — The template ID associated with the nested application in the request. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -5007,8 +5317,7 @@ client.ats.applications.meta_post_retrieve(
-## Ats AsyncPassthrough -
client.ats.async_passthrough.create(...) +
client.ats.job_interview_stages.retrieve(...)
@@ -5020,7 +5329,7 @@ client.ats.applications.meta_post_retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a `JobInterviewStage` object with the given `id`.
@@ -5036,17 +5345,15 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.ats import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.ats.job_interview_stages.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -5063,7 +5370,7 @@ client.ats.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**id:** `str`
@@ -5071,70 +5378,25 @@ client.ats.async_passthrough.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - - -
- -
client.ats.async_passthrough.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieves data from earlier async-passthrough POST request -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters -
-
-
- -**async_passthrough_receipt_id:** `str` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -5154,8 +5416,8 @@ client.ats.async_passthrough.retrieve(
-## Ats Attachments -
client.ats.attachments.list(...) +## Ats JobPostings +
client.ats.job_postings.list(...)
@@ -5167,7 +5429,7 @@ client.ats.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Returns a list of `JobPosting` objects.
@@ -5185,13 +5447,15 @@ Returns a list of `Attachment` objects. import datetime from merge import Merge +from merge.resources.ats.resources.job_postings import ( + JobPostingsListRequestStatus, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.attachments.list( - candidate_id="candidate_id", +response = client.ats.job_postings.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -5210,7 +5474,13 @@ client.ats.attachments.list( ), page_size=1, remote_id="remote_id", + status=JobPostingsListRequestStatus.CLOSED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -5226,14 +5496,6 @@ client.ats.attachments.list(
-**candidate_id:** `typing.Optional[str]` — If provided, will only return attachments for this candidate. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -5258,7 +5520,9 @@ client.ats.attachments.list(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5306,7 +5570,7 @@ client.ats.attachments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -5314,7 +5578,7 @@ client.ats.attachments.list(
-**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -5322,15 +5586,15 @@ client.ats.attachments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
+**status:** `typing.Optional[JobPostingsListRequestStatus]` -
-
+If provided, will only return Job Postings with this status. Options: ('PUBLISHED', 'CLOSED', 'DRAFT', 'INTERNAL', 'PENDING') -**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +* `PUBLISHED` - PUBLISHED +* `CLOSED` - CLOSED +* `DRAFT` - DRAFT +* `INTERNAL` - INTERNAL +* `PENDING` - PENDING
@@ -5350,7 +5614,7 @@ client.ats.attachments.list(
-
client.ats.attachments.create(...) +
client.ats.job_postings.retrieve(...)
@@ -5362,7 +5626,7 @@ client.ats.attachments.list(
-Creates an `Attachment` object with the given values. +Returns a `JobPosting` object with the given `id`.
@@ -5378,17 +5642,15 @@ Creates an `Attachment` object with the given values. ```python from merge import Merge -from merge.resources.ats import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.attachments.create( - is_debug_mode=True, - run_async=True, - model=AttachmentRequest(), - remote_user_id="remote_user_id", +client.ats.job_postings.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -5405,7 +5667,7 @@ client.ats.attachments.create(
-**model:** `AttachmentRequest` +**id:** `str`
@@ -5413,7 +5675,9 @@ client.ats.attachments.create(
-**remote_user_id:** `str` +**expand:** `typing.Optional[ + typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5421,7 +5685,7 @@ client.ats.attachments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -5429,7 +5693,7 @@ client.ats.attachments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -5449,7 +5713,8 @@ client.ats.attachments.create(
-
client.ats.attachments.retrieve(...) +## Ats Jobs +
client.ats.jobs.list(...)
@@ -5461,7 +5726,7 @@ client.ats.attachments.create(
-Returns an `Attachment` object with the given `id`. +Returns a list of `Job` objects.
@@ -5476,17 +5741,43 @@ Returns an `Attachment` object with the given `id`.
```python +import datetime + from merge import Merge +from merge.resources.ats.resources.jobs import JobsListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.attachments.retrieve( - id="id", +response = client.ats.jobs.list( + code="code", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + offices="offices", + page_size=1, + remote_id="remote_id", + status=JobsListRequestStatus.ARCHIVED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5502,7 +5793,7 @@ client.ats.attachments.retrieve(
-**id:** `str` +**code:** `typing.Optional[str]` — If provided, will only return jobs with this code.
@@ -5510,7 +5801,7 @@ client.ats.attachments.retrieve(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -5518,7 +5809,7 @@ client.ats.attachments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -5526,7 +5817,7 @@ client.ats.attachments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -5534,7 +5825,11 @@ client.ats.attachments.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["attachment_type"]]` — Deprecated. Use show_enum_origins. +**expand:** `typing.Optional[ + typing.Union[ + JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5542,7 +5837,7 @@ client.ats.attachments.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["attachment_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -5550,64 +5845,91 @@ client.ats.attachments.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-
client.ats.attachments.meta_post_retrieve()
-#### 📝 Description +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-Returns metadata for `Attachment` POSTs. -
-
+**offices:** `typing.Optional[str]` — If provided, will only return jobs for this office; multiple offices can be separated by commas. + -#### 🔌 Usage -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-```python -from merge import Merge +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.attachments.meta_post_retrieve() +
+
-``` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### ⚙️ Parameters -
+**status:** `typing.Optional[JobsListRequestStatus]` + +If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') + +* `OPEN` - OPEN +* `CLOSED` - CLOSED +* `DRAFT` - DRAFT +* `ARCHIVED` - ARCHIVED +* `PENDING` - PENDING + +
+
+
@@ -5623,8 +5945,7 @@ client.ats.attachments.meta_post_retrieve()
-## Ats AuditTrail -
client.ats.audit_trail.list(...) +
client.ats.jobs.retrieve(...)
@@ -5636,7 +5957,7 @@ client.ats.attachments.meta_post_retrieve()
-Gets a list of audit trail events. +Returns a `Job` object with the given `id`.
@@ -5657,13 +5978,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.ats.jobs.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -5680,15 +5998,7 @@ client.ats.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**id:** `str`
@@ -5696,7 +6006,12 @@ client.ats.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**expand:** `typing.Optional[ + typing.Union[ + JobsRetrieveRequestExpandItem, + typing.Sequence[JobsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5704,7 +6019,7 @@ client.ats.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -5712,7 +6027,7 @@ client.ats.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -5720,7 +6035,7 @@ client.ats.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -5728,65 +6043,11 @@ client.ats.audit_trail.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) -
-
- -
- - - - -
- -## Ats AvailableActions -
client.ats.available_actions.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of models and actions available for an account. -
-
-#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.available_actions.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-
@@ -5802,8 +6063,7 @@ client.ats.available_actions.retrieve()
-## Ats Candidates -
client.ats.candidates.list(...) +
client.ats.jobs.screening_questions_list(...)
@@ -5815,7 +6075,7 @@ client.ats.available_actions.retrieve()
-Returns a list of `Candidate` objects. +Returns a list of `ScreeningQuestion` objects.
@@ -5830,40 +6090,25 @@ Returns a list of `Candidate` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.candidates.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ats.jobs.screening_questions_list( + job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, - first_name="first_name", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - last_name="last_name", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), page_size=1, - remote_id="remote_id", - tags="tags", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -5879,15 +6124,7 @@ client.ats.candidates.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**job_id:** `str`
@@ -5903,23 +6140,12 @@ client.ats.candidates.list(
-**email_addresses:** `typing.Optional[str]` — If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - -
-
- -
-
- -**expand:** `typing.Optional[CandidatesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**first_name:** `typing.Optional[str]` — If provided, will only return candidates with this first name. +**expand:** `typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -5951,47 +6177,7 @@ client.ats.candidates.list(
-**last_name:** `typing.Optional[str]` — If provided, will only return candidates with this last name. - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**tags:** `typing.Optional[str]` — If provided, will only return candidates with these tags; multiple tags can be separated by commas. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -6011,7 +6197,8 @@ client.ats.candidates.list(
-
client.ats.candidates.create(...) +## Ats LinkToken +
client.ats.link_token.create(...)
@@ -6023,7 +6210,7 @@ client.ats.candidates.list(
-Creates a `Candidate` object with the given values. +Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -6039,17 +6226,17 @@ Creates a `Candidate` object with the given values. ```python from merge import Merge -from merge.resources.ats import CandidateRequest +from merge.resources.ats import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.candidates.create( - is_debug_mode=True, - run_async=True, - model=CandidateRequest(), - remote_user_id="remote_user_id", +client.ats.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -6066,7 +6253,7 @@ client.ats.candidates.create(
-**model:** `CandidateRequest` +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -6074,7 +6261,7 @@ client.ats.candidates.create(
-**remote_user_id:** `str` +**end_user_organization_name:** `str` — Your end user's organization.
@@ -6082,7 +6269,7 @@ client.ats.candidates.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -6090,7 +6277,7 @@ client.ats.candidates.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -6098,76 +6285,54 @@ client.ats.candidates.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
- -
+
+
+**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +
-
-
client.ats.candidates.retrieve(...)
-#### 📝 Description - -
-
+**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
-Returns a `Candidate` object with the given `id`. -
-
+**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.candidates.retrieve( - id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings.
@@ -6175,7 +6340,12 @@ client.ats.candidates.retrieve(
-**expand:** `typing.Optional[CandidatesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de
@@ -6183,7 +6353,7 @@ client.ats.candidates.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled.
@@ -6191,7 +6361,7 @@ client.ats.candidates.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -6211,7 +6381,8 @@ client.ats.candidates.retrieve(
-
client.ats.candidates.partial_update(...) +## Ats LinkedAccounts +
client.ats.linked_accounts.list(...)
@@ -6223,7 +6394,7 @@ client.ats.candidates.retrieve(
-Updates a `Candidate` object with the given `id`. +List linked accounts for your organization.
@@ -6239,19 +6410,34 @@ Updates a `Candidate` object with the given `id`. ```python from merge import Merge -from merge.resources.ats import PatchedCandidateRequest +from merge.resources.ats.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.candidates.partial_update( +response = client.ats.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", id="id", - is_debug_mode=True, - run_async=True, - model=PatchedCandidateRequest(), - remote_user_id="remote_user_id", + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", + page_size=1, + status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -6267,7 +6453,17 @@ client.ats.candidates.partial_update(
-**id:** `str` +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -6275,7 +6471,7 @@ client.ats.candidates.partial_update(
-**model:** `PatchedCandidateRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -6283,7 +6479,7 @@ client.ats.candidates.partial_update(
-**remote_user_id:** `str` +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -6291,7 +6487,7 @@ client.ats.candidates.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -6299,7 +6495,7 @@ client.ats.candidates.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -6307,72 +6503,47 @@ client.ats.candidates.partial_update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
- -
+
+
+**id:** `typing.Optional[str]` +
-
-
client.ats.candidates.ignore_create(...)
-#### 📝 Description - -
-
+**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + +
+
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. -
-
+**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.ats import ReasonEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.candidates.ignore_create( - model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, -) - -``` -
-
+**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +
-#### ⚙️ Parameters - -
-
-
-**model_id:** `str` +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -6380,7 +6551,7 @@ client.ats.candidates.ignore_create(
-**reason:** `IgnoreCommonModelRequestReason` +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -6388,7 +6559,7 @@ client.ats.candidates.ignore_create(
-**message:** `typing.Optional[str]` +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -6408,7 +6579,8 @@ client.ats.candidates.ignore_create(
-
client.ats.candidates.meta_patch_retrieve(...) +## Ats Offers +
client.ats.offers.list(...)
@@ -6420,7 +6592,7 @@ client.ats.candidates.ignore_create(
-Returns metadata for `Candidate` PATCHs. +Returns a list of `Offer` objects.
@@ -6435,15 +6607,43 @@ Returns metadata for `Candidate` PATCHs.
```python +import datetime + from merge import Merge +from merge.resources.ats.resources.offers import OffersListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.candidates.meta_patch_retrieve( - id="id", +response = client.ats.offers.list( + application_id="application_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + creator_id="creator_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + status=OffersListRequestStatus.APPROVAL_SENT, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -6459,7 +6659,7 @@ client.ats.candidates.meta_patch_retrieve(
-**id:** `str` +**application_id:** `typing.Optional[str]` — If provided, will only return offers for this application.
@@ -6467,187 +6667,140 @@ client.ats.candidates.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-
client.ats.candidates.meta_post_retrieve()
-#### 📝 Description - -
-
+**creator_id:** `typing.Optional[str]` — If provided, will only return offers created by this user. + +
+
-Returns metadata for `Candidate` POSTs. -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.candidates.meta_post_retrieve() - -``` -
-
+**expand:** `typing.Optional[ + typing.Union[ + OffersListRequestExpandItem, + typing.Sequence[OffersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
-
-
+
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-
-## Ats Scopes -
client.ats.scopes.default_scopes_retrieve()
-#### 📝 Description - -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.scopes.default_scopes_retrieve() - -``` -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
-
-
+
+
+**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +
-
-
client.ats.scopes.linked_account_scopes_retrieve()
-#### 📝 Description - -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge +**status:** `typing.Optional[OffersListRequestStatus]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.scopes.linked_account_scopes_retrieve() +If provided, will only return offers with this status. Options: ('DRAFT', 'APPROVAL-SENT', 'APPROVED', 'SENT', 'SENT-MANUALLY', 'OPENED', 'DENIED', 'SIGNED', 'DEPRECATED') -``` -
-
+* `DRAFT` - DRAFT +* `APPROVAL-SENT` - APPROVAL-SENT +* `APPROVED` - APPROVED +* `SENT` - SENT +* `SENT-MANUALLY` - SENT-MANUALLY +* `OPENED` - OPENED +* `DENIED` - DENIED +* `SIGNED` - SIGNED +* `DEPRECATED` - DEPRECATED +
-#### ⚙️ Parameters - -
-
-
@@ -6663,7 +6816,7 @@ client.ats.scopes.linked_account_scopes_retrieve()
-
client.ats.scopes.linked_account_scopes_create(...) +
client.ats.offers.retrieve(...)
@@ -6675,7 +6828,7 @@ client.ats.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns an `Offer` object with the given `id`.
@@ -6691,42 +6844,15 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.ats import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +client.ats.offers.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -6743,7 +6869,7 @@ client.ats.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**id:** `str`
@@ -6751,65 +6877,48 @@ client.ats.scopes.linked_account_scopes_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + OffersRetrieveRequestExpandItem, + typing.Sequence[OffersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
+
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-
-## Ats DeleteAccount -
client.ats.delete_account.delete()
-#### 📝 Description - -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-Delete a linked account. -
-
+**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.delete_account.delete() - -``` -
-
+**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### ⚙️ Parameters - -
-
-
@@ -6825,8 +6934,8 @@ client.ats.delete_account.delete()
-## Ats Departments -
client.ats.departments.list(...) +## Ats Offices +
client.ats.offices.list(...)
@@ -6838,7 +6947,7 @@ client.ats.delete_account.delete()
-Returns a list of `Department` objects. +Returns a list of `Office` objects.
@@ -6861,7 +6970,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.departments.list( +response = client.ats.offices.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -6881,6 +6990,11 @@ client.ats.departments.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -6960,7 +7074,7 @@ client.ats.departments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -6988,7 +7102,7 @@ client.ats.departments.list(
-
client.ats.departments.retrieve(...) +
client.ats.offices.retrieve(...)
@@ -7000,7 +7114,7 @@ client.ats.departments.list(
-Returns a `Department` object with the given `id`. +Returns an `Office` object with the given `id`.
@@ -7021,7 +7135,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.departments.retrieve( +client.ats.offices.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -7077,8 +7191,8 @@ client.ats.departments.retrieve(
-## Ats Eeocs -
client.ats.eeocs.list(...) +## Ats Passthrough +
client.ats.passthrough.create(...)
@@ -7090,7 +7204,7 @@ client.ats.departments.retrieve(
-Returns a list of `EEOC` objects. +Pull data from an endpoint not currently supported by Merge.
@@ -7105,40 +7219,18 @@ Returns a list of `EEOC` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.eeocs import ( - EeocsListRequestRemoteFields, - EeocsListRequestShowEnumOrigins, -) +from merge.resources.ats import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.eeocs.list( - candidate_id="candidate_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", +client.ats.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", ), - page_size=1, - remote_fields=EeocsListRequestRemoteFields.DISABILITY_STATUS, - remote_id="remote_id", - show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) ``` @@ -7155,7 +7247,7 @@ client.ats.eeocs.list(
-**candidate_id:** `typing.Optional[str]` — If provided, will only return EEOC info for this candidate. +**request:** `DataPassthroughRequest`
@@ -7163,103 +7255,71 @@ client.ats.eeocs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+## Ats RegenerateKey +
client.ats.regenerate_key.create(...)
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +Exchange remote keys.
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.regenerate_key.create( + name="Remote Deployment Key 1", +) -**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```
- -
-
- -**remote_fields:** `typing.Optional[EeocsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. -
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
-**show_enum_origins:** `typing.Optional[EeocsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**name:** `str` — The name of the remote key
@@ -7279,7 +7339,8 @@ client.ats.eeocs.list(
-
client.ats.eeocs.retrieve(...) +## Ats RejectReasons +
client.ats.reject_reasons.list(...)
@@ -7291,7 +7352,7 @@ client.ats.eeocs.list(
-Returns an `EEOC` object with the given `id`. +Returns a list of `RejectReason` objects.
@@ -7306,23 +7367,39 @@ Returns an `EEOC` object with the given `id`.
```python +import datetime + from merge import Merge -from merge.resources.ats.resources.eeocs import ( - EeocsRetrieveRequestRemoteFields, - EeocsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.eeocs.retrieve( - id="id", +response = client.ats.reject_reasons.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, include_shell_data=True, - remote_fields=EeocsRetrieveRequestRemoteFields.DISABILITY_STATUS, - show_enum_origins=EeocsRetrieveRequestShowEnumOrigins.DISABILITY_STATUS, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -7338,7 +7415,7 @@ client.ats.eeocs.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -7346,7 +7423,23 @@ client.ats.eeocs.retrieve(
-**expand:** `typing.Optional[typing.Literal["candidate"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -7370,7 +7463,7 @@ client.ats.eeocs.retrieve(
-**remote_fields:** `typing.Optional[EeocsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -7378,7 +7471,23 @@ client.ats.eeocs.retrieve(
-**show_enum_origins:** `typing.Optional[EeocsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -7398,8 +7507,7 @@ client.ats.eeocs.retrieve(
-## Ats FieldMapping -
client.ats.field_mapping.field_mappings_retrieve(...) +
client.ats.reject_reasons.retrieve(...)
@@ -7411,7 +7519,7 @@ client.ats.eeocs.retrieve(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `RejectReason` object with the given `id`.
@@ -7432,8 +7540,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.ats.reject_reasons.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -7450,7 +7560,23 @@ client.ats.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -7470,7 +7596,8 @@ client.ats.field_mapping.field_mappings_retrieve(
-
client.ats.field_mapping.field_mappings_create(...) +## Ats Scorecards +
client.ats.scorecards.list(...)
@@ -7482,7 +7609,7 @@ client.ats.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Scorecard` objects.
@@ -7497,21 +7624,42 @@ Create new Field Mappings that will be available after the next scheduled sync.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.ats.scorecards.list( + application_id="application_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + interview_id="interview_id", + interviewer_id="interviewer_id", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -7527,7 +7675,7 @@ client.ats.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**application_id:** `typing.Optional[str]` — If provided, will only return scorecards for this application.
@@ -7535,7 +7683,7 @@ client.ats.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -7543,7 +7691,7 @@ client.ats.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -7551,7 +7699,7 @@ client.ats.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -7559,7 +7707,12 @@ client.ats.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**expand:** `typing.Optional[ + typing.Union[ + ScorecardsListRequestExpandItem, + typing.Sequence[ScorecardsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -7567,7 +7720,7 @@ client.ats.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -7575,7 +7728,7 @@ client.ats.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -7583,70 +7736,71 @@ client.ats.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
+
+
+**interview_id:** `typing.Optional[str]` — If provided, will only return scorecards for this interview. +
-
-
client.ats.field_mapping.field_mappings_destroy(...)
-#### 📝 Description +**interviewer_id:** `typing.Optional[str]` — If provided, will only return scorecards for this interviewer. + +
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + -#### 🔌 Usage -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**field_mapping_id:** `str` +**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -7666,7 +7820,7 @@ client.ats.field_mapping.field_mappings_destroy(
-
client.ats.field_mapping.field_mappings_partial_update(...) +
client.ats.scorecards.retrieve(...)
@@ -7678,7 +7832,7 @@ client.ats.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a `Scorecard` object with the given `id`.
@@ -7699,8 +7853,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.ats.scorecards.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -7717,7 +7873,7 @@ client.ats.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**id:** `str`
@@ -7725,7 +7881,12 @@ client.ats.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**expand:** `typing.Optional[ + typing.Union[ + ScorecardsRetrieveRequestExpandItem, + typing.Sequence[ScorecardsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -7733,7 +7894,7 @@ client.ats.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -7741,7 +7902,23 @@ client.ats.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -7761,7 +7938,8 @@ client.ats.field_mapping.field_mappings_partial_update(
-
client.ats.field_mapping.remote_fields_retrieve(...) +## Ats SyncStatus +
client.ats.sync_status.list(...)
@@ -7773,7 +7951,7 @@ client.ats.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -7794,10 +7972,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +response = client.ats.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -7813,7 +7996,7 @@ client.ats.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -7821,7 +8004,7 @@ client.ats.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -7841,7 +8024,8 @@ client.ats.field_mapping.remote_fields_retrieve(
-
client.ats.field_mapping.target_fields_retrieve() +## Ats ForceResync +
client.ats.force_resync.sync_status_resync_create()
@@ -7853,7 +8037,7 @@ client.ats.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -7874,7 +8058,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.field_mapping.target_fields_retrieve() +client.ats.force_resync.sync_status_resync_create() ``` @@ -7902,8 +8086,8 @@ client.ats.field_mapping.target_fields_retrieve()
-## Ats GenerateKey -
client.ats.generate_key.create(...) +## Ats Tags +
client.ats.tags.list(...)
@@ -7915,7 +8099,7 @@ client.ats.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns a list of `Tag` objects.
@@ -7930,15 +8114,39 @@ Create a remote key.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.generate_key.create( - name="Remote Deployment Key 1", +response = client.ats.tags.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -7954,7 +8162,79 @@ client.ats.generate_key.create(
-**name:** `str` — The name of the remote key +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -7974,8 +8254,8 @@ client.ats.generate_key.create(
-## Ats Interviews -
client.ats.interviews.list(...) +## Ats Users +
client.ats.users.list(...)
@@ -7987,7 +8267,7 @@ client.ats.generate_key.create(
-Returns a list of `ScheduledInterview` objects. +Returns a list of `RemoteUser` objects.
@@ -8005,14 +8285,12 @@ Returns a list of `ScheduledInterview` objects. import datetime from merge import Merge -from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.interviews.list( - application_id="application_id", +response = client.ats.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -8020,22 +8298,24 @@ client.ats.interviews.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, + email="email", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - job_id="job_id", - job_interview_stage_id="job_interview_stage_id", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - organizer_id="organizer_id", page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -8051,14 +8331,6 @@ client.ats.interviews.list(
-**application_id:** `typing.Optional[str]` — If provided, will only return interviews for this application. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -8083,7 +8355,7 @@ client.ats.interviews.list(
-**expand:** `typing.Optional[InterviewsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**email:** `typing.Optional[str]` — If provided, will only return remote users with the given email address
@@ -8115,22 +8387,6 @@ client.ats.interviews.list(
-**job_id:** `typing.Optional[str]` — If provided, wll only return interviews organized for this job. - -
-
- -
-
- -**job_interview_stage_id:** `typing.Optional[str]` — If provided, will only return interviews at this stage. - -
-
- -
-
- **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -8147,15 +8403,7 @@ client.ats.interviews.list(
-**organizer_id:** `typing.Optional[str]` — If provided, will only return interviews organized by this user. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -8163,7 +8411,7 @@ client.ats.interviews.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins.
@@ -8179,7 +8427,7 @@ client.ats.interviews.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -8199,7 +8447,7 @@ client.ats.interviews.list(
-
client.ats.interviews.create(...) +
client.ats.users.retrieve(...)
@@ -8211,7 +8459,7 @@ client.ats.interviews.list(
-Creates a `ScheduledInterview` object with the given values. +Returns a `RemoteUser` object with the given `id`.
@@ -8227,17 +8475,15 @@ Creates a `ScheduledInterview` object with the given values. ```python from merge import Merge -from merge.resources.ats import ScheduledInterviewRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.interviews.create( - is_debug_mode=True, - run_async=True, - model=ScheduledInterviewRequest(), - remote_user_id="remote_user_id", +client.ats.users.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -8254,7 +8500,7 @@ client.ats.interviews.create(
-**model:** `ScheduledInterviewRequest` +**id:** `str`
@@ -8262,7 +8508,7 @@ client.ats.interviews.create(
-**remote_user_id:** `str` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -8270,7 +8516,7 @@ client.ats.interviews.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -8278,7 +8524,15 @@ client.ats.interviews.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -8298,7 +8552,8 @@ client.ats.interviews.create(
-
client.ats.interviews.retrieve(...) +## Ats WebhookReceivers +
client.ats.webhook_receivers.list()
@@ -8310,7 +8565,7 @@ client.ats.interviews.create(
-Returns a `ScheduledInterview` object with the given `id`. +Returns a list of `WebhookReceiver` objects.
@@ -8326,20 +8581,12 @@ Returns a `ScheduledInterview` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.interviews.retrieve( - id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, - include_remote_data=True, - include_shell_data=True, -) +client.ats.webhook_receivers.list() ``` @@ -8355,31 +8602,71 @@ client.ats.interviews.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.ats.webhook_receivers.create(...)
-**expand:** `typing.Optional[InterviewsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +#### 📝 Description + +
+
+ +
+
+ +Creates a `WebhookReceiver` object with the given values. +
+
+#### 🔌 Usage +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ats.webhook_receivers.create( + event="event", + is_active=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +**event:** `str`
@@ -8387,7 +8674,7 @@ client.ats.interviews.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**is_active:** `bool`
@@ -8395,7 +8682,7 @@ client.ats.interviews.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**key:** `typing.Optional[str]`
@@ -8415,7 +8702,8 @@ client.ats.interviews.retrieve(
-
client.ats.interviews.meta_post_retrieve() +## Accounting AccountDetails +
client.accounting.account_details.retrieve()
@@ -8427,7 +8715,7 @@ client.ats.interviews.retrieve(
-Returns metadata for `ScheduledInterview` POSTs. +Get details for a linked account.
@@ -8448,7 +8736,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.interviews.meta_post_retrieve() +client.accounting.account_details.retrieve() ``` @@ -8476,8 +8764,8 @@ client.ats.interviews.meta_post_retrieve()
-## Ats Issues -
client.ats.issues.list(...) +## Accounting AccountToken +
client.accounting.account_token.retrieve(...)
@@ -8489,7 +8777,7 @@ client.ats.interviews.meta_post_retrieve()
-Gets all issues for Organization. +Returns the account token for the end user with the provided public token.
@@ -8504,38 +8792,14 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, +client.accounting.account_token.retrieve( + public_token="public_token", ) ``` @@ -8552,7 +8816,7 @@ client.ats.issues.list(
-**account_token:** `typing.Optional[str]` +**public_token:** `str`
@@ -8560,71 +8824,141 @@ client.ats.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time -
+
+
client.accounting.account_token.regenerate_create()
-**end_user_organization_name:** `typing.Optional[str]` - -
-
+#### 📝 Description
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. - +
+
+ +Exchange Linked Account account tokens. +
+
+#### 🔌 Usage +
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.account_token.regenerate_create() + +```
+
+
+ +#### ⚙️ Parameters
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +## Accounting AccountingPeriods +
client.accounting.accounting_periods.list(...)
-**integration_name:** `typing.Optional[str]` - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `AccountingPeriod` objects.
+
+
+ +#### 🔌 Usage
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.accounting_periods.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -8632,7 +8966,7 @@ client.ats.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -8640,7 +8974,7 @@ client.ats.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -8648,7 +8982,7 @@ client.ats.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -8656,12 +8990,7 @@ client.ats.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -8681,7 +9010,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.ats.issues.retrieve(...) +
client.accounting.accounting_periods.retrieve(...)
@@ -8693,7 +9022,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns an `AccountingPeriod` object with the given `id`.
@@ -8714,8 +9043,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.issues.retrieve( +client.accounting.accounting_periods.retrieve( id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -8740,6 +9071,22 @@ client.ats.issues.retrieve(
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -8752,8 +9099,8 @@ client.ats.issues.retrieve(
-## Ats JobInterviewStages -
client.ats.job_interview_stages.list(...) +## Accounting Accounts +
client.accounting.accounts.list(...)
@@ -8765,7 +9112,7 @@ client.ats.issues.retrieve(
-Returns a list of `JobInterviewStage` objects. +Returns a list of `Account` objects.
@@ -8783,12 +9130,21 @@ Returns a list of `JobInterviewStage` objects. import datetime from merge import Merge +from merge.resources.accounting.resources.accounts import ( + AccountsListRequestClassification, + AccountsListRequestRemoteFields, + AccountsListRequestShowEnumOrigins, + AccountsListRequestStatus, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_interview_stages.list( +response = client.accounting.accounts.list( + account_type="account_type", + classification=AccountsListRequestClassification.EMPTY, + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -8799,16 +9155,24 @@ client.ats.job_interview_stages.list( include_deleted_data=True, include_remote_data=True, include_shell_data=True, - job_id="job_id", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, + remote_fields=AccountsListRequestRemoteFields.CLASSIFICATION, remote_id="remote_id", + show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, + status=AccountsListRequestStatus.EMPTY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -8824,6 +9188,30 @@ client.ats.job_interview_stages.list(
+**account_type:** `typing.Optional[str]` — If provided, will only return accounts with the passed in enum. + +
+
+ +
+
+ +**classification:** `typing.Optional[AccountsListRequestClassification]` — If provided, will only return accounts with this classification. + +
+
+ +
+
+ +**company_id:** `typing.Optional[str]` — If provided, will only return accounts for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -8848,7 +9236,11 @@ client.ats.job_interview_stages.list(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -8880,7 +9272,7 @@ client.ats.job_interview_stages.list(
-**job_id:** `typing.Optional[str]` — If provided, will only return interview stages for this job. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -8888,7 +9280,7 @@ client.ats.job_interview_stages.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -8896,7 +9288,7 @@ client.ats.job_interview_stages.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**name:** `typing.Optional[str]` — If provided, will only return Accounts with this name.
@@ -8904,7 +9296,15 @@ client.ats.job_interview_stages.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[AccountsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -8920,6 +9320,22 @@ client.ats.job_interview_stages.list(
+**show_enum_origins:** `typing.Optional[AccountsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**status:** `typing.Optional[AccountsListRequestStatus]` — If provided, will only return accounts with this status. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -8932,7 +9348,7 @@ client.ats.job_interview_stages.list(
-
client.ats.job_interview_stages.retrieve(...) +
client.accounting.accounts.create(...)
@@ -8944,7 +9360,7 @@ client.ats.job_interview_stages.list(
-Returns a `JobInterviewStage` object with the given `id`. +Creates an `Account` object with the given values.
@@ -8960,15 +9376,16 @@ Returns a `JobInterviewStage` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_interview_stages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.accounting.accounts.create( + is_debug_mode=True, + run_async=True, + model=AccountRequest(), ) ``` @@ -8985,15 +9402,7 @@ client.ats.job_interview_stages.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `AccountRequest`
@@ -9001,7 +9410,7 @@ client.ats.job_interview_stages.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -9009,7 +9418,7 @@ client.ats.job_interview_stages.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -9029,8 +9438,7 @@ client.ats.job_interview_stages.retrieve(
-## Ats JobPostings -
client.ats.job_postings.list(...) +
client.accounting.accounts.retrieve(...)
@@ -9042,7 +9450,7 @@ client.ats.job_interview_stages.retrieve(
-Returns a list of `JobPosting` objects. +Returns an `Account` object with the given `id`.
@@ -9057,37 +9465,22 @@ Returns a list of `JobPosting` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.job_postings import ( - JobPostingsListRequestStatus, +from merge.resources.accounting.resources.accounts import ( + AccountsRetrieveRequestRemoteFields, + AccountsRetrieveRequestShowEnumOrigins, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_postings.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.accounting.accounts.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - status=JobPostingsListRequestStatus.CLOSED, + remote_fields=AccountsRetrieveRequestRemoteFields.CLASSIFICATION, + show_enum_origins=AccountsRetrieveRequestShowEnumOrigins.CLASSIFICATION, ) ``` @@ -9104,7 +9497,7 @@ client.ats.job_postings.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -9112,7 +9505,11 @@ client.ats.job_postings.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -9120,7 +9517,7 @@ client.ats.job_postings.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -9128,7 +9525,7 @@ client.ats.job_postings.list(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -9136,7 +9533,7 @@ client.ats.job_postings.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -9144,7 +9541,7 @@ client.ats.job_postings.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[AccountsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -9152,59 +9549,64 @@ client.ats.job_postings.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+
client.accounting.accounts.meta_post_retrieve()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +Returns metadata for `Account` POSTs.
+ + + +#### 🔌 Usage
-**status:** `typing.Optional[JobPostingsListRequestStatus]` +
+
-If provided, will only return Job Postings with this status. Options: ('PUBLISHED', 'CLOSED', 'DRAFT', 'INTERNAL', 'PENDING') +```python +from merge import Merge -* `PUBLISHED` - PUBLISHED -* `CLOSED` - CLOSED -* `DRAFT` - DRAFT -* `INTERNAL` - INTERNAL -* `PENDING` - PENDING - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.accounts.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -9220,7 +9622,8 @@ If provided, will only return Job Postings with this status. Options: ('PUBLISHE
-
client.ats.job_postings.retrieve(...) +## Accounting Addresses +
client.accounting.addresses.retrieve(...)
@@ -9232,7 +9635,7 @@ If provided, will only return Job Postings with this status. Options: ('PUBLISHE
-Returns a `JobPosting` object with the given `id`. +Returns an `Address` object with the given `id`.
@@ -9253,7 +9656,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.job_postings.retrieve( +client.accounting.addresses.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -9281,7 +9684,7 @@ client.ats.job_postings.retrieve(
-**expand:** `typing.Optional[typing.Literal["job"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -9289,7 +9692,7 @@ client.ats.job_postings.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -9297,7 +9700,15 @@ client.ats.job_postings.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -9317,8 +9728,8 @@ client.ats.job_postings.retrieve(
-## Ats Jobs -
client.ats.jobs.list(...) +## Accounting AsyncPassthrough +
client.accounting.async_passthrough.create(...)
@@ -9330,7 +9741,7 @@ client.ats.job_postings.retrieve(
-Returns a list of `Job` objects. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -9345,41 +9756,18 @@ Returns a list of `Job` objects.
```python -import datetime - from merge import Merge -from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, -) +from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.jobs.list( - code="code", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", +client.accounting.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", ), - offices="offices", - page_size=1, - remote_id="remote_id", - status=JobsListRequestStatus.ARCHIVED, ) ``` @@ -9396,7 +9784,7 @@ client.ats.jobs.list(
-**code:** `typing.Optional[str]` — If provided, will only return jobs with this code. +**request:** `DataPassthroughRequest`
@@ -9404,127 +9792,70 @@ client.ats.jobs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.accounting.async_passthrough.retrieve(...)
-**expand:** `typing.Optional[JobsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +Retrieves data from earlier async-passthrough POST request
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
-
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
+#### 🔌 Usage
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**offices:** `typing.Optional[str]` — If provided, will only return jobs for this office; multiple offices can be separated by commas. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) -**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. -
-
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
+#### ⚙️ Parameters
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
-
-**status:** `typing.Optional[JobsListRequestStatus]` - -If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') - -* `OPEN` - OPEN -* `CLOSED` - CLOSED -* `DRAFT` - DRAFT -* `ARCHIVED` - ARCHIVED -* `PENDING` - PENDING +**async_passthrough_receipt_id:** `str`
@@ -9544,7 +9875,8 @@ If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED',
-
client.ats.jobs.retrieve(...) +## Accounting AsyncTasks +
client.accounting.async_tasks.retrieve(...)
@@ -9556,7 +9888,7 @@ If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED',
-Returns a `Job` object with the given `id`. +Returns an `AsyncPostTask` object with the given `id`.
@@ -9572,17 +9904,13 @@ Returns a `Job` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.jobs.retrieve( +client.accounting.async_tasks.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -9607,46 +9935,6 @@ client.ats.jobs.retrieve(
-**expand:** `typing.Optional[JobsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -9659,7 +9947,8 @@ client.ats.jobs.retrieve(
-
client.ats.jobs.screening_questions_list(...) +## Accounting Attachments +
client.accounting.attachments.list(...)
@@ -9671,7 +9960,7 @@ client.ats.jobs.retrieve(
-Returns a list of `ScreeningQuestion` objects. +Returns a list of `AccountingAttachment` objects.
@@ -9686,24 +9975,40 @@ Returns a list of `ScreeningQuestion` objects.
```python +import datetime + from merge import Merge -from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.jobs.screening_questions_list( - job_id="job_id", +response = client.accounting.attachments.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, include_deleted_data=True, include_remote_data=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -9719,7 +10024,7 @@ client.ats.jobs.screening_questions_list(
-**job_id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return accounting attachments for this company.
@@ -9727,7 +10032,7 @@ client.ats.jobs.screening_questions_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -9735,7 +10040,15 @@ client.ats.jobs.screening_questions_list(
-**expand:** `typing.Optional[JobsScreeningQuestionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -9767,7 +10080,31 @@ client.ats.jobs.screening_questions_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -9787,8 +10124,7 @@ client.ats.jobs.screening_questions_list(
-## Ats LinkToken -
client.ats.link_token.create(...) +
client.accounting.attachments.create(...)
@@ -9800,7 +10136,7 @@ client.ats.jobs.screening_questions_list(
-Creates a link token to be used when linking a new end user. +Creates an `AccountingAttachment` object with the given values.
@@ -9816,17 +10152,16 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.ats import CategoriesEnum +from merge.resources.accounting import AccountingAttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +client.accounting.attachments.create( + is_debug_mode=True, + run_async=True, + model=AccountingAttachmentRequest(), ) ``` @@ -9843,7 +10178,7 @@ client.ats.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**model:** `AccountingAttachmentRequest`
@@ -9851,7 +10186,7 @@ client.ats.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -9859,7 +10194,7 @@ client.ats.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -9867,39 +10202,72 @@ client.ats.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. -
+
+
client.accounting.attachments.retrieve(...)
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - +#### 📝 Description + +
+
+ +
+
+ +Returns an `AccountingAttachment` object with the given `id`. +
+
+#### 🔌 Usage +
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.attachments.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) + +```
+
+
+ +#### ⚙️ Parameters
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
+
+ +**id:** `str`
@@ -9907,7 +10275,7 @@ client.ats.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -9915,14 +10283,7 @@ client.ats.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -9930,32 +10291,64 @@ client.ats.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
-The following subset of IETF language tags can be used to configure localization. -* `en` - en -* `de` - de -
+
+
client.accounting.attachments.meta_post_retrieve()
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `AccountingAttachment` POSTs.
+
+
+ +#### 🔌 Usage
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.attachments.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -9971,8 +10364,8 @@ The following subset of IETF language tags can be used to configure localization
-## Ats LinkedAccounts -
client.ats.linked_accounts.list(...) +## Accounting AuditTrail +
client.accounting.audit_trail.list(...)
@@ -9984,7 +10377,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Gets a list of audit trail events.
@@ -10000,29 +10393,24 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.ats.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, +response = client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", + end_date="end_date", + event_type="event_type", page_size=1, - status="status", + start_date="start_date", + user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -10038,17 +10426,7 @@ client.ats.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10056,7 +10434,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -10064,7 +10442,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -10072,7 +10450,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -10080,7 +10458,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -10088,7 +10466,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -10096,59 +10474,65 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**id:** `typing.Optional[str]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. -
+
+## Accounting AvailableActions +
client.accounting.available_actions.retrieve()
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - -
-
+#### 📝 Description
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. - -
-
-
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - +Returns a list of models and actions available for an account. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.available_actions.retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -10164,8 +10548,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Ats Offers -
client.ats.offers.list(...) +## Accounting BalanceSheets +
client.accounting.balance_sheets.list(...)
@@ -10177,7 +10561,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Offer` objects. +Returns a list of `BalanceSheet` objects.
@@ -10195,23 +10579,20 @@ Returns a list of `Offer` objects. import datetime from merge import Merge -from merge.resources.ats.resources.offers import OffersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offers.list( - application_id="application_id", +response = client.accounting.balance_sheets.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), created_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - creator_id="creator_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -10224,6 +10605,11 @@ client.ats.offers.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -10239,7 +10625,7 @@ client.ats.offers.list(
-**application_id:** `typing.Optional[str]` — If provided, will only return offers for this application. +**company_id:** `typing.Optional[str]` — If provided, will only return balance sheets for this company.
@@ -10263,14 +10649,6 @@ client.ats.offers.list(
-**creator_id:** `typing.Optional[str]` — If provided, will only return offers created by this user. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10279,7 +10657,11 @@ client.ats.offers.list(
-**expand:** `typing.Optional[OffersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -10327,15 +10709,7 @@ client.ats.offers.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -10351,14 +10725,6 @@ client.ats.offers.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -10371,7 +10737,7 @@ client.ats.offers.list(
-
client.ats.offers.retrieve(...) +
client.accounting.balance_sheets.retrieve(...)
@@ -10383,7 +10749,7 @@ client.ats.offers.list(
-Returns an `Offer` object with the given `id`. +Returns a `BalanceSheet` object with the given `id`.
@@ -10399,15 +10765,13 @@ Returns an `Offer` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offers.retrieve( +client.accounting.balance_sheets.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) @@ -10434,7 +10798,11 @@ client.ats.offers.retrieve(
-**expand:** `typing.Optional[OffersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -10458,22 +10826,6 @@ client.ats.offers.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -10486,8 +10838,8 @@ client.ats.offers.retrieve(
-## Ats Offices -
client.ats.offices.list(...) +## Accounting BankFeedAccounts +
client.accounting.bank_feed_accounts.list(...)
@@ -10499,7 +10851,7 @@ client.ats.offers.retrieve(
-Returns a list of `Office` objects. +Returns a list of `BankFeedAccount` objects.
@@ -10514,34 +10866,24 @@ Returns a list of `Office` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offices.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.bank_feed_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -10557,22 +10899,6 @@ client.ats.offices.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -10605,31 +10931,7 @@ client.ats.offices.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -10649,7 +10951,7 @@ client.ats.offices.list(
-
client.ats.offices.retrieve(...) +
client.accounting.bank_feed_accounts.create(...)
@@ -10661,7 +10963,7 @@ client.ats.offices.list(
-Returns an `Office` object with the given `id`. +Creates a `BankFeedAccount` object with the given values.
@@ -10677,15 +10979,16 @@ Returns an `Office` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import BankFeedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.offices.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.accounting.bank_feed_accounts.create( + is_debug_mode=True, + run_async=True, + model=BankFeedAccountRequest(), ) ``` @@ -10702,7 +11005,7 @@ client.ats.offices.retrieve(
-**id:** `str` +**model:** `BankFeedAccountRequest`
@@ -10710,7 +11013,7 @@ client.ats.offices.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -10718,7 +11021,7 @@ client.ats.offices.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -10738,8 +11041,7 @@ client.ats.offices.retrieve(
-## Ats Passthrough -
client.ats.passthrough.create(...) +
client.accounting.bank_feed_accounts.retrieve(...)
@@ -10751,7 +11053,7 @@ client.ats.offices.retrieve(
-Pull data from an endpoint not currently supported by Merge. +Returns a `BankFeedAccount` object with the given `id`.
@@ -10767,17 +11069,15 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.ats import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.accounting.bank_feed_accounts.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -10794,7 +11094,23 @@ client.ats.passthrough.create(
-**request:** `DataPassthroughRequest` +**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -10814,8 +11130,7 @@ client.ats.passthrough.create(
-## Ats RegenerateKey -
client.ats.regenerate_key.create(...) +
client.accounting.bank_feed_accounts.meta_post_retrieve()
@@ -10827,7 +11142,7 @@ client.ats.passthrough.create(
-Exchange remote keys. +Returns metadata for `BankFeedAccount` POSTs.
@@ -10848,9 +11163,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.regenerate_key.create( - name="Remote Deployment Key 1", -) +client.accounting.bank_feed_accounts.meta_post_retrieve() ``` @@ -10866,14 +11179,6 @@ client.ats.regenerate_key.create(
-**name:** `str` — The name of the remote key - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -10886,8 +11191,8 @@ client.ats.regenerate_key.create(
-## Ats RejectReasons -
client.ats.reject_reasons.list(...) +## Accounting BankFeedTransactions +
client.accounting.bank_feed_transactions.list(...)
@@ -10899,7 +11204,7 @@ client.ats.regenerate_key.create(
-Returns a list of `RejectReason` objects. +Returns a list of `BankFeedTransaction` objects.
@@ -10922,7 +11227,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.reject_reasons.list( +response = client.accounting.bank_feed_transactions.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -10933,6 +11238,7 @@ client.ats.reject_reasons.list( include_deleted_data=True, include_remote_data=True, include_shell_data=True, + is_processed=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -10942,6 +11248,11 @@ client.ats.reject_reasons.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -10981,6 +11292,19 @@ client.ats.reject_reasons.list(
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["bank_feed_account"], + typing.Sequence[typing.Literal["bank_feed_account"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -11005,6 +11329,14 @@ client.ats.reject_reasons.list(
+**is_processed:** `typing.Optional[bool]` — If provided, will only return bank feed transactions with this is_processed value + +
+
+ +
+
+ **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -11021,7 +11353,7 @@ client.ats.reject_reasons.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -11049,7 +11381,7 @@ client.ats.reject_reasons.list(
-
client.ats.reject_reasons.retrieve(...) +
client.accounting.bank_feed_transactions.create(...)
@@ -11061,7 +11393,7 @@ client.ats.reject_reasons.list(
-Returns a `RejectReason` object with the given `id`. +Creates a `BankFeedTransaction` object with the given values.
@@ -11077,12 +11409,102 @@ Returns a `RejectReason` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import BankFeedTransactionRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.reject_reasons.retrieve( +client.accounting.bank_feed_transactions.create( + is_debug_mode=True, + run_async=True, + model=BankFeedTransactionRequestRequest(), +) + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**model:** `BankFeedTransactionRequestRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.accounting.bank_feed_transactions.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a `BankFeedTransaction` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.bank_feed_transactions.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -11110,6 +11532,19 @@ client.ats.reject_reasons.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["bank_feed_account"], + typing.Sequence[typing.Literal["bank_feed_account"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -11138,8 +11573,7 @@ client.ats.reject_reasons.retrieve(
-## Ats Scorecards -
client.ats.scorecards.list(...) +
client.accounting.bank_feed_transactions.meta_post_retrieve()
@@ -11151,7 +11585,69 @@ client.ats.reject_reasons.retrieve(
-Returns a list of `Scorecard` objects. +Returns metadata for `BankFeedTransaction` POSTs. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.bank_feed_transactions.meta_post_retrieve() + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Accounting CashFlowStatements +
client.accounting.cash_flow_statements.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `CashFlowStatement` objects.
@@ -11169,14 +11665,13 @@ Returns a list of `Scorecard` objects. import datetime from merge import Merge -from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.scorecards.list( - application_id="application_id", +response = client.accounting.cash_flow_statements.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -11184,12 +11679,9 @@ client.ats.scorecards.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, - interview_id="interview_id", - interviewer_id="interviewer_id", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -11199,6 +11691,11 @@ client.ats.scorecards.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -11214,7 +11711,7 @@ client.ats.scorecards.list(
-**application_id:** `typing.Optional[str]` — If provided, will only return scorecards for this application. +**company_id:** `typing.Optional[str]` — If provided, will only return cash flow statements for this company.
@@ -11246,7 +11743,11 @@ client.ats.scorecards.list(
-**expand:** `typing.Optional[ScorecardsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11278,22 +11779,6 @@ client.ats.scorecards.list(
-**interview_id:** `typing.Optional[str]` — If provided, will only return scorecards for this interview. - -
-
- -
-
- -**interviewer_id:** `typing.Optional[str]` — If provided, will only return scorecards for this interviewer. - -
-
- -
-
- **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -11310,15 +11795,7 @@ client.ats.scorecards.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -11334,14 +11811,6 @@ client.ats.scorecards.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11354,7 +11823,7 @@ client.ats.scorecards.list(
-
client.ats.scorecards.retrieve(...) +
client.accounting.cash_flow_statements.retrieve(...)
@@ -11366,7 +11835,7 @@ client.ats.scorecards.list(
-Returns a `Scorecard` object with the given `id`. +Returns a `CashFlowStatement` object with the given `id`.
@@ -11382,17 +11851,13 @@ Returns a `Scorecard` object with the given `id`. ```python from merge import Merge -from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.scorecards.retrieve( +client.accounting.cash_flow_statements.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) @@ -11419,7 +11884,11 @@ client.ats.scorecards.retrieve(
-**expand:** `typing.Optional[ScorecardsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11443,22 +11912,6 @@ client.ats.scorecards.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["overall_recommendation"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["overall_recommendation"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11471,8 +11924,8 @@ client.ats.scorecards.retrieve(
-## Ats SyncStatus -
client.ats.sync_status.list(...) +## Accounting CompanyInfo +
client.accounting.company_info.list(...)
@@ -11484,7 +11937,7 @@ client.ats.scorecards.retrieve(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a list of `CompanyInfo` objects.
@@ -11499,16 +11952,40 @@ Get sync status for the current sync and the most recently finished sync. `last_
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.sync_status.list( +response = client.accounting.company_info.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -11524,7 +12001,7 @@ client.ats.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -11532,7 +12009,7 @@ client.ats.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -11540,65 +12017,88 @@ client.ats.sync_status.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**expand:** `typing.Optional[ + typing.Union[ + CompanyInfoListRequestExpandItem, + typing.Sequence[CompanyInfoListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-
-## Ats ForceResync -
client.ats.force_resync.sync_status_resync_create()
-#### 📝 Description +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + -#### 🔌 Usage -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-```python -from merge import Merge +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ats.force_resync.sync_status_resync_create() +
+
-``` +**name:** `typing.Optional[str]` — If provided, will only return CompanyInfo objects with this name. +
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -11614,8 +12114,7 @@ client.ats.force_resync.sync_status_resync_create()
-## Ats Tags -
client.ats.tags.list(...) +
client.accounting.company_info.retrieve(...)
@@ -11627,7 +12126,7 @@ client.ats.force_resync.sync_status_resync_create()
-Returns a list of `Tag` objects. +Returns a `CompanyInfo` object with the given `id`.
@@ -11642,33 +12141,16 @@ Returns a list of `Tag` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.accounting.company_info.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) ``` @@ -11685,23 +12167,7 @@ client.ats.tags.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -11709,7 +12175,12 @@ client.ats.tags.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CompanyInfoRetrieveRequestExpandItem, + typing.Sequence[CompanyInfoRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11733,38 +12204,6 @@ client.ats.tags.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -11777,8 +12216,8 @@ client.ats.tags.list(
-## Ats Users -
client.ats.users.list(...) +## Accounting Contacts +
client.accounting.contacts.list(...)
@@ -11790,7 +12229,7 @@ client.ats.tags.list(
-Returns a list of `RemoteUser` objects. +Returns a list of `Contact` objects.
@@ -11808,12 +12247,16 @@ Returns a list of `RemoteUser` objects. import datetime from merge import Merge +from merge.resources.accounting.resources.contacts import ( + ContactsListRequestStatus, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.users.list( +response = client.accounting.contacts.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -11821,19 +12264,29 @@ client.ats.users.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", + email_address="email_address", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + is_customer="is_customer", + is_supplier="is_supplier", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", + status=ContactsListRequestStatus.EMPTY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -11849,6 +12302,14 @@ client.ats.users.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return contacts for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -11873,7 +12334,20 @@ client.ats.users.list(
-**email:** `typing.Optional[str]` — If provided, will only return remote users with the given email address +**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + ContactsListRequestExpandItem, + typing.Sequence[ContactsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -11897,6 +12371,14 @@ client.ats.users.list(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -11905,6 +12387,22 @@ client.ats.users.list(
+**is_customer:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as customers. + +
+
+ +
+
+ +**is_supplier:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as suppliers. + +
+
+ +
+
+ **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -11921,7 +12419,7 @@ client.ats.users.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**name:** `typing.Optional[str]` — If provided, will only return Contacts that match this name.
@@ -11929,7 +12427,15 @@ client.ats.users.list(
-**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -11945,7 +12451,15 @@ client.ats.users.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**status:** `typing.Optional[ContactsListRequestStatus]` — If provided, will only return Contacts that match this status.
@@ -11965,7 +12479,7 @@ client.ats.users.list(
-
client.ats.users.retrieve(...) +
client.accounting.contacts.create(...)
@@ -11977,7 +12491,7 @@ client.ats.users.list(
-Returns a `RemoteUser` object with the given `id`. +Creates a `Contact` object with the given values.
@@ -11993,14 +12507,105 @@ Returns a `RemoteUser` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.users.retrieve( +client.accounting.contacts.create( + is_debug_mode=True, + run_async=True, + model=ContactRequest(), +) + +``` + +
+ + + +#### ⚙️ Parameters + +
+
+ +
+
+ +**model:** `ContactRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +
client.accounting.contacts.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a `Contact` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.contacts.retrieve( id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, ) @@ -12026,6 +12631,19 @@ client.ats.users.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + ContactsRetrieveRequestExpandItem, + typing.Sequence[ContactsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -12034,6 +12652,14 @@ client.ats.users.retrieve(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -12042,7 +12668,7 @@ client.ats.users.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["access_role"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -12050,7 +12676,7 @@ client.ats.users.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["access_role"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12070,8 +12696,7 @@ client.ats.users.retrieve(
-## Ats WebhookReceivers -
client.ats.webhook_receivers.list() +
client.accounting.contacts.partial_update(...)
@@ -12083,7 +12708,7 @@ client.ats.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Updates a `Contact` object with the given `id`.
@@ -12099,12 +12724,18 @@ Returns a list of `WebhookReceiver` objects. ```python from merge import Merge +from merge.resources.accounting import PatchedContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.webhook_receivers.list() +client.accounting.contacts.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedContactRequest(), +) ``` @@ -12120,6 +12751,38 @@ client.ats.webhook_receivers.list()
+**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedContactRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -12132,7 +12795,7 @@ client.ats.webhook_receivers.list()
-
client.ats.webhook_receivers.create(...) +
client.accounting.contacts.meta_patch_retrieve(...)
@@ -12144,7 +12807,7 @@ client.ats.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns metadata for `Contact` PATCHs.
@@ -12165,9 +12828,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ats.webhook_receivers.create( - event="event", - is_active=True, +client.accounting.contacts.meta_patch_retrieve( + id="id", ) ``` @@ -12184,23 +12846,7 @@ client.ats.webhook_receivers.create(
-**event:** `str` - -
-
- -
-
- -**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` +**id:** `str`
@@ -12220,8 +12866,7 @@ client.ats.webhook_receivers.create(
-## Crm AccountDetails -
client.crm.account_details.retrieve() +
client.accounting.contacts.meta_post_retrieve()
@@ -12233,7 +12878,7 @@ client.ats.webhook_receivers.create(
-Get details for a linked account. +Returns metadata for `Contact` POSTs.
@@ -12254,7 +12899,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_details.retrieve() +client.accounting.contacts.meta_post_retrieve() ``` @@ -12282,8 +12927,7 @@ client.crm.account_details.retrieve()
-## Crm AccountToken -
client.crm.account_token.retrieve(...) +
client.accounting.contacts.remote_field_classes_list(...)
@@ -12295,7 +12939,7 @@ client.crm.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Returns a list of `RemoteFieldClass` objects.
@@ -12316,9 +12960,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.account_token.retrieve( - public_token="public_token", +response = client.accounting.contacts.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -12334,7 +12989,55 @@ client.crm.account_token.retrieve(
-**public_token:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -12354,8 +13057,8 @@ client.crm.account_token.retrieve(
-## Crm Accounts -
client.crm.accounts.list(...) +## Accounting CreditNotes +
client.accounting.credit_notes.list(...)
@@ -12367,7 +13070,7 @@ client.crm.account_token.retrieve(
-Returns a list of `Account` objects. +Returns a list of `CreditNote` objects.
@@ -12385,12 +13088,17 @@ Returns a list of `Account` objects. import datetime from merge import Merge +from merge.resources.accounting.resources.credit_notes import ( + CreditNotesListRequestRemoteFields, + CreditNotesListRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.list( +response = client.accounting.credit_notes.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -12400,7 +13108,6 @@ client.crm.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -12408,11 +13115,22 @@ client.crm.accounts.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", - owner_id="owner_id", page_size=1, + remote_fields=CreditNotesListRequestRemoteFields.STATUS, remote_id="remote_id", + show_enum_origins=CreditNotesListRequestShowEnumOrigins.STATUS, + transaction_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + transaction_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -12428,6 +13146,14 @@ client.crm.accounts.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -12452,7 +13178,12 @@ client.crm.accounts.list(
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CreditNotesListRequestExpandItem, + typing.Sequence[CreditNotesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12476,7 +13207,7 @@ client.crm.accounts.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -12484,7 +13215,7 @@ client.crm.accounts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -12492,7 +13223,7 @@ client.crm.accounts.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -12500,7 +13231,7 @@ client.crm.accounts.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -12508,7 +13239,7 @@ client.crm.accounts.list(
-**name:** `typing.Optional[str]` — If provided, will only return accounts with this name. +**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -12516,7 +13247,7 @@ client.crm.accounts.list(
-**owner_id:** `typing.Optional[str]` — If provided, will only return accounts with this owner. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -12524,7 +13255,7 @@ client.crm.accounts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[CreditNotesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12532,7 +13263,15 @@ client.crm.accounts.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -12552,7 +13291,7 @@ client.crm.accounts.list(
-
client.crm.accounts.create(...) +
client.accounting.credit_notes.create(...)
@@ -12564,7 +13303,7 @@ client.crm.accounts.list(
-Creates an `Account` object with the given values. +Creates a `CreditNote` object with the given values.
@@ -12580,16 +13319,16 @@ Creates an `Account` object with the given values. ```python from merge import Merge -from merge.resources.crm import AccountRequest +from merge.resources.accounting import CreditNoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.create( +client.accounting.credit_notes.create( is_debug_mode=True, run_async=True, - model=AccountRequest(), + model=CreditNoteRequest(), ) ``` @@ -12606,7 +13345,7 @@ client.crm.accounts.create(
-**model:** `AccountRequest` +**model:** `CreditNoteRequest`
@@ -12642,7 +13381,7 @@ client.crm.accounts.create(
-
client.crm.accounts.retrieve(...) +
client.accounting.credit_notes.retrieve(...)
@@ -12654,7 +13393,7 @@ client.crm.accounts.create(
-Returns an `Account` object with the given `id`. +Returns a `CreditNote` object with the given `id`.
@@ -12670,16 +13409,21 @@ Returns an `Account` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting.resources.credit_notes import ( + CreditNotesRetrieveRequestRemoteFields, + CreditNotesRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.retrieve( +client.accounting.credit_notes.retrieve( id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, + show_enum_origins=CreditNotesRetrieveRequestShowEnumOrigins.STATUS, ) ``` @@ -12704,7 +13448,12 @@ client.crm.accounts.retrieve(
-**expand:** `typing.Optional[typing.Literal["owner"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CreditNotesRetrieveRequestExpandItem, + typing.Sequence[CreditNotesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -12720,7 +13469,7 @@ client.crm.accounts.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -12728,7 +13477,15 @@ client.crm.accounts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[CreditNotesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[CreditNotesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -12748,7 +13505,7 @@ client.crm.accounts.retrieve(
-
client.crm.accounts.partial_update(...) +
client.accounting.credit_notes.partial_update(...)
@@ -12760,7 +13517,7 @@ client.crm.accounts.retrieve(
-Updates an `Account` object with the given `id`. +Updates a `CreditNote` object with the given `id`.
@@ -12776,17 +13533,17 @@ Updates an `Account` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedAccountRequest +from merge.resources.accounting import CreditNoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.partial_update( +client.accounting.credit_notes.partial_update( id="id", is_debug_mode=True, run_async=True, - model=PatchedAccountRequest(), + model=CreditNoteRequest(), ) ``` @@ -12811,7 +13568,7 @@ client.crm.accounts.partial_update(
-**model:** `PatchedAccountRequest` +**model:** `CreditNoteRequest`
@@ -12847,7 +13604,7 @@ client.crm.accounts.partial_update(
-
client.crm.accounts.meta_patch_retrieve(...) +
client.accounting.credit_notes.application_create(...)
@@ -12859,7 +13616,7 @@ client.crm.accounts.partial_update(
-Returns metadata for `CRMAccount` PATCHs. +Creates a new CreditNoteApplyLine to apply a credit note to an invoice
@@ -12874,14 +13631,22 @@ Returns metadata for `CRMAccount` PATCHs.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.meta_patch_retrieve( +client.accounting.credit_notes.application_create( id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + applied_amount="applied_amount", ) ``` @@ -12906,64 +13671,43 @@ client.crm.accounts.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**applied_date:** `dt.datetime` — Date that the credit note is applied to the invoice.
-
-
+
+
+**applied_amount:** `str` — The amount of credit applied to the invoice. +
-
-
client.crm.accounts.meta_post_retrieve()
-#### 📝 Description - -
-
+**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
-Returns metadata for `CRMAccount` POSTs. -
-
+**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.accounts.meta_post_retrieve() - -``` -
-
+**invoice:** `typing.Optional[str]` — The invoice to apply the credit note to. +
-#### ⚙️ Parameters - -
-
-
@@ -12979,7 +13723,7 @@ client.crm.accounts.meta_post_retrieve()
-
client.crm.accounts.remote_field_classes_list(...) +
client.accounting.credit_notes.meta_patch_retrieve(...)
@@ -12991,7 +13735,7 @@ client.crm.accounts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `CreditNote` PATCHs.
@@ -13012,15 +13756,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.accounts.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.credit_notes.meta_patch_retrieve( + id="id", ) ``` @@ -13037,7 +13774,7 @@ client.crm.accounts.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -13045,58 +13782,63 @@ client.crm.accounts.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.accounting.credit_notes.meta_post_retrieve()
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +Returns metadata for `CreditNote` POSTs. +
+
+#### 🔌 Usage +
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.credit_notes.meta_post_retrieve() + +```
+ + + +#### ⚙️ Parameters + +
+
@@ -13113,8 +13855,8 @@ client.crm.accounts.remote_field_classes_list(
-## Crm AsyncPassthrough -
client.crm.async_passthrough.create(...) +## Accounting Scopes +
client.accounting.scopes.default_scopes_retrieve()
@@ -13126,7 +13868,7 @@ client.crm.accounts.remote_field_classes_list(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -13142,18 +13884,12 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +client.accounting.scopes.default_scopes_retrieve() ``` @@ -13169,14 +13905,6 @@ client.crm.async_passthrough.create(
-**request:** `DataPassthroughRequest` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13189,7 +13917,7 @@ client.crm.async_passthrough.create(
-
client.crm.async_passthrough.retrieve(...) +
client.accounting.scopes.linked_account_scopes_retrieve()
@@ -13201,7 +13929,7 @@ client.crm.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -13222,9 +13950,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) +client.accounting.scopes.linked_account_scopes_retrieve() ``` @@ -13240,14 +13966,6 @@ client.crm.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13260,8 +13978,7 @@ client.crm.async_passthrough.retrieve(
-## Crm AuditTrail -
client.crm.audit_trail.list(...) +
client.accounting.scopes.linked_account_scopes_create(...)
@@ -13273,7 +13990,7 @@ client.crm.async_passthrough.retrieve(
-Gets a list of audit trail events. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -13289,18 +14006,42 @@ Gets a list of audit trail events. ```python from merge import Merge +from merge.resources.accounting import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.accounting.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -13317,47 +14058,7 @@ client.crm.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time - -
-
- -
-
- -**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -13377,8 +14078,8 @@ client.crm.audit_trail.list(
-## Crm AvailableActions -
client.crm.available_actions.retrieve() +## Accounting DeleteAccount +
client.accounting.delete_account.delete()
@@ -13390,7 +14091,7 @@ client.crm.audit_trail.list(
-Returns a list of models and actions available for an account. +Delete a linked account.
@@ -13411,7 +14112,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.available_actions.retrieve() +client.accounting.delete_account.delete() ``` @@ -13439,8 +14140,8 @@ client.crm.available_actions.retrieve()
-## Crm Contacts -
client.crm.contacts.list(...) +## Accounting Employees +
client.accounting.employees.list(...)
@@ -13452,7 +14153,7 @@ client.crm.available_actions.retrieve()
-Returns a list of `Contact` objects. +Returns a list of `Employee` objects.
@@ -13470,14 +14171,13 @@ Returns a list of `Contact` objects. import datetime from merge import Merge -from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.list( - account_id="account_id", +response = client.accounting.employees.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -13485,11 +14185,8 @@ client.crm.contacts.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -13498,9 +14195,13 @@ client.crm.contacts.list( "2024-01-15 09:30:00+00:00", ), page_size=1, - phone_numbers="phone_numbers", remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -13516,7 +14217,7 @@ client.crm.contacts.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account. +**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company.
@@ -13548,15 +14249,11 @@ client.crm.contacts.list(
-**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - -
-
- -
-
- -**expand:** `typing.Optional[ContactsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13580,14 +14277,6 @@ client.crm.contacts.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13612,15 +14301,7 @@ client.crm.contacts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -13648,7 +14329,7 @@ client.crm.contacts.list(
-
client.crm.contacts.create(...) +
client.accounting.employees.retrieve(...)
@@ -13660,7 +14341,7 @@ client.crm.contacts.list(
-Creates a `Contact` object with the given values. +Returns an `Employee` object with the given `id`.
@@ -13676,16 +14357,15 @@ Creates a `Contact` object with the given values. ```python from merge import Merge -from merge.resources.crm import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.create( - is_debug_mode=True, - run_async=True, - model=ContactRequest(), +client.accounting.employees.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -13702,7 +14382,7 @@ client.crm.contacts.create(
-**model:** `ContactRequest` +**id:** `str`
@@ -13710,7 +14390,11 @@ client.crm.contacts.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -13718,7 +14402,15 @@ client.crm.contacts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -13738,7 +14430,8 @@ client.crm.contacts.create(
-
client.crm.contacts.retrieve(...) +## Accounting ExpenseReports +
client.accounting.expense_reports.list(...)
@@ -13750,7 +14443,7 @@ client.crm.contacts.create(
-Returns a `Contact` object with the given `id`. +Returns a list of `ExpenseReport` objects.
@@ -13765,20 +14458,41 @@ Returns a `Contact` object with the given `id`.
```python +import datetime + from merge import Merge -from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.retrieve( - id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, +response = client.accounting.expense_reports.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -13794,7 +14508,15 @@ client.crm.contacts.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return expense reports for this company. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -13802,7 +14524,36 @@ client.crm.contacts.retrieve(
-**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + ExpenseReportsListRequestExpandItem, + typing.Sequence[ExpenseReportsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -13834,6 +14585,38 @@ client.crm.contacts.retrieve(
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -13846,7 +14629,7 @@ client.crm.contacts.retrieve(
-
client.crm.contacts.partial_update(...) +
client.accounting.expense_reports.create(...)
@@ -13858,7 +14641,7 @@ client.crm.contacts.retrieve(
-Updates a `Contact` object with the given `id`. +Creates an `ExpenseReport` object with the given values.
@@ -13874,17 +14657,21 @@ Updates a `Contact` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedContactRequest +from merge.resources.accounting import ExpenseReportRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.partial_update( - id="id", +client.accounting.expense_reports.create( is_debug_mode=True, run_async=True, - model=PatchedContactRequest(), + model=ExpenseReportRequest( + tracking_categories=[ + "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", + "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", + ], + ), ) ``` @@ -13901,15 +14688,7 @@ client.crm.contacts.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `PatchedContactRequest` +**model:** `ExpenseReportRequest`
@@ -13945,7 +14724,7 @@ client.crm.contacts.partial_update(
-
client.crm.contacts.ignore_create(...) +
client.accounting.expense_reports.lines_list(...)
@@ -13957,7 +14736,7 @@ client.crm.contacts.partial_update(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id.
@@ -13973,18 +14752,25 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.ignore_create( - model_id="model_id", - request=IgnoreCommonModelRequest( - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, - ), +response = client.accounting.expense_reports.lines_list( + expense_report_id="expense_report_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -14000,7 +14786,7 @@ client.crm.contacts.ignore_create(
-**model_id:** `str` +**expense_report_id:** `str`
@@ -14008,7 +14794,60 @@ client.crm.contacts.ignore_create(
-**request:** `IgnoreCommonModelRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + ExpenseReportsLinesListRequestExpandItem, + typing.Sequence[ExpenseReportsLinesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -14028,7 +14867,7 @@ client.crm.contacts.ignore_create(
-
client.crm.contacts.meta_patch_retrieve(...) +
client.accounting.expense_reports.retrieve(...)
@@ -14040,7 +14879,7 @@ client.crm.contacts.ignore_create(
-Returns metadata for `CRMContact` PATCHs. +Returns an `ExpenseReport` object with the given `id`.
@@ -14061,8 +14900,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.meta_patch_retrieve( +client.accounting.expense_reports.retrieve( id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -14087,64 +14929,40 @@ client.crm.contacts.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + ExpenseReportsRetrieveRequestExpandItem, + typing.Sequence[ExpenseReportsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - - -
-
client.crm.contacts.meta_post_retrieve()
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Returns metadata for `CRMContact` POSTs. -
-
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.contacts.meta_post_retrieve() - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
@@ -14160,7 +14978,7 @@ client.crm.contacts.meta_post_retrieve()
-
client.crm.contacts.remote_field_classes_list(...) +
client.accounting.expense_reports.lines_remote_field_classes_list(...)
@@ -14193,16 +15011,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.contacts.remote_field_classes_list( +response = client.accounting.expense_reports.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, is_common_model_field=True, is_custom=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -14242,14 +15064,6 @@ client.crm.contacts.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -14274,7 +15088,7 @@ client.crm.contacts.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -14294,8 +15108,7 @@ client.crm.contacts.remote_field_classes_list(
-## Crm CustomObjectClasses -
client.crm.custom_object_classes.list(...) +
client.accounting.expense_reports.meta_post_retrieve()
@@ -14307,7 +15120,7 @@ client.crm.contacts.remote_field_classes_list(
-Returns a list of `CustomObjectClass` objects. +Returns metadata for `ExpenseReport` POSTs.
@@ -14322,34 +15135,13 @@ Returns a list of `CustomObjectClass` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) +client.accounting.expense_reports.meta_post_retrieve() ```
@@ -14365,94 +15157,6 @@ client.crm.custom_object_classes.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14465,7 +15169,7 @@ client.crm.custom_object_classes.list(
-
client.crm.custom_object_classes.retrieve(...) +
client.accounting.expense_reports.remote_field_classes_list(...)
@@ -14477,7 +15181,7 @@ client.crm.custom_object_classes.list(
-Returns a `CustomObjectClass` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -14498,11 +15202,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_object_classes.retrieve( - id="id", +response = client.accounting.expense_reports.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -14518,7 +15231,7 @@ client.crm.custom_object_classes.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -14526,7 +15239,7 @@ client.crm.custom_object_classes.retrieve(
-**expand:** `typing.Optional[typing.Literal["fields"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -14550,6 +15263,30 @@ client.crm.custom_object_classes.retrieve(
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14562,8 +15299,8 @@ client.crm.custom_object_classes.retrieve(
-## Crm AssociationTypes -
client.crm.association_types.custom_object_classes_association_types_list(...) +## Accounting Expenses +
client.accounting.expenses.list(...)
@@ -14575,7 +15312,7 @@ client.crm.custom_object_classes.retrieve(
-Returns a list of `AssociationType` objects. +Returns a list of `Expense` objects.
@@ -14598,8 +15335,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_list( - custom_object_class_id="custom_object_class_id", +response = client.accounting.expenses.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -14609,6 +15346,7 @@ client.crm.association_types.custom_object_classes_association_types_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -14618,7 +15356,18 @@ client.crm.association_types.custom_object_classes_association_types_list( ), page_size=1, remote_id="remote_id", + transaction_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + transaction_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -14634,7 +15383,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**custom_object_class_id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return expenses for this company.
@@ -14666,7 +15415,12 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**expand:** `typing.Optional[typing.Literal["target_object_classes"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + ExpensesListRequestExpandItem, + typing.Sequence[ExpensesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -14690,6 +15444,14 @@ client.crm.association_types.custom_object_classes_association_types_list(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -14714,7 +15476,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -14730,6 +15492,22 @@ client.crm.association_types.custom_object_classes_association_types_list(
+**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -14742,7 +15520,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-
client.crm.association_types.custom_object_classes_association_types_create(...) +
client.accounting.expenses.create(...)
@@ -14754,7 +15532,7 @@ client.crm.association_types.custom_object_classes_association_types_list(
-Creates an `AssociationType` object with the given values. +Creates an `Expense` object with the given values.
@@ -14770,33 +15548,16 @@ Creates an `AssociationType` object with the given values. ```python from merge import Merge -from merge.resources.crm import ( - AssociationTypeRequestRequest, - ObjectClassDescriptionRequest, - OriginTypeEnum, -) +from merge.resources.accounting import ExpenseRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_create( - custom_object_class_id="custom_object_class_id", +client.accounting.expenses.create( is_debug_mode=True, run_async=True, - model=AssociationTypeRequestRequest( - source_object_class=ObjectClassDescriptionRequest( - id="id", - origin_type=OriginTypeEnum.CUSTOM_OBJECT, - ), - target_object_classes=[ - ObjectClassDescriptionRequest( - id="id", - origin_type=OriginTypeEnum.CUSTOM_OBJECT, - ) - ], - remote_key_name="remote_key_name", - ), + model=ExpenseRequest(), ) ``` @@ -14813,15 +15574,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-**custom_object_class_id:** `str` - -
-
- -
-
- -**model:** `AssociationTypeRequestRequest` +**model:** `ExpenseRequest`
@@ -14857,7 +15610,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-
client.crm.association_types.custom_object_classes_association_types_retrieve(...) +
client.accounting.expenses.retrieve(...)
@@ -14869,7 +15622,7 @@ client.crm.association_types.custom_object_classes_association_types_create(
-Returns an `AssociationType` object with the given `id`. +Returns an `Expense` object with the given `id`.
@@ -14890,10 +15643,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.expenses.retrieve( id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, ) @@ -14911,7 +15664,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**custom_object_class_id:** `str` +**id:** `str`
@@ -14919,7 +15672,12 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**id:** `str` +**expand:** `typing.Optional[ + typing.Union[ + ExpensesRetrieveRequestExpandItem, + typing.Sequence[ExpensesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -14927,7 +15685,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**expand:** `typing.Optional[typing.Literal["target_object_classes"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -14935,7 +15693,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -14963,7 +15721,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...) +
client.accounting.expenses.bulk_create(...)
@@ -14975,7 +15733,7 @@ client.crm.association_types.custom_object_classes_association_types_retrieve(
-Returns metadata for `CRMAssociationType` POSTs. +Creates multiple `Expense` objects with the given values.
@@ -14991,13 +15749,19 @@ Returns metadata for `CRMAssociationType` POSTs. ```python from merge import Merge +from merge.resources.accounting import ExpenseBatchItemRequest, ExpenseRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.expenses.bulk_create( + batch_items=[ + ExpenseBatchItemRequest( + item_id="item_id", + payload=ExpenseRequest(), + ) + ], ) ``` @@ -15014,7 +15778,7 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-**custom_object_class_id:** `str` +**batch_items:** `typing.Sequence[ExpenseBatchItemRequest]`
@@ -15034,8 +15798,7 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-## Crm CustomObjects -
client.crm.custom_objects.custom_object_classes_custom_objects_list(...) +
client.accounting.expenses.bulk_retrieve(...)
@@ -15047,7 +15810,7 @@ client.crm.association_types.custom_object_classes_association_types_meta_post_r
-Returns a list of `CustomObject` objects. +Returns the status and results of an `Expense` bulk create batch.
@@ -15062,35 +15825,14 @@ Returns a list of `CustomObject` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_list( - custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.accounting.expenses.bulk_retrieve( + batch_id="batch_id", ) ``` @@ -15107,7 +15849,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**custom_object_class_id:** `str` +**batch_id:** `str`
@@ -15115,39 +15857,81 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+
client.accounting.expenses.lines_remote_field_classes_list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.expenses.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15155,7 +15939,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -15163,7 +15947,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -15171,7 +15955,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -15179,7 +15963,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -15187,7 +15971,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -15195,7 +15979,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -15215,7 +15999,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-
client.crm.custom_objects.custom_object_classes_custom_objects_create(...) +
client.accounting.expenses.meta_post_retrieve()
@@ -15227,7 +16011,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_list(
-Creates a `CustomObject` object with the given values. +Returns metadata for `Expense` POSTs.
@@ -15243,20 +16027,12 @@ Creates a `CustomObject` object with the given values. ```python from merge import Merge -from merge.resources.crm import CustomObjectRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_create( - custom_object_class_id="custom_object_class_id", - is_debug_mode=True, - run_async=True, - model=CustomObjectRequest( - fields={"test_field": "hello"}, - ), -) +client.accounting.expenses.meta_post_retrieve() ``` @@ -15272,38 +16048,6 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-**custom_object_class_id:** `str` - -
-
- -
-
- -**model:** `CustomObjectRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -15316,7 +16060,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...) +
client.accounting.expenses.remote_field_classes_list(...)
@@ -15328,7 +16072,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_create(
-Returns a `CustomObject` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -15349,13 +16093,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( - custom_object_class_id="custom_object_class_id", - id="id", +response = client.accounting.expenses.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -15371,7 +16122,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**custom_object_class_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -15379,7 +16130,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**id:** `str` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -15395,7 +16146,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -15403,7 +16154,23 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -15423,7 +16190,8 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...) +## Accounting FieldMapping +
client.accounting.field_mapping.field_mappings_retrieve(...)
@@ -15435,7 +16203,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(
-Returns metadata for `CRMCustomObject` POSTs. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -15456,8 +16224,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve( - custom_object_class_id="custom_object_class_id", +client.accounting.field_mapping.field_mappings_retrieve( + exclude_remote_field_metadata=True, ) ``` @@ -15474,7 +16242,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-**custom_object_class_id:** `str` +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -15494,7 +16262,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-
client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list(...) +
client.accounting.field_mapping.field_mappings_create(...)
@@ -15506,7 +16274,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retriev
-Returns a list of `RemoteFieldClass` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -15527,15 +16295,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.field_mapping.field_mappings_create( + exclude_remote_field_metadata=True, + remote_data_iteration_count=1, + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -15552,7 +16320,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -15560,7 +16328,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -15568,7 +16336,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -15576,7 +16344,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -15584,7 +16352,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -15592,7 +16360,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -15600,7 +16368,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -15608,7 +16376,23 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+ +
+
+ +**jmes_path:** `typing.Optional[str]` — DEPRECATED: Use 'advanced_mapping_expression' instead. + +
+
+ +
+
+ +**advanced_mapping_expression:** `typing.Optional[str]` — A JSONata expression used to transform the remote field data.
@@ -15628,8 +16412,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-## Crm Associations -
client.crm.associations.custom_object_classes_custom_objects_associations_list(...) +
client.accounting.field_mapping.field_mappings_destroy(...)
@@ -15641,7 +16424,7 @@ client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_clas
-Returns a list of `Association` objects. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -15656,36 +16439,14 @@ Returns a list of `Association` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.associations.custom_object_classes_custom_objects_associations_list( - custom_object_class_id="custom_object_class_id", - object_id="object_id", - association_type_id="association_type_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.accounting.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -15702,7 +16463,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**custom_object_class_id:** `str` +**field_mapping_id:** `str`
@@ -15710,55 +16471,71 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**object_id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type. -
+
+
client.accounting.field_mapping.field_mappings_partial_update(...)
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
+#### 📝 Description
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
+ + + +#### 🔌 Usage
-**expand:** `typing.Optional[typing.Literal["association_type"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, +) + +```
+
+
+ +#### ⚙️ Parameters
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
+
+ +**field_mapping_id:** `str`
@@ -15766,7 +16543,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided.
@@ -15774,7 +16551,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -15782,7 +16559,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -15790,7 +16567,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -15798,7 +16575,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**jmes_path:** `typing.Optional[str]` — DEPRECATED: Use 'advanced_mapping_expression' instead.
@@ -15806,7 +16583,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**advanced_mapping_expression:** `typing.Optional[str]` — A JSONata expression used to transform the remote field data.
@@ -15826,7 +16603,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-
client.crm.associations.custom_object_classes_custom_objects_associations_update(...) +
client.accounting.field_mapping.remote_fields_retrieve(...)
@@ -15838,7 +16615,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_list(
-Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -15859,14 +16636,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.associations.custom_object_classes_custom_objects_associations_update( - source_class_id="source_class_id", - source_object_id="source_object_id", - target_class_id="target_class_id", - target_object_id="target_object_id", - association_type_id="association_type_id", - is_debug_mode=True, - run_async=True, +client.accounting.field_mapping.remote_fields_retrieve( + common_models="common_models", + include_example_values="include_example_values", ) ``` @@ -15883,47 +16655,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**source_class_id:** `str` - -
-
- -
-
- -**source_object_id:** `str` - -
-
- -
-
- -**target_class_id:** `str` - -
-
- -
-
- -**target_object_id:** `str` - -
-
- -
-
- -**association_type_id:** `str` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -15931,7 +16663,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -15951,8 +16683,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-## Crm Scopes -
client.crm.scopes.default_scopes_retrieve() +
client.accounting.field_mapping.target_fields_retrieve()
@@ -15964,7 +16695,7 @@ client.crm.associations.custom_object_classes_custom_objects_associations_update
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -15985,7 +16716,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.default_scopes_retrieve() +client.accounting.field_mapping.target_fields_retrieve() ``` @@ -16013,7 +16744,8 @@ client.crm.scopes.default_scopes_retrieve()
-
client.crm.scopes.linked_account_scopes_retrieve() +## Accounting GeneralLedgerTransactions +
client.accounting.general_ledger_transactions.list(...)
@@ -16025,7 +16757,7 @@ client.crm.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `GeneralLedgerTransaction` objects.
@@ -16040,13 +16772,46 @@ Get all available permissions for Merge Common Models and fields for a single Li
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.linked_account_scopes_retrieve() +response = client.accounting.general_ledger_transactions.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + posted_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + posted_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_id="remote_id", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -16062,6 +16827,123 @@ client.crm.scopes.linked_account_scopes_retrieve()
+**company_id:** `typing.Optional[str]` — If provided, will only return general ledger transactions for this company. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. + +
+
+ +
+
+ +**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16074,7 +16956,7 @@ client.crm.scopes.linked_account_scopes_retrieve()
-
client.crm.scopes.linked_account_scopes_create(...) +
client.accounting.general_ledger_transactions.retrieve(...)
@@ -16086,7 +16968,7 @@ client.crm.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns a `GeneralLedgerTransaction` object with the given `id`.
@@ -16102,42 +16984,15 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.crm import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +client.accounting.general_ledger_transactions.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -16154,7 +17009,36 @@ client.crm.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -16174,8 +17058,8 @@ client.crm.scopes.linked_account_scopes_create(
-## Crm DeleteAccount -
client.crm.delete_account.delete() +## Accounting GenerateKey +
client.accounting.generate_key.create(...)
@@ -16187,7 +17071,7 @@ client.crm.scopes.linked_account_scopes_create(
-Delete a linked account. +Create a remote key.
@@ -16208,7 +17092,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.delete_account.delete() +client.accounting.generate_key.create( + name="Remote Deployment Key 1", +) ``` @@ -16224,6 +17110,14 @@ client.crm.delete_account.delete()
+**name:** `str` — The name of the remote key + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -16236,8 +17130,8 @@ client.crm.delete_account.delete()
-## Crm EngagementTypes -
client.crm.engagement_types.list(...) +## Accounting IncomeStatements +
client.accounting.income_statements.list(...)
@@ -16249,7 +17143,7 @@ client.crm.delete_account.delete()
-Returns a list of `EngagementType` objects. +Returns a list of `IncomeStatement` objects.
@@ -16272,7 +17166,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.list( +response = client.accounting.income_statements.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -16282,7 +17177,6 @@ client.crm.engagement_types.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -16293,6 +17187,11 @@ client.crm.engagement_types.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -16308,6 +17207,14 @@ client.crm.engagement_types.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16332,7 +17239,11 @@ client.crm.engagement_types.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -16340,7 +17251,7 @@ client.crm.engagement_types.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -16348,7 +17259,7 @@ client.crm.engagement_types.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -16380,7 +17291,7 @@ client.crm.engagement_types.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -16408,7 +17319,7 @@ client.crm.engagement_types.list(
-
client.crm.engagement_types.retrieve(...) +
client.accounting.income_statements.retrieve(...)
@@ -16420,7 +17331,7 @@ client.crm.engagement_types.list(
-Returns an `EngagementType` object with the given `id`. +Returns an `IncomeStatement` object with the given `id`.
@@ -16441,10 +17352,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.retrieve( +client.accounting.income_statements.retrieve( id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -16470,7 +17380,11 @@ client.crm.engagement_types.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -16478,7 +17392,7 @@ client.crm.engagement_types.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -16506,7 +17420,8 @@ client.crm.engagement_types.retrieve(
-
client.crm.engagement_types.remote_field_classes_list(...) +## Accounting Invoices +
client.accounting.invoices.list(...)
@@ -16518,7 +17433,7 @@ client.crm.engagement_types.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Invoice` objects.
@@ -16533,22 +17448,55 @@ Returns a list of `RemoteFieldClass` objects.
```python +import datetime + from merge import Merge +from merge.resources.accounting.resources.invoices import ( + InvoicesListRequestStatus, + InvoicesListRequestType, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagement_types.remote_field_classes_list( +response = client.accounting.invoices.list( + company_id="company_id", + contact_id="contact_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, + issue_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + issue_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + number="number", page_size=1, + remote_id="remote_id", + status=InvoicesListRequestStatus.DRAFT, + type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -16564,7 +17512,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**company_id:** `typing.Optional[str]` — If provided, will only return invoices for this company.
@@ -16572,7 +17520,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**contact_id:** `typing.Optional[str]` — If provided, will only return invoices for this contact.
@@ -16580,7 +17528,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16588,7 +17536,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -16596,7 +17544,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -16604,7 +17552,12 @@ client.crm.engagement_types.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**expand:** `typing.Optional[ + typing.Union[ + InvoicesListRequestExpandItem, + typing.Sequence[InvoicesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -16612,7 +17565,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -16620,7 +17573,7 @@ client.crm.engagement_types.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -16628,101 +17581,15 @@ client.crm.engagement_types.remote_field_classes_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- -
- - - - -
-## Crm Engagements -
client.crm.engagements.list(...)
-#### 📝 Description - -
-
- -
-
- -Returns a list of `Engagement` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.engagements.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -16730,7 +17597,7 @@ client.crm.engagements.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -16738,7 +17605,7 @@ client.crm.engagements.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -16746,7 +17613,7 @@ client.crm.engagements.list(
-**expand:** `typing.Optional[EngagementsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -16754,7 +17621,7 @@ client.crm.engagements.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -16762,7 +17629,7 @@ client.crm.engagements.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number.
@@ -16770,7 +17637,7 @@ client.crm.engagements.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -16778,7 +17645,7 @@ client.crm.engagements.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins.
@@ -16786,7 +17653,7 @@ client.crm.engagements.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -16794,7 +17661,7 @@ client.crm.engagements.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -16802,15 +17669,16 @@ client.crm.engagements.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
+**status:** `typing.Optional[InvoicesListRequestStatus]` -
-
+If provided, will only return Invoices with this status. -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +* `PAID` - PAID +* `DRAFT` - DRAFT +* `SUBMITTED` - SUBMITTED +* `PARTIALLY_PAID` - PARTIALLY_PAID +* `OPEN` - OPEN +* `VOID` - VOID
@@ -16818,15 +17686,12 @@ client.crm.engagements.list(
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime. - -
-
+**type:** `typing.Optional[InvoicesListRequestType]` -
-
+If provided, will only return Invoices with this type. -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime. +* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE +* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE
@@ -16846,7 +17711,7 @@ client.crm.engagements.list(
-
client.crm.engagements.create(...) +
client.accounting.invoices.create(...)
@@ -16858,7 +17723,9 @@ client.crm.engagements.list(
-Creates an `Engagement` object with the given values. +Creates an `Invoice` object with the given values. + Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). +
@@ -16874,16 +17741,16 @@ Creates an `Engagement` object with the given values. ```python from merge import Merge -from merge.resources.crm import EngagementRequest +from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.create( +client.accounting.invoices.create( is_debug_mode=True, run_async=True, - model=EngagementRequest(), + model=InvoiceRequest(), ) ``` @@ -16900,7 +17767,7 @@ client.crm.engagements.create(
-**model:** `EngagementRequest` +**model:** `InvoiceRequest`
@@ -16936,7 +17803,7 @@ client.crm.engagements.create(
-
client.crm.engagements.retrieve(...) +
client.accounting.invoices.retrieve(...)
@@ -16948,7 +17815,7 @@ client.crm.engagements.create(
-Returns an `Engagement` object with the given `id`. +Returns an `Invoice` object with the given `id`.
@@ -16964,17 +17831,13 @@ Returns an `Engagement` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.retrieve( +client.accounting.invoices.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -17002,7 +17865,12 @@ client.crm.engagements.retrieve(
-**expand:** `typing.Optional[EngagementsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + InvoicesRetrieveRequestExpandItem, + typing.Sequence[InvoicesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -17034,90 +17902,7 @@ client.crm.engagements.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- -
- - - - -
- -
client.crm.engagements.partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Updates an `Engagement` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.crm import PatchedEngagementRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.engagements.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedEngagementRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**model:** `PatchedEngagementRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins.
@@ -17125,7 +17910,7 @@ client.crm.engagements.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -17145,7 +17930,7 @@ client.crm.engagements.partial_update(
-
client.crm.engagements.meta_patch_retrieve(...) +
client.accounting.invoices.partial_update(...)
@@ -17157,7 +17942,7 @@ client.crm.engagements.partial_update(
-Returns metadata for `Engagement` PATCHs. +Updates an `Invoice` object with the given `id`.
@@ -17173,13 +17958,17 @@ Returns metadata for `Engagement` PATCHs. ```python from merge import Merge +from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.meta_patch_retrieve( +client.accounting.invoices.partial_update( id="id", + is_debug_mode=True, + run_async=True, + model=InvoiceRequest(), ) ``` @@ -17204,64 +17993,27 @@ client.crm.engagements.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**model:** `InvoiceRequest`
- -
- - - - -
- -
client.crm.engagements.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
-Returns metadata for `Engagement` POSTs. -
-
+**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.engagements.meta_post_retrieve() - -``` -
-
+**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +
-#### ⚙️ Parameters - -
-
-
@@ -17277,7 +18029,7 @@ client.crm.engagements.meta_post_retrieve()
-
client.crm.engagements.remote_field_classes_list(...) +
client.accounting.invoices.bulk_create(...)
@@ -17289,7 +18041,7 @@ client.crm.engagements.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Creates multiple `Invoice` objects with the given values.
@@ -17305,20 +18057,19 @@ Returns a list of `RemoteFieldClass` objects. ```python from merge import Merge +from merge.resources.accounting import InvoiceBatchItemRequest, InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.engagements.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.invoices.bulk_create( + batch_items=[ + InvoiceBatchItemRequest( + item_id="item_id", + payload=InvoiceRequest(), + ) + ], ) ``` @@ -17335,63 +18086,7 @@ client.crm.engagements.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. +**batch_items:** `typing.Sequence[InvoiceBatchItemRequest]`
@@ -17411,8 +18106,7 @@ client.crm.engagements.remote_field_classes_list(
-## Crm FieldMapping -
client.crm.field_mapping.field_mappings_retrieve(...) +
client.accounting.invoices.bulk_retrieve(...)
@@ -17424,7 +18118,7 @@ client.crm.engagements.remote_field_classes_list(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns the status and results of an `Invoice` bulk create batch.
@@ -17445,8 +18139,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.accounting.invoices.bulk_retrieve( + batch_id="batch_id", ) ``` @@ -17463,7 +18157,7 @@ client.crm.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**batch_id:** `str`
@@ -17483,7 +18177,7 @@ client.crm.field_mapping.field_mappings_retrieve(
-
client.crm.field_mapping.field_mappings_create(...) +
client.accounting.invoices.line_items_remote_field_classes_list(...)
@@ -17495,7 +18189,7 @@ client.crm.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `RemoteFieldClass` objects.
@@ -17516,15 +18210,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.accounting.invoices.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17540,7 +18239,7 @@ client.crm.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17548,7 +18247,7 @@ client.crm.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17556,7 +18255,7 @@ client.crm.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -17564,7 +18263,7 @@ client.crm.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -17572,7 +18271,7 @@ client.crm.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -17580,7 +18279,7 @@ client.crm.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -17588,7 +18287,7 @@ client.crm.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -17608,7 +18307,7 @@ client.crm.field_mapping.field_mappings_create(
-
client.crm.field_mapping.field_mappings_destroy(...) +
client.accounting.invoices.meta_patch_retrieve(...)
@@ -17620,7 +18319,7 @@ client.crm.field_mapping.field_mappings_create(
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns metadata for `Invoice` PATCHs.
@@ -17641,8 +18340,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", +client.accounting.invoices.meta_patch_retrieve( + id="id", ) ``` @@ -17659,7 +18358,7 @@ client.crm.field_mapping.field_mappings_destroy(
-**field_mapping_id:** `str` +**id:** `str`
@@ -17679,7 +18378,7 @@ client.crm.field_mapping.field_mappings_destroy(
-
client.crm.field_mapping.field_mappings_partial_update(...) +
client.accounting.invoices.meta_post_retrieve()
@@ -17691,7 +18390,7 @@ client.crm.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns metadata for `Invoice` POSTs.
@@ -17712,9 +18411,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) +client.accounting.invoices.meta_post_retrieve() ``` @@ -17730,38 +18427,6 @@ client.crm.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -17774,7 +18439,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-
client.crm.field_mapping.remote_fields_retrieve(...) +
client.accounting.invoices.remote_field_classes_list(...)
@@ -17786,7 +18451,7 @@ client.crm.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a list of `RemoteFieldClass` objects.
@@ -17807,10 +18472,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +response = client.accounting.invoices.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -17826,7 +18501,7 @@ client.crm.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -17834,7 +18509,7 @@ client.crm.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -17842,132 +18517,39 @@ client.crm.field_mapping.remote_fields_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
- - - - -
- -
client.crm.field_mapping.target_fields_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.field_mapping.target_fields_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
-
-
- - -
-
-
- -## Crm GenerateKey -
client.crm.generate_key.create(...) -
-
- -#### 📝 Description
-
-
- -Create a remote key. -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +
-#### ⚙️ Parameters -
-
-
- -**name:** `str` — The name of the remote key +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -17987,8 +18569,8 @@ client.crm.generate_key.create(
-## Crm Issues -
client.crm.issues.list(...) +## Accounting Issues +
client.accounting.issues.list(...)
@@ -18018,13 +18600,13 @@ Gets all issues for Organization. import datetime from merge import Merge -from merge.resources.crm.resources.issues import IssuesListRequestStatus +from merge.resources.accounting.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.issues.list( +response = client.accounting.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -18048,6 +18630,11 @@ client.crm.issues.list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -18151,7 +18738,7 @@ client.crm.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -18192,7 +18779,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.crm.issues.retrieve(...) +
client.accounting.issues.retrieve(...)
@@ -18225,7 +18812,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.issues.retrieve( +client.accounting.issues.retrieve( id="id", ) @@ -18263,8 +18850,8 @@ client.crm.issues.retrieve(
-## Crm Leads -
client.crm.leads.list(...) +## Accounting ItemFulfillments +
client.accounting.item_fulfillments.list(...)
@@ -18276,7 +18863,7 @@ client.crm.issues.retrieve(
-Returns a list of `Lead` objects. +Returns a list of `ItemFulfillment` objects.
@@ -18291,42 +18878,25 @@ Returns a list of `Lead` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.leads import LeadsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.list( - converted_account_id="converted_account_id", - converted_contact_id="converted_contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.item_fulfillments.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", page_size=1, - phone_numbers="phone_numbers", - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -18342,7 +18912,7 @@ client.crm.leads.list(
-**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -18350,7 +18920,12 @@ client.crm.leads.list(
-**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact. +**expand:** `typing.Optional[ + typing.Union[ + ItemFulfillmentsListRequestExpandItem, + typing.Sequence[ItemFulfillmentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -18358,7 +18933,7 @@ client.crm.leads.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -18366,7 +18941,7 @@ client.crm.leads.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -18374,7 +18949,7 @@ client.crm.leads.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -18382,7 +18957,7 @@ client.crm.leads.list(
-**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18390,7 +18965,7 @@ client.crm.leads.list(
-**expand:** `typing.Optional[LeadsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -18398,7 +18973,7 @@ client.crm.leads.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -18406,7 +18981,7 @@ client.crm.leads.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -18414,15 +18989,73 @@ client.crm.leads.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.accounting.item_fulfillments.create(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +#### 📝 Description + +
+
+ +
+
+ +Creates an `ItemFulfillment` object with the given values. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.accounting import ItemFulfillmentRequestRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.item_fulfillments.create( + is_debug_mode=True, + run_async=True, + model=ItemFulfillmentRequestRequest(), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**model:** `ItemFulfillmentRequestRequest`
@@ -18430,7 +19063,7 @@ client.crm.leads.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -18438,7 +19071,7 @@ client.crm.leads.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -18446,15 +19079,73 @@ client.crm.leads.list(
-**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +
client.accounting.item_fulfillments.retrieve(...)
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +#### 📝 Description + +
+
+ +
+
+ +Returns an `ItemFulfillment` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.item_fulfillments.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str`
@@ -18462,7 +19153,12 @@ client.crm.leads.list(
-**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. +**expand:** `typing.Optional[ + typing.Union[ + ItemFulfillmentsRetrieveRequestExpandItem, + typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -18470,7 +19166,39 @@ client.crm.leads.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -18490,7 +19218,7 @@ client.crm.leads.list(
-
client.crm.leads.create(...) +
client.accounting.item_fulfillments.bulk_create(...)
@@ -18502,7 +19230,7 @@ client.crm.leads.list(
-Creates a `Lead` object with the given values. +Creates multiple `ItemFulfillment` objects with the given values.
@@ -18518,16 +19246,22 @@ Creates a `Lead` object with the given values. ```python from merge import Merge -from merge.resources.crm import LeadRequest +from merge.resources.accounting import ( + ItemFulfillmentBatchItemRequest, + ItemFulfillmentRequestRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.create( - is_debug_mode=True, - run_async=True, - model=LeadRequest(), +client.accounting.item_fulfillments.bulk_create( + batch_items=[ + ItemFulfillmentBatchItemRequest( + item_id="item_id", + payload=ItemFulfillmentRequestRequest(), + ) + ], ) ``` @@ -18544,7 +19278,7 @@ client.crm.leads.create(
-**model:** `LeadRequest` +**batch_items:** `typing.Sequence[ItemFulfillmentBatchItemRequest]`
@@ -18552,15 +19286,70 @@ client.crm.leads.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+
client.accounting.item_fulfillments.bulk_retrieve(...)
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +#### 📝 Description + +
+
+ +
+
+ +Returns the status and results of an `ItemFulfillment` bulk create batch. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.item_fulfillments.bulk_retrieve( + batch_id="batch_id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**batch_id:** `str`
@@ -18580,7 +19369,7 @@ client.crm.leads.create(
-
client.crm.leads.retrieve(...) +
client.accounting.item_fulfillments.lines_remote_field_classes_list(...)
@@ -18592,7 +19381,7 @@ client.crm.leads.create(
-Returns a `Lead` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -18608,19 +19397,25 @@ Returns a `Lead` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.retrieve( - id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, +response = client.accounting.item_fulfillments.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -18636,7 +19431,7 @@ client.crm.leads.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -18644,7 +19439,7 @@ client.crm.leads.retrieve(
-**expand:** `typing.Optional[LeadsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -18660,7 +19455,7 @@ client.crm.leads.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18668,7 +19463,23 @@ client.crm.leads.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -18688,7 +19499,7 @@ client.crm.leads.retrieve(
-
client.crm.leads.meta_post_retrieve() +
client.accounting.item_fulfillments.meta_post_retrieve()
@@ -18700,7 +19511,7 @@ client.crm.leads.retrieve(
-Returns metadata for `Lead` POSTs. +Returns metadata for `ItemFulfillment` POSTs.
@@ -18721,7 +19532,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.meta_post_retrieve() +client.accounting.item_fulfillments.meta_post_retrieve() ``` @@ -18749,7 +19560,7 @@ client.crm.leads.meta_post_retrieve()
-
client.crm.leads.remote_field_classes_list(...) +
client.accounting.item_fulfillments.remote_field_classes_list(...)
@@ -18782,16 +19593,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.leads.remote_field_classes_list( +response = client.accounting.item_fulfillments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, is_common_model_field=True, is_custom=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -18831,14 +19646,6 @@ client.crm.leads.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -18863,7 +19670,7 @@ client.crm.leads.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -18883,8 +19690,8 @@ client.crm.leads.remote_field_classes_list(
-## Crm LinkToken -
client.crm.link_token.create(...) +## Accounting Items +
client.accounting.items.list(...)
@@ -18896,7 +19703,7 @@ client.crm.leads.remote_field_classes_list(
-Creates a link token to be used when linking a new end user. +Returns a list of `Item` objects.
@@ -18911,19 +19718,41 @@ Creates a link token to be used when linking a new end user.
```python +import datetime + from merge import Merge -from merge.resources.crm import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.accounting.items.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -18939,7 +19768,7 @@ client.crm.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**company_id:** `typing.Optional[str]` — If provided, will only return items for this company.
@@ -18947,7 +19776,7 @@ client.crm.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -18955,7 +19784,7 @@ client.crm.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -18963,7 +19792,7 @@ client.crm.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -18971,7 +19800,11 @@ client.crm.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**expand:** `typing.Optional[ + typing.Union[ + ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -18979,7 +19812,7 @@ client.crm.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -18987,7 +19820,7 @@ client.crm.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -18995,7 +19828,7 @@ client.crm.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19003,7 +19836,7 @@ client.crm.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -19011,14 +19844,7 @@ client.crm.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -19026,12 +19852,15 @@ client.crm.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` +**name:** `typing.Optional[str]` — If provided, will only return items with this name. + +
+
-The following subset of IETF language tags can be used to configure localization. +
+
-* `en` - en -* `de` - de +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -19039,7 +19868,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -19047,7 +19876,15 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -19067,8 +19904,7 @@ The following subset of IETF language tags can be used to configure localization
-## Crm LinkedAccounts -
client.crm.linked_accounts.list(...) +
client.accounting.items.create(...)
@@ -19080,7 +19916,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Creates an `Item` object with the given values.
@@ -19096,28 +19932,16 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.crm.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) +from merge.resources.accounting import ItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", +client.accounting.items.create( + is_debug_mode=True, + run_async=True, + model=ItemRequestRequest(), ) ``` @@ -19134,17 +19958,7 @@ client.crm.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**model:** `ItemRequestRequest`
@@ -19152,7 +19966,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -19160,7 +19974,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -19168,39 +19982,72 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. -
+
+
client.accounting.items.retrieve(...)
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - +#### 📝 Description + +
+
+ +
+
+ +Returns an `Item` object with the given `id`.
+
+
+ +#### 🔌 Usage
-**id:** `typing.Optional[str]` - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.items.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +
+
+ +**id:** `str`
@@ -19208,7 +20055,12 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**expand:** `typing.Optional[ + typing.Union[ + ItemsRetrieveRequestExpandItem, + typing.Sequence[ItemsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19216,7 +20068,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -19224,7 +20076,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19232,7 +20084,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -19240,7 +20092,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -19260,8 +20112,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Crm Notes -
client.crm.notes.list(...) +
client.accounting.items.partial_update(...)
@@ -19273,7 +20124,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Note` objects. +Updates an `Item` object with the given `id`.
@@ -19288,40 +20139,18 @@ Returns a list of `Note` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.notes import NotesListRequestExpand +from merge.resources.accounting import PatchedItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.list( - account_id="account_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - opportunity_id="opportunity_id", - owner_id="owner_id", - page_size=1, - remote_id="remote_id", +client.accounting.items.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedItemRequestRequest(), ) ``` @@ -19338,7 +20167,7 @@ client.crm.notes.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account. +**id:** `str`
@@ -19346,7 +20175,7 @@ client.crm.notes.list(
-**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact. +**model:** `PatchedItemRequestRequest`
@@ -19354,7 +20183,7 @@ client.crm.notes.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -19362,7 +20191,7 @@ client.crm.notes.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -19370,95 +20199,70 @@ client.crm.notes.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[NotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+
client.accounting.items.meta_patch_retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +Returns metadata for `Item` PATCHs.
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**opportunity_id:** `typing.Optional[str]` — If provided, will only return notes with this opportunity. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.items.meta_patch_retrieve( + id="id", +) -**owner_id:** `typing.Optional[str]` — If provided, will only return notes with this owner. - +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**id:** `str`
@@ -19478,7 +20282,7 @@ client.crm.notes.list(
-
client.crm.notes.create(...) +
client.accounting.items.meta_post_retrieve()
@@ -19490,7 +20294,7 @@ client.crm.notes.list(
-Creates a `Note` object with the given values. +Returns metadata for `Item` POSTs.
@@ -19506,17 +20310,12 @@ Creates a `Note` object with the given values. ```python from merge import Merge -from merge.resources.crm import NoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.create( - is_debug_mode=True, - run_async=True, - model=NoteRequest(), -) +client.accounting.items.meta_post_retrieve() ``` @@ -19532,30 +20331,6 @@ client.crm.notes.create(
-**model:** `NoteRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -19568,7 +20343,8 @@ client.crm.notes.create(
-
client.crm.notes.retrieve(...) +## Accounting JournalEntries +
client.accounting.journal_entries.list(...)
@@ -19580,7 +20356,7 @@ client.crm.notes.create(
-Returns a `Note` object with the given `id`. +Returns a list of `JournalEntry` objects.
@@ -19595,20 +20371,47 @@ Returns a `Note` object with the given `id`.
```python +import datetime + from merge import Merge -from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.retrieve( - id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, +response = client.accounting.journal_entries.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + transaction_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + transaction_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -19624,7 +20427,15 @@ client.crm.notes.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return journal entries for this company. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -19632,7 +20443,36 @@ client.crm.notes.retrieve(
-**expand:** `typing.Optional[NotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + JournalEntriesListRequestExpandItem, + typing.Sequence[JournalEntriesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -19664,64 +20504,51 @@ client.crm.notes.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
- -
+
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-
-
client.crm.notes.meta_post_retrieve()
-#### 📝 Description - -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
-Returns metadata for `Note` POSTs. -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.notes.meta_post_retrieve() - -``` -
-
+**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +
-#### ⚙️ Parameters -
+**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+
@@ -19737,7 +20564,7 @@ client.crm.notes.meta_post_retrieve()
-
client.crm.notes.remote_field_classes_list(...) +
client.accounting.journal_entries.create(...)
@@ -19749,7 +20576,7 @@ client.crm.notes.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Creates a `JournalEntry` object with the given values.
@@ -19765,20 +20592,16 @@ Returns a list of `RemoteFieldClass` objects. ```python from merge import Merge +from merge.resources.accounting import JournalEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.notes.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.accounting.journal_entries.create( + is_debug_mode=True, + run_async=True, + model=JournalEntryRequest(), ) ``` @@ -19795,47 +20618,7 @@ client.crm.notes.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**model:** `JournalEntryRequest`
@@ -19843,7 +20626,7 @@ client.crm.notes.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -19851,7 +20634,7 @@ client.crm.notes.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -19871,8 +20654,7 @@ client.crm.notes.remote_field_classes_list(
-## Crm Opportunities -
client.crm.opportunities.list(...) +
client.accounting.journal_entries.retrieve(...)
@@ -19884,7 +20666,7 @@ client.crm.notes.remote_field_classes_list(
-Returns a list of `Opportunity` objects. +Returns a `JournalEntry` object with the given `id`.
@@ -19899,46 +20681,17 @@ Returns a list of `Opportunity` objects.
```python -import datetime - from merge import Merge -from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, - OpportunitiesListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.list( - account_id="account_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, - include_deleted_data=True, +client.accounting.journal_entries.retrieve( + id="id", include_remote_data=True, include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - owner_id="owner_id", - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - stage_id="stage_id", - status=OpportunitiesListRequestStatus.LOST, ) ``` @@ -19955,7 +20708,7 @@ client.crm.opportunities.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account. +**id:** `str`
@@ -19963,7 +20716,12 @@ client.crm.opportunities.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**expand:** `typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, + typing.Sequence[JournalEntriesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -19971,7 +20729,7 @@ client.crm.opportunities.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -19979,7 +20737,7 @@ client.crm.opportunities.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -19987,7 +20745,7 @@ client.crm.opportunities.list(
-**expand:** `typing.Optional[OpportunitiesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -19995,63 +20753,81 @@ client.crm.opportunities.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.accounting.journal_entries.lines_remote_field_classes_list(...)
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.journal_entries.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20059,7 +20835,7 @@ client.crm.opportunities.list(
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return opportunities created in the third party platform after this datetime. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20067,7 +20843,7 @@ client.crm.opportunities.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20075,7 +20851,7 @@ client.crm.opportunities.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20083,7 +20859,7 @@ client.crm.opportunities.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -20091,7 +20867,7 @@ client.crm.opportunities.list(
-**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -20099,13 +20875,7 @@ client.crm.opportunities.list(
-**status:** `typing.Optional[OpportunitiesListRequestStatus]` - -If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') - -* `OPEN` - OPEN -* `WON` - WON -* `LOST` - LOST +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -20125,7 +20895,7 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-
client.crm.opportunities.create(...) +
client.accounting.journal_entries.meta_post_retrieve()
@@ -20137,7 +20907,7 @@ If provided, will only return opportunities with this status. Options: ('OPEN',
-Creates an `Opportunity` object with the given values. +Returns metadata for `JournalEntry` POSTs.
@@ -20153,17 +20923,12 @@ Creates an `Opportunity` object with the given values. ```python from merge import Merge -from merge.resources.crm import OpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.create( - is_debug_mode=True, - run_async=True, - model=OpportunityRequest(), -) +client.accounting.journal_entries.meta_post_retrieve() ``` @@ -20179,30 +20944,6 @@ client.crm.opportunities.create(
-**model:** `OpportunityRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -20215,7 +20956,7 @@ client.crm.opportunities.create(
-
client.crm.opportunities.retrieve(...) +
client.accounting.journal_entries.remote_field_classes_list(...)
@@ -20227,7 +20968,7 @@ client.crm.opportunities.create(
-Returns an `Opportunity` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -20243,21 +20984,25 @@ Returns an `Opportunity` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.retrieve( - id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, +response = client.accounting.journal_entries.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20273,7 +21018,7 @@ client.crm.opportunities.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20281,7 +21026,7 @@ client.crm.opportunities.retrieve(
-**expand:** `typing.Optional[OpportunitiesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20297,7 +21042,7 @@ client.crm.opportunities.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20305,7 +21050,7 @@ client.crm.opportunities.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -20313,7 +21058,7 @@ client.crm.opportunities.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -20321,7 +21066,7 @@ client.crm.opportunities.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -20341,7 +21086,8 @@ client.crm.opportunities.retrieve(
-
client.crm.opportunities.partial_update(...) +## Accounting LinkToken +
client.accounting.link_token.create(...)
@@ -20353,7 +21099,7 @@ client.crm.opportunities.retrieve(
-Updates an `Opportunity` object with the given `id`. +Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -20369,17 +21115,17 @@ Updates an `Opportunity` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedOpportunityRequest +from merge.resources.accounting import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedOpportunityRequest(), +client.accounting.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -20396,7 +21142,7 @@ client.crm.opportunities.partial_update(
-**id:** `str` +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -20404,7 +21150,7 @@ client.crm.opportunities.partial_update(
-**model:** `PatchedOpportunityRequest` +**end_user_organization_name:** `str` — Your end user's organization.
@@ -20412,7 +21158,7 @@ client.crm.opportunities.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -20420,7 +21166,7 @@ client.crm.opportunities.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -20428,70 +21174,111 @@ client.crm.opportunities.partial_update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
+ +
+
+ +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +
+
+
+**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-
-
client.crm.opportunities.meta_patch_retrieve(...)
-#### 📝 Description +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
+
-Returns metadata for `Opportunity` PATCHs. +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +
+ +
+
+ +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de +
-#### 🔌 Usage +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. + +
+
+
-```python -from merge import Merge +**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.opportunities.meta_patch_retrieve( - id="id", -) +When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. -``` -
-
+* `SELECTIVE_SYNC` - SELECTIVE_SYNC + -#### ⚙️ Parameters -
+**linked_destination_id:** `typing.Optional[str]` — The UUID of the linked destination that you want this Linked Account to be tied to. + +
+
+
-**id:** `str` +**credential_id:** `typing.Optional[str]` — The id of the credential that you want this Linked Account to be tied to.
@@ -20511,7 +21298,8 @@ client.crm.opportunities.meta_patch_retrieve(
-
client.crm.opportunities.meta_post_retrieve() +## Accounting LinkedAccounts +
client.accounting.linked_accounts.list(...)
@@ -20523,7 +21311,7 @@ client.crm.opportunities.meta_patch_retrieve(
-Returns metadata for `Opportunity` POSTs. +List linked accounts for your organization.
@@ -20539,12 +21327,34 @@ Returns metadata for `Opportunity` POSTs. ```python from merge import Merge +from merge.resources.accounting.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.opportunities.meta_post_retrieve() +response = client.accounting.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", + id="id", + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", + page_size=1, + status="status", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20560,77 +21370,61 @@ client.crm.opportunities.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
- -
+**category:** `typing.Optional[LinkedAccountsListRequestCategory]` +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage +* `datawarehouse` - datawarehouse +* `knowledgebase` - knowledgebase +* `communication` - communication +* `chat` - chat + -
-
client.crm.opportunities.remote_field_classes_list(...)
-#### 📝 Description - -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
-Returns a list of `RemoteFieldClass` objects. -
-
+**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.opportunities.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
+**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +
-#### ⚙️ Parameters -
+**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -20638,7 +21432,7 @@ client.crm.opportunities.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**id:** `typing.Optional[str]`
@@ -20646,7 +21440,7 @@ client.crm.opportunities.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -20654,7 +21448,7 @@ client.crm.opportunities.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
@@ -20662,7 +21456,7 @@ client.crm.opportunities.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -20670,7 +21464,7 @@ client.crm.opportunities.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -20678,7 +21472,7 @@ client.crm.opportunities.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -20686,7 +21480,7 @@ client.crm.opportunities.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -20706,8 +21500,8 @@ client.crm.opportunities.remote_field_classes_list(
-## Crm Passthrough -
client.crm.passthrough.create(...) +## Accounting Passthrough +
client.accounting.passthrough.create(...)
@@ -20735,13 +21529,13 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.crm import DataPassthroughRequest, MethodEnum +from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.passthrough.create( +client.accounting.passthrough.create( request=DataPassthroughRequest( method=MethodEnum.GET, path="/scooters", @@ -20782,8 +21576,8 @@ client.crm.passthrough.create(
-## Crm RegenerateKey -
client.crm.regenerate_key.create(...) +## Accounting PaymentMethods +
client.accounting.payment_methods.list(...)
@@ -20795,7 +21589,7 @@ client.crm.passthrough.create(
-Exchange remote keys. +Returns a list of `PaymentMethod` objects.
@@ -20816,9 +21610,18 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.regenerate_key.create( - name="Remote Deployment Key 1", +response = client.accounting.payment_methods.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -20834,7 +21637,39 @@ client.crm.regenerate_key.create(
-**name:** `str` — The name of the remote key +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -20854,8 +21689,7 @@ client.crm.regenerate_key.create(
-## Crm Stages -
client.crm.stages.list(...) +
client.accounting.payment_methods.retrieve(...)
@@ -20867,7 +21701,7 @@ client.crm.regenerate_key.create(
-Returns a list of `Stage` objects. +Returns a `PaymentMethod` object with the given `id`.
@@ -20882,34 +21716,16 @@ Returns a list of `Stage` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.accounting.payment_methods.retrieve( + id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) ``` @@ -20926,7 +21742,7 @@ client.crm.stages.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -20934,7 +21750,7 @@ client.crm.stages.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20942,7 +21758,7 @@ client.crm.stages.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -20950,23 +21766,80 @@ client.crm.stages.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +## Accounting PaymentTerms +
client.accounting.payment_terms.list(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `PaymentTerm` objects.
+
+
+ +#### 🔌 Usage
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.payment_terms.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -20974,7 +21847,11 @@ client.crm.stages.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -20982,7 +21859,7 @@ client.crm.stages.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -20990,7 +21867,7 @@ client.crm.stages.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -20998,7 +21875,7 @@ client.crm.stages.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -21006,7 +21883,7 @@ client.crm.stages.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -21026,7 +21903,7 @@ client.crm.stages.list(
-
client.crm.stages.retrieve(...) +
client.accounting.payment_terms.retrieve(...)
@@ -21038,7 +21915,7 @@ client.crm.stages.list(
-Returns a `Stage` object with the given `id`. +Returns a `PaymentTerm` object with the given `id`.
@@ -21059,10 +21936,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.retrieve( +client.accounting.payment_terms.retrieve( id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -21088,7 +21964,11 @@ client.crm.stages.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -21096,7 +21976,7 @@ client.crm.stages.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -21124,7 +22004,8 @@ client.crm.stages.retrieve(
-
client.crm.stages.remote_field_classes_list(...) +## Accounting Payments +
client.accounting.payments.list(...)
@@ -21136,7 +22017,7 @@ client.crm.stages.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Payment` objects.
@@ -21151,22 +22032,49 @@ Returns a list of `RemoteFieldClass` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.stages.remote_field_classes_list( +response = client.accounting.payments.list( + account_id="account_id", + company_id="company_id", + contact_id="contact_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_id="remote_id", + transaction_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + transaction_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -21182,6 +22090,46 @@ client.crm.stages.remote_field_classes_list(
+**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account. + +
+
+ +
+
+ +**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company. + +
+
+ +
+
+ +**contact_id:** `typing.Optional[str]` — If provided, will only return payments for this contact. + +
+
+ +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -21190,6 +22138,19 @@ client.crm.stages.remote_field_classes_list(
+**expand:** `typing.Optional[ + typing.Union[ + PaymentsListRequestExpandItem, + typing.Sequence[PaymentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -21222,7 +22183,7 @@ client.crm.stages.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -21230,7 +22191,7 @@ client.crm.stages.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -21238,7 +22199,31 @@ client.crm.stages.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -21258,8 +22243,7 @@ client.crm.stages.remote_field_classes_list(
-## Crm SyncStatus -
client.crm.sync_status.list(...) +
client.accounting.payments.create(...)
@@ -21271,7 +22255,7 @@ client.crm.stages.remote_field_classes_list(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Creates a `Payment` object with the given values.
@@ -21287,14 +22271,16 @@ Get sync status for the current sync and the most recently finished sync. `last_ ```python from merge import Merge +from merge.resources.accounting import PaymentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, +client.accounting.payments.create( + is_debug_mode=True, + run_async=True, + model=PaymentRequest(), ) ``` @@ -21311,7 +22297,7 @@ client.crm.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**model:** `PaymentRequest`
@@ -21319,7 +22305,15 @@ client.crm.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -21339,8 +22333,7 @@ client.crm.sync_status.list(
-## Crm ForceResync -
client.crm.force_resync.sync_status_resync_create() +
client.accounting.payments.retrieve(...)
@@ -21352,7 +22345,7 @@ client.crm.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns a `Payment` object with the given `id`.
@@ -21373,92 +22366,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.force_resync.sync_status_resync_create() - -``` - -
- - - -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - - - -
- -## Crm Tasks -
client.crm.tasks.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Task` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.crm.resources.tasks import TasksListRequestExpand - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.tasks.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, - include_deleted_data=True, +client.accounting.payments.retrieve( + id="id", include_remote_data=True, include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) ``` @@ -21475,31 +22387,7 @@ client.crm.tasks.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[TasksListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**id:** `str`
@@ -21507,7 +22395,12 @@ client.crm.tasks.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + PaymentsRetrieveRequestExpandItem, + typing.Sequence[PaymentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -21539,38 +22432,6 @@ client.crm.tasks.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21583,7 +22444,7 @@ client.crm.tasks.list(
-
client.crm.tasks.create(...) +
client.accounting.payments.partial_update(...)
@@ -21595,7 +22456,7 @@ client.crm.tasks.list(
-Creates a `Task` object with the given values. +Updates a `Payment` object with the given `id`.
@@ -21611,16 +22472,17 @@ Creates a `Task` object with the given values. ```python from merge import Merge -from merge.resources.crm import TaskRequest +from merge.resources.accounting import PatchedPaymentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.create( +client.accounting.payments.partial_update( + id="id", is_debug_mode=True, run_async=True, - model=TaskRequest(), + model=PatchedPaymentRequest(), ) ``` @@ -21637,7 +22499,15 @@ client.crm.tasks.create(
-**model:** `TaskRequest` +**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedPaymentRequest`
@@ -21673,7 +22543,7 @@ client.crm.tasks.create(
-
client.crm.tasks.retrieve(...) +
client.accounting.payments.line_items_remote_field_classes_list(...)
@@ -21685,7 +22555,7 @@ client.crm.tasks.create(
-Returns a `Task` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -21701,19 +22571,25 @@ Returns a `Task` object with the given `id`. ```python from merge import Merge -from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.retrieve( - id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, +response = client.accounting.payments.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -21729,7 +22605,7 @@ client.crm.tasks.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -21737,7 +22613,7 @@ client.crm.tasks.retrieve(
-**expand:** `typing.Optional[TasksRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -21753,7 +22629,7 @@ client.crm.tasks.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -21761,7 +22637,23 @@ client.crm.tasks.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -21781,7 +22673,7 @@ client.crm.tasks.retrieve(
-
client.crm.tasks.partial_update(...) +
client.accounting.payments.meta_patch_retrieve(...)
@@ -21793,7 +22685,7 @@ client.crm.tasks.retrieve(
-Updates a `Task` object with the given `id`. +Returns metadata for `Payment` PATCHs.
@@ -21809,17 +22701,13 @@ Updates a `Task` object with the given `id`. ```python from merge import Merge -from merge.resources.crm import PatchedTaskRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.partial_update( +client.accounting.payments.meta_patch_retrieve( id="id", - is_debug_mode=True, - run_async=True, - model=PatchedTaskRequest(), ) ``` @@ -21844,30 +22732,6 @@ client.crm.tasks.partial_update(
-**model:** `PatchedTaskRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21880,7 +22744,7 @@ client.crm.tasks.partial_update(
-
client.crm.tasks.meta_patch_retrieve(...) +
client.accounting.payments.meta_post_retrieve()
@@ -21892,7 +22756,7 @@ client.crm.tasks.partial_update(
-Returns metadata for `Task` PATCHs. +Returns metadata for `Payment` POSTs.
@@ -21913,9 +22777,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.meta_patch_retrieve( - id="id", -) +client.accounting.payments.meta_post_retrieve() ``` @@ -21931,14 +22793,6 @@ client.crm.tasks.meta_patch_retrieve(
-**id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -21951,7 +22805,7 @@ client.crm.tasks.meta_patch_retrieve(
-
client.crm.tasks.meta_post_retrieve() +
client.accounting.payments.remote_field_classes_list(...)
@@ -21963,7 +22817,7 @@ client.crm.tasks.meta_patch_retrieve(
-Returns metadata for `Task` POSTs. +Returns a list of `RemoteFieldClass` objects.
@@ -21984,7 +22838,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.meta_post_retrieve() +response = client.accounting.payments.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -22000,6 +22867,62 @@ client.crm.tasks.meta_post_retrieve()
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22012,7 +22935,8 @@ client.crm.tasks.meta_post_retrieve()
-
client.crm.tasks.remote_field_classes_list(...) +## Accounting PhoneNumbers +
client.accounting.phone_numbers.retrieve(...)
@@ -22024,7 +22948,7 @@ client.crm.tasks.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns an `AccountingPhoneNumber` object with the given `id`.
@@ -22045,15 +22969,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.tasks.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.accounting.phone_numbers.retrieve( + id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) ``` @@ -22070,15 +22989,7 @@ client.crm.tasks.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**id:** `str`
@@ -22094,14 +23005,6 @@ client.crm.tasks.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -22110,30 +23013,6 @@ client.crm.tasks.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22146,8 +23025,8 @@ client.crm.tasks.remote_field_classes_list(
-## Crm Users -
client.crm.users.list(...) +## Accounting Projects +
client.accounting.projects.list(...)
@@ -22159,7 +23038,7 @@ client.crm.tasks.remote_field_classes_list(
-Returns a list of `User` objects. +Returns a list of `Project` objects.
@@ -22182,7 +23061,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.list( +response = client.accounting.projects.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -22190,11 +23070,10 @@ client.crm.users.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email="email", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + is_active="is_active", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -22204,6 +23083,11 @@ client.crm.users.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -22219,6 +23103,14 @@ client.crm.users.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return projects for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -22243,7 +23135,12 @@ client.crm.users.list(
-**email:** `typing.Optional[str]` — If provided, will only return users with this email. +**expand:** `typing.Optional[ + typing.Union[ + ProjectsListRequestExpandItem, + typing.Sequence[ProjectsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -22267,7 +23164,7 @@ client.crm.users.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -22275,7 +23172,7 @@ client.crm.users.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_active:** `typing.Optional[str]` — If provided, will only return projects with this value for is_active.
@@ -22299,7 +23196,7 @@ client.crm.users.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -22327,7 +23224,7 @@ client.crm.users.list(
-
client.crm.users.retrieve(...) +
client.accounting.projects.retrieve(...)
@@ -22339,7 +23236,7 @@ client.crm.users.list(
-Returns a `User` object with the given `id`. +Returns a `Project` object with the given `id`.
@@ -22360,10 +23257,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.retrieve( +client.accounting.projects.retrieve( id="id", include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -22389,7 +23285,12 @@ client.crm.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + ProjectsRetrieveRequestExpandItem, + typing.Sequence[ProjectsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -22397,7 +23298,7 @@ client.crm.users.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -22425,7 +23326,8 @@ client.crm.users.retrieve(
-
client.crm.users.ignore_create(...) +## Accounting PurchaseOrders +
client.accounting.purchase_orders.list(...)
@@ -22437,7 +23339,7 @@ client.crm.users.retrieve(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Returns a list of `PurchaseOrder` objects.
@@ -22452,19 +23354,47 @@ Ignores a specific row based on the `model_id` in the url. These records will ha
```python +import datetime + from merge import Merge -from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.users.ignore_create( - model_id="model_id", - request=IgnoreCommonModelRequest( - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, +response = client.accounting.purchase_orders.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + issue_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + issue_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -22480,7 +23410,7 @@ client.crm.users.ignore_create(
-**model_id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return purchase orders for this company.
@@ -22488,7 +23418,7 @@ client.crm.users.ignore_create(
-**request:** `IgnoreCommonModelRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -22496,77 +23426,68 @@ client.crm.users.ignore_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.crm.users.remote_field_classes_list(...)
-#### 📝 Description - -
-
+**expand:** `typing.Optional[ + typing.Union[ + PurchaseOrdersListRequestExpandItem, + typing.Sequence[PurchaseOrdersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
-Returns a list of `RemoteFieldClass` objects. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.crm.users.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + -#### ⚙️ Parameters -
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -22574,7 +23495,7 @@ client.crm.users.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -22582,7 +23503,7 @@ client.crm.users.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -22590,7 +23511,7 @@ client.crm.users.remote_field_classes_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -22598,7 +23519,7 @@ client.crm.users.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -22606,7 +23527,7 @@ client.crm.users.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -22614,7 +23535,7 @@ client.crm.users.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -22622,7 +23543,7 @@ client.crm.users.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -22642,8 +23563,7 @@ client.crm.users.remote_field_classes_list(
-## Crm WebhookReceivers -
client.crm.webhook_receivers.list() +
client.accounting.purchase_orders.create(...)
@@ -22655,7 +23575,7 @@ client.crm.users.remote_field_classes_list(
-Returns a list of `WebhookReceiver` objects. +Creates a `PurchaseOrder` object with the given values.
@@ -22671,12 +23591,17 @@ Returns a list of `WebhookReceiver` objects. ```python from merge import Merge +from merge.resources.accounting import PurchaseOrderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.webhook_receivers.list() +client.accounting.purchase_orders.create( + is_debug_mode=True, + run_async=True, + model=PurchaseOrderRequest(), +) ``` @@ -22692,6 +23617,30 @@ client.crm.webhook_receivers.list()
+**model:** `PurchaseOrderRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -22704,7 +23653,7 @@ client.crm.webhook_receivers.list()
-
client.crm.webhook_receivers.create(...) +
client.accounting.purchase_orders.retrieve(...)
@@ -22716,7 +23665,7 @@ client.crm.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns a `PurchaseOrder` object with the given `id`.
@@ -22737,9 +23686,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.crm.webhook_receivers.create( - event="event", - is_active=True, +client.accounting.purchase_orders.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -22756,7 +23707,7 @@ client.crm.webhook_receivers.create(
-**event:** `str` +**id:** `str`
@@ -22764,7 +23715,12 @@ client.crm.webhook_receivers.create(
-**is_active:** `bool` +**expand:** `typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, + typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -22772,7 +23728,7 @@ client.crm.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -22780,65 +23736,35 @@ client.crm.webhook_receivers.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- -
- - - - -
-## Hris AccountDetails -
client.hris.account_details.retrieve()
-#### 📝 Description - -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-Get details for a linked account. -
-
+**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.account_details.retrieve() - -``` -
-
+**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
-#### ⚙️ Parameters - -
-
-
@@ -22854,8 +23780,7 @@ client.hris.account_details.retrieve()
-## Hris AccountToken -
client.hris.account_token.retrieve(...) +
client.accounting.purchase_orders.line_items_remote_field_classes_list(...)
@@ -22867,7 +23792,7 @@ client.hris.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Returns a list of `RemoteFieldClass` objects.
@@ -22888,9 +23813,22 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.account_token.retrieve( - public_token="public_token", +response = ( + client.accounting.purchase_orders.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -22906,7 +23844,7 @@ client.hris.account_token.retrieve(
-**public_token:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -22914,75 +23852,47 @@ client.hris.account_token.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
- -
+
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-
-## Hris AsyncPassthrough -
client.hris.async_passthrough.create(...)
-#### 📝 Description - -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
-Asynchronously pull data from an endpoint not currently supported by Merge. -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.hris import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +
-#### ⚙️ Parameters - -
-
-
-**request:** `DataPassthroughRequest` +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -23002,7 +23912,7 @@ client.hris.async_passthrough.create(
-
client.hris.async_passthrough.retrieve(...) +
client.accounting.purchase_orders.meta_post_retrieve()
@@ -23014,7 +23924,7 @@ client.hris.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `PurchaseOrder` POSTs.
@@ -23035,9 +23945,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) +client.accounting.purchase_orders.meta_post_retrieve() ``` @@ -23053,14 +23961,6 @@ client.hris.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23073,8 +23973,7 @@ client.hris.async_passthrough.retrieve(
-## Hris AuditTrail -
client.hris.audit_trail.list(...) +
client.accounting.purchase_orders.remote_field_classes_list(...)
@@ -23086,7 +23985,7 @@ client.hris.async_passthrough.retrieve(
-Gets a list of audit trail events. +Returns a list of `RemoteFieldClass` objects.
@@ -23107,14 +24006,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.audit_trail.list( +response = client.accounting.purchase_orders.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, page_size=1, - start_date="start_date", - user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -23138,7 +24043,7 @@ client.hris.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -23146,7 +24051,7 @@ client.hris.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -23154,7 +24059,7 @@ client.hris.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -23162,7 +24067,7 @@ client.hris.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -23170,7 +24075,15 @@ client.hris.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -23190,8 +24103,8 @@ client.hris.audit_trail.list(
-## Hris AvailableActions -
client.hris.available_actions.retrieve() +## Accounting RegenerateKey +
client.accounting.regenerate_key.create(...)
@@ -23203,7 +24116,7 @@ client.hris.audit_trail.list(
-Returns a list of models and actions available for an account. +Exchange remote keys.
@@ -23224,7 +24137,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.available_actions.retrieve() +client.accounting.regenerate_key.create( + name="Remote Deployment Key 1", +) ``` @@ -23240,6 +24155,14 @@ client.hris.available_actions.retrieve()
+**name:** `str` — The name of the remote key + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -23252,8 +24175,8 @@ client.hris.available_actions.retrieve()
-## Hris BankInfo -
client.hris.bank_info.list(...) +## Accounting SalesOrders +
client.accounting.sales_orders.list(...)
@@ -23265,7 +24188,7 @@ client.hris.available_actions.retrieve()
-Returns a list of `BankInfo` objects. +Returns a list of `SalesOrder` objects.
@@ -23283,18 +24206,13 @@ Returns a list of `BankInfo` objects. import datetime from merge import Merge -from merge.resources.hris.resources.bank_info import ( - BankInfoListRequestAccountType, - BankInfoListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.list( - account_type=BankInfoListRequestAccountType.CHECKING, - bank_name="bank_name", +response = client.accounting.sales_orders.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -23302,20 +24220,30 @@ client.hris.bank_info.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + issue_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + issue_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - order_by=BankInfoListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -23331,12 +24259,7 @@ client.hris.bank_info.list(
-**account_type:** `typing.Optional[BankInfoListRequestAccountType]` - -If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING') - -* `SAVINGS` - SAVINGS -* `CHECKING` - CHECKING +**company_id:** `typing.Optional[str]` — If provided, will only return sales orders for this company.
@@ -23344,7 +24267,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**bank_name:** `typing.Optional[str]` — If provided, will only return BankInfo's with this bank name. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -23352,7 +24275,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -23360,7 +24283,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -23368,7 +24291,12 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + SalesOrdersListRequestExpandItem, + typing.Sequence[SalesOrdersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -23376,7 +24304,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**employee_id:** `typing.Optional[str]` — If provided, will only return bank accounts for this employee. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -23384,7 +24312,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -23392,7 +24320,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -23400,7 +24328,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -23408,7 +24336,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -23416,7 +24344,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -23424,7 +24352,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -23432,7 +24360,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -23448,7 +24376,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -23464,7 +24392,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -23484,7 +24412,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-
client.hris.bank_info.retrieve(...) +
client.accounting.sales_orders.create(...)
@@ -23496,7 +24424,7 @@ If provided, will only return BankInfo's with this account type. Options: ('SAVI
-Returns a `BankInfo` object with the given `id`. +Creates a `SalesOrder` object with the given values.
@@ -23512,15 +24440,16 @@ Returns a `BankInfo` object with the given `id`. ```python from merge import Merge +from merge.resources.accounting import SalesOrderRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.bank_info.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.accounting.sales_orders.create( + is_debug_mode=True, + run_async=True, + model=SalesOrderRequestRequest(), ) ``` @@ -23537,7 +24466,7 @@ client.hris.bank_info.retrieve(
-**id:** `str` +**model:** `SalesOrderRequestRequest`
@@ -23545,31 +24474,7 @@ client.hris.bank_info.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -23577,7 +24482,7 @@ client.hris.bank_info.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -23597,8 +24502,7 @@ client.hris.bank_info.retrieve(
-## Hris Benefits -
client.hris.benefits.list(...) +
client.accounting.sales_orders.retrieve(...)
@@ -23610,7 +24514,7 @@ client.hris.bank_info.retrieve(
-Returns a list of `Benefit` objects. +Returns a `SalesOrder` object with the given `id`.
@@ -23625,34 +24529,17 @@ Returns a list of `Benefit` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, +client.accounting.sales_orders.retrieve( + id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) ``` @@ -23669,7 +24556,7 @@ client.hris.benefits.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -23677,7 +24564,12 @@ client.hris.benefits.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + SalesOrdersRetrieveRequestExpandItem, + typing.Sequence[SalesOrdersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -23685,7 +24577,7 @@ client.hris.benefits.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -23693,7 +24585,7 @@ client.hris.benefits.list(
-**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -23701,7 +24593,7 @@ client.hris.benefits.list(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -23709,7 +24601,7 @@ client.hris.benefits.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -23717,7 +24609,7 @@ client.hris.benefits.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -23725,39 +24617,79 @@ client.hris.benefits.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+
client.accounting.sales_orders.bulk_create(...)
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +#### 📝 Description + +
+
+ +
+
+ +Creates multiple `SalesOrder` objects with the given values. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +```python +from merge import Merge +from merge.resources.accounting import ( + SalesOrderBatchItemRequest, + SalesOrderRequestRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.sales_orders.bulk_create( + batch_items=[ + SalesOrderBatchItemRequest( + item_id="item_id", + payload=SalesOrderRequestRequest(), + ) + ], +) + +```
+
+
+ +#### ⚙️ Parameters
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+
+ +**batch_items:** `typing.Sequence[SalesOrderBatchItemRequest]`
@@ -23777,7 +24709,7 @@ client.hris.benefits.list(
-
client.hris.benefits.retrieve(...) +
client.accounting.sales_orders.bulk_retrieve(...)
@@ -23789,7 +24721,7 @@ client.hris.benefits.list(
-Returns a `Benefit` object with the given `id`. +Returns the status and results of a `SalesOrder` bulk create batch.
@@ -23810,10 +24742,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.benefits.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.accounting.sales_orders.bulk_retrieve( + batch_id="batch_id", ) ``` @@ -23830,31 +24760,7 @@ client.hris.benefits.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**batch_id:** `str`
@@ -23874,8 +24780,7 @@ client.hris.benefits.retrieve(
-## Hris Companies -
client.hris.companies.list(...) +
client.accounting.sales_orders.lines_remote_field_classes_list(...)
@@ -23887,7 +24792,7 @@ client.hris.benefits.retrieve(
-Returns a list of `Company` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -23902,34 +24807,26 @@ Returns a list of `Company` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.accounting.sales_orders.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + is_common_model_field=True, + is_custom=True, page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -23945,22 +24842,6 @@ client.hris.companies.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -23993,7 +24874,7 @@ client.hris.companies.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -24001,7 +24882,7 @@ client.hris.companies.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -24017,14 +24898,6 @@ client.hris.companies.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -24037,7 +24910,7 @@ client.hris.companies.list(
-
client.hris.companies.retrieve(...) +
client.accounting.sales_orders.meta_post_retrieve()
@@ -24049,7 +24922,7 @@ client.hris.companies.list(
-Returns a `Company` object with the given `id`. +Returns metadata for `SalesOrder` POSTs.
@@ -24070,11 +24943,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.companies.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.accounting.sales_orders.meta_post_retrieve() ``` @@ -24090,30 +24959,6 @@ client.hris.companies.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -24126,8 +24971,7 @@ client.hris.companies.retrieve(
-## Hris Scopes -
client.hris.scopes.default_scopes_retrieve() +
client.accounting.sales_orders.remote_field_classes_list(...)
@@ -24139,7 +24983,7 @@ client.hris.companies.retrieve(
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of `RemoteFieldClass` objects.
@@ -24160,7 +25004,20 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.default_scopes_retrieve() +response = client.accounting.sales_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -24176,64 +25033,59 @@ client.hris.scopes.default_scopes_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-
client.hris.scopes.linked_account_scopes_retrieve()
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage -
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.scopes.linked_account_scopes_retrieve() - -``` -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + -#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
@@ -24249,7 +25101,8 @@ client.hris.scopes.linked_account_scopes_retrieve()
-
client.hris.scopes.linked_account_scopes_create(...) +## Accounting SyncStatus +
client.accounting.sync_status.list(...)
@@ -24261,7 +25114,7 @@ client.hris.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -24277,43 +25130,20 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.hris import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +response = client.accounting.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -24329,7 +25159,15 @@ client.hris.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -24349,8 +25187,8 @@ client.hris.scopes.linked_account_scopes_create(
-## Hris DeleteAccount -
client.hris.delete_account.delete() +## Accounting ForceResync +
client.accounting.force_resync.sync_status_resync_create()
@@ -24362,7 +25200,7 @@ client.hris.scopes.linked_account_scopes_create(
-Delete a linked account. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -24383,7 +25221,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.delete_account.delete() +client.accounting.force_resync.sync_status_resync_create() ``` @@ -24411,8 +25249,8 @@ client.hris.delete_account.delete()
-## Hris Dependents -
client.hris.dependents.list(...) +## Accounting TaxRates +
client.accounting.tax_rates.list(...)
@@ -24424,7 +25262,7 @@ client.hris.delete_account.delete()
-Returns a list of `Dependent` objects. +Returns a list of `TaxRate` objects.
@@ -24447,7 +25285,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.dependents.list( +response = client.accounting.tax_rates.list( + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -24455,10 +25294,8 @@ client.hris.dependents.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", include_deleted_data=True, include_remote_data=True, - include_sensitive_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -24466,9 +25303,15 @@ client.hris.dependents.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -24484,6 +25327,14 @@ client.hris.dependents.list(
+**company_id:** `typing.Optional[str]` — If provided, will only return tax rates for this company. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -24508,7 +25359,11 @@ client.hris.dependents.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return dependents for this employee. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -24532,7 +25387,7 @@ client.hris.dependents.list(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -24540,7 +25395,7 @@ client.hris.dependents.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -24548,7 +25403,7 @@ client.hris.dependents.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -24556,7 +25411,7 @@ client.hris.dependents.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**name:** `typing.Optional[str]` — If provided, will only return TaxRates with this name.
@@ -24592,7 +25447,7 @@ client.hris.dependents.list(
-
client.hris.dependents.retrieve(...) +
client.accounting.tax_rates.retrieve(...)
@@ -24604,7 +25459,7 @@ client.hris.dependents.list(
-Returns a `Dependent` object with the given `id`. +Returns a `TaxRate` object with the given `id`.
@@ -24625,10 +25480,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.dependents.retrieve( +client.accounting.tax_rates.retrieve( id="id", include_remote_data=True, - include_sensitive_fields=True, include_shell_data=True, ) @@ -24654,7 +25508,11 @@ client.hris.dependents.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -24662,7 +25520,7 @@ client.hris.dependents.retrieve(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -24690,8 +25548,8 @@ client.hris.dependents.retrieve(
-## Hris EmployeePayrollRuns -
client.hris.employee_payroll_runs.list(...) +## Accounting TrackingCategories +
client.accounting.tracking_categories.list(...)
@@ -24703,7 +25561,7 @@ client.hris.dependents.retrieve(
-Returns a list of `EmployeePayrollRun` objects. +Returns a list of `TrackingCategory` objects.
@@ -24721,15 +25579,18 @@ Returns a list of `EmployeePayrollRun` objects. import datetime from merge import Merge -from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, +from merge.resources.accounting.resources.tracking_categories import ( + TrackingCategoriesListRequestCategoryType, + TrackingCategoriesListRequestStatus, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.list( +response = client.accounting.tracking_categories.list( + category_type=TrackingCategoriesListRequestCategoryType.EMPTY, + company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -24737,14 +25598,6 @@ client.hris.employee_payroll_runs.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -24754,16 +25607,16 @@ client.hris.employee_payroll_runs.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, - payroll_run_id="payroll_run_id", remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + status=TrackingCategoriesListRequestStatus.EMPTY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -24779,7 +25632,7 @@ client.hris.employee_payroll_runs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**category_type:** `typing.Optional[TrackingCategoriesListRequestCategoryType]` — If provided, will only return tracking categories with this type.
@@ -24787,7 +25640,7 @@ client.hris.employee_payroll_runs.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**company_id:** `typing.Optional[str]` — If provided, will only return tracking categories for this company.
@@ -24795,7 +25648,7 @@ client.hris.employee_payroll_runs.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -24803,7 +25656,7 @@ client.hris.employee_payroll_runs.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -24811,7 +25664,7 @@ client.hris.employee_payroll_runs.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -24819,7 +25672,11 @@ client.hris.employee_payroll_runs.list(
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -24827,7 +25684,7 @@ client.hris.employee_payroll_runs.list(
-**expand:** `typing.Optional[EmployeePayrollRunsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -24835,7 +25692,7 @@ client.hris.employee_payroll_runs.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -24843,7 +25700,7 @@ client.hris.employee_payroll_runs.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -24851,7 +25708,7 @@ client.hris.employee_payroll_runs.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -24859,7 +25716,7 @@ client.hris.employee_payroll_runs.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -24867,7 +25724,7 @@ client.hris.employee_payroll_runs.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**name:** `typing.Optional[str]` — If provided, will only return tracking categories with this name.
@@ -24883,7 +25740,7 @@ client.hris.employee_payroll_runs.list(
-**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -24899,7 +25756,7 @@ client.hris.employee_payroll_runs.list(
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started after this datetime. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -24907,7 +25764,7 @@ client.hris.employee_payroll_runs.list(
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started before this datetime. +**status:** `typing.Optional[TrackingCategoriesListRequestStatus]` — If provided, will only return tracking categories with this status.
@@ -24927,7 +25784,7 @@ client.hris.employee_payroll_runs.list(
-
client.hris.employee_payroll_runs.retrieve(...) +
client.accounting.tracking_categories.retrieve(...)
@@ -24939,7 +25796,7 @@ client.hris.employee_payroll_runs.list(
-Returns an `EmployeePayrollRun` object with the given `id`. +Returns a `TrackingCategory` object with the given `id`.
@@ -24955,17 +25812,13 @@ Returns an `EmployeePayrollRun` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employee_payroll_runs.retrieve( +client.accounting.tracking_categories.retrieve( id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, include_remote_data=True, include_shell_data=True, ) @@ -24992,7 +25845,11 @@ client.hris.employee_payroll_runs.retrieve(
-**expand:** `typing.Optional[EmployeePayrollRunsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["company"], typing.Sequence[typing.Literal["company"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25016,6 +25873,22 @@ client.hris.employee_payroll_runs.retrieve(
+**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25028,8 +25901,8 @@ client.hris.employee_payroll_runs.retrieve(
-## Hris Employees -
client.hris.employees.list(...) +## Accounting Transactions +
client.accounting.transactions.list(...)
@@ -25041,7 +25914,7 @@ client.hris.employee_payroll_runs.retrieve(
-Returns a list of `Employee` objects. +Returns a list of `Transaction` objects.
@@ -25059,18 +25932,12 @@ Returns a list of `Employee` objects. import datetime from merge import Merge -from merge.resources.hris.resources.employees import ( - EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, - EmployeesListRequestRemoteFields, - EmployeesListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.list( +response = client.accounting.transactions.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -25079,21 +25946,9 @@ client.hris.employees.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - display_full_name="display_full_name", - employee_number="employee_number", - employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, - employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, - first_name="first_name", - groups="groups", - home_location_id="home_location_id", include_deleted_data=True, include_remote_data=True, - include_sensitive_fields=True, include_shell_data=True, - job_title="job_title", - last_name="last_name", - manager_id="manager_id", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -25101,27 +25956,19 @@ client.hris.employees.list( "2024-01-15 09:30:00+00:00", ), page_size=1, - pay_group_id="pay_group_id", - personal_email="personal_email", - remote_fields=EmployeesListRequestRemoteFields.EMPLOYMENT_STATUS, remote_id="remote_id", - show_enum_origins=EmployeesListRequestShowEnumOrigins.EMPLOYMENT_STATUS, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - team_id="team_id", - terminated_after=datetime.datetime.fromisoformat( + transaction_date_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - terminated_before=datetime.datetime.fromisoformat( + transaction_date_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - work_email="work_email", - work_location_id="work_location_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -25137,7 +25984,7 @@ client.hris.employees.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company. +**company_id:** `typing.Optional[str]` — If provided, will only return accounting transactions for this company.
@@ -25169,7 +26016,12 @@ client.hris.employees.list(
-**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name. +**expand:** `typing.Optional[ + typing.Union[ + TransactionsListRequestExpandItem, + typing.Sequence[TransactionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25177,7 +26029,7 @@ client.hris.employees.list(
-**employee_number:** `typing.Optional[str]` — If provided, will only return employees with this employee number. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25185,13 +26037,15 @@ client.hris.employees.list(
-**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-If provided, will only return employees with this employment status. +
+
-* `ACTIVE` - ACTIVE -* `PENDING` - PENDING -* `INACTIVE` - INACTIVE +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25199,7 +26053,7 @@ If provided, will only return employees with this employment status.
-**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment type. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -25207,7 +26061,7 @@ If provided, will only return employees with this employment status.
-**expand:** `typing.Optional[EmployeesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -25215,7 +26069,7 @@ If provided, will only return employees with this employment status.
-**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -25223,7 +26077,7 @@ If provided, will only return employees with this employment status.
-**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -25231,7 +26085,7 @@ If provided, will only return employees with this employment status.
-**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location. +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -25239,7 +26093,7 @@ If provided, will only return employees with this employment status.
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -25247,23 +26101,72 @@ If provided, will only return employees with this employment status.
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.accounting.transactions.retrieve(...)
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. - +#### 📝 Description + +
+
+ +
+
+ +Returns a `Transaction` object with the given `id`.
+
+
+ +#### 🔌 Usage
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.transactions.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str`
@@ -25271,7 +26174,12 @@ If provided, will only return employees with this employment status.
-**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job title. +**expand:** `typing.Optional[ + typing.Union[ + TransactionsRetrieveRequestExpandItem, + typing.Sequence[TransactionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25279,7 +26187,7 @@ If provided, will only return employees with this employment status.
-**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25287,7 +26195,7 @@ If provided, will only return employees with this employment status.
-**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25295,15 +26203,102 @@ If provided, will only return employees with this employment status.
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +## Accounting VendorCredits +
client.accounting.vendor_credits.list(...)
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `VendorCredit` objects. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +import datetime + +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.accounting.vendor_credits.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + transaction_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + transaction_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**company_id:** `typing.Optional[str]` — If provided, will only return vendor credits for this company.
@@ -25311,7 +26306,7 @@ If provided, will only return employees with this employment status.
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -25319,7 +26314,7 @@ If provided, will only return employees with this employment status.
-**pay_group_id:** `typing.Optional[str]` — If provided, will only return employees for this pay group +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -25327,7 +26322,7 @@ If provided, will only return employees with this employment status.
-**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -25335,7 +26330,12 @@ If provided, will only return employees with this employment status.
-**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**expand:** `typing.Optional[ + typing.Union[ + VendorCreditsListRequestExpandItem, + typing.Sequence[VendorCreditsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25343,7 +26343,7 @@ If provided, will only return employees with this employment status.
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -25351,7 +26351,7 @@ If provided, will only return employees with this employment status.
-**show_enum_origins:** `typing.Optional[EmployeesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -25359,7 +26359,7 @@ If provided, will only return employees with this employment status.
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25367,7 +26367,7 @@ If provided, will only return employees with this employment status.
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started before this datetime. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -25375,7 +26375,7 @@ If provided, will only return employees with this employment status.
-**team_id:** `typing.Optional[str]` — If provided, will only return employees for this team. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -25383,7 +26383,7 @@ If provided, will only return employees with this employment status.
-**terminated_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -25391,7 +26391,7 @@ If provided, will only return employees with this employment status.
-**terminated_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated before this datetime. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -25399,7 +26399,7 @@ If provided, will only return employees with this employment status.
-**work_email:** `typing.Optional[str]` — If provided, will only return Employees with this work email +**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -25407,7 +26407,7 @@ If provided, will only return employees with this employment status.
-**work_location_id:** `typing.Optional[str]` — If provided, will only return employees for this location. +**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -25427,7 +26427,7 @@ If provided, will only return employees with this employment status.
-
client.hris.employees.create(...) +
client.accounting.vendor_credits.create(...)
@@ -25439,7 +26439,7 @@ If provided, will only return employees with this employment status.
-Creates an `Employee` object with the given values. +Creates a `VendorCredit` object with the given values.
@@ -25455,16 +26455,16 @@ Creates an `Employee` object with the given values. ```python from merge import Merge -from merge.resources.hris import EmployeeRequest +from merge.resources.accounting import VendorCreditRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.create( +client.accounting.vendor_credits.create( is_debug_mode=True, run_async=True, - model=EmployeeRequest(), + model=VendorCreditRequest(), ) ``` @@ -25481,7 +26481,7 @@ client.hris.employees.create(
-**model:** `EmployeeRequest` +**model:** `VendorCreditRequest`
@@ -25517,7 +26517,7 @@ client.hris.employees.create(
-
client.hris.employees.retrieve(...) +
client.accounting.vendor_credits.retrieve(...)
@@ -25529,7 +26529,7 @@ client.hris.employees.create(
-Returns an `Employee` object with the given `id`. +Returns a `VendorCredit` object with the given `id`.
@@ -25545,24 +26545,15 @@ Returns an `Employee` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, - EmployeesRetrieveRequestRemoteFields, - EmployeesRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.retrieve( +client.accounting.vendor_credits.retrieve( id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, include_remote_data=True, - include_sensitive_fields=True, include_shell_data=True, - remote_fields=EmployeesRetrieveRequestRemoteFields.EMPLOYMENT_STATUS, - show_enum_origins=EmployeesRetrieveRequestShowEnumOrigins.EMPLOYMENT_STATUS, ) ``` @@ -25587,7 +26578,12 @@ client.hris.employees.retrieve(
-**expand:** `typing.Optional[EmployeesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, + typing.Sequence[VendorCreditsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -25603,14 +26599,6 @@ client.hris.employees.retrieve(
-**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -25619,22 +26607,6 @@ client.hris.employees.retrieve(
-**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[EmployeesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -25647,7 +26619,7 @@ client.hris.employees.retrieve(
-
client.hris.employees.ignore_create(...) +
client.accounting.vendor_credits.partial_update(...)
@@ -25659,7 +26631,7 @@ client.hris.employees.retrieve(
-Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +Updates a `VendorCredit` object with the given `id`.
@@ -25675,15 +26647,17 @@ Ignores a specific row based on the `model_id` in the url. These records will ha ```python from merge import Merge -from merge.resources.hris import ReasonEnum +from merge.resources.accounting import PatchedVendorCreditRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employees.ignore_create( - model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, +client.accounting.vendor_credits.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedVendorCreditRequest(), ) ``` @@ -25700,7 +26674,7 @@ client.hris.employees.ignore_create(
-**model_id:** `str` +**id:** `str`
@@ -25708,7 +26682,7 @@ client.hris.employees.ignore_create(
-**reason:** `IgnoreCommonModelRequestReason` +**model:** `PatchedVendorCreditRequest`
@@ -25716,7 +26690,7 @@ client.hris.employees.ignore_create(
-**message:** `typing.Optional[str]` +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -25724,63 +26698,10 @@ client.hris.employees.ignore_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
- -
- - - - -
- -
client.hris.employees.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Employee` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.employees.meta_post_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
@@ -25797,8 +26718,7 @@ client.hris.employees.meta_post_retrieve()
-## Hris EmployerBenefits -
client.hris.employer_benefits.list(...) +
client.accounting.vendor_credits.application_create(...)
@@ -25810,7 +26730,7 @@ client.hris.employees.meta_post_retrieve()
-Returns a list of `EmployerBenefit` objects. +Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice
@@ -25833,25 +26753,14 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employer_benefits.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( +client.accounting.vendor_credits.application_create( + id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - page_size=1, - remote_id="remote_id", + applied_amount="applied_amount", ) ``` @@ -25868,39 +26777,7 @@ client.hris.employer_benefits.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**id:** `str`
@@ -25908,7 +26785,7 @@ client.hris.employer_benefits.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**applied_date:** `dt.datetime` — Date that the vendor credit is applied to the invoice.
@@ -25916,7 +26793,7 @@ client.hris.employer_benefits.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**applied_amount:** `str` — The amount of vendor credit applied to the invoice.
@@ -25924,7 +26801,7 @@ client.hris.employer_benefits.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -25932,7 +26809,7 @@ client.hris.employer_benefits.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -25940,7 +26817,7 @@ client.hris.employer_benefits.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**invoice:** `typing.Optional[str]` — The invoice to apply the vendor credit to.
@@ -25960,7 +26837,7 @@ client.hris.employer_benefits.list(
-
client.hris.employer_benefits.retrieve(...) +
client.accounting.vendor_credits.meta_patch_retrieve(...)
@@ -25972,7 +26849,7 @@ client.hris.employer_benefits.list(
-Returns an `EmployerBenefit` object with the given `id`. +Returns metadata for `VendorCredit` PATCHs.
@@ -25993,10 +26870,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employer_benefits.retrieve( +client.accounting.vendor_credits.meta_patch_retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -26021,22 +26896,6 @@ client.hris.employer_benefits.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26049,8 +26908,7 @@ client.hris.employer_benefits.retrieve(
-## Hris Employments -
client.hris.employments.list(...) +
client.accounting.vendor_credits.meta_post_retrieve()
@@ -26062,7 +26920,7 @@ client.hris.employer_benefits.retrieve(
-Returns a list of `Employment` objects. +Returns metadata for `VendorCredit` POSTs.
@@ -26077,45 +26935,13 @@ Returns a list of `Employment` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, - EmploymentsListRequestOrderBy, - EmploymentsListRequestRemoteFields, - EmploymentsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=EmploymentsListRequestOrderBy.EFFECTIVE_DATE_DESCENDING, - page_size=1, - remote_fields=EmploymentsListRequestRemoteFields.EMPLOYMENT_TYPE, - remote_id="remote_id", - show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, -) +client.accounting.vendor_credits.meta_post_retrieve() ```
@@ -26131,103 +26957,133 @@ client.hris.employments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+## Accounting WebhookReceivers +
client.accounting.webhook_receivers.list()
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee. - -
-
-
-**expand:** `typing.Optional[EmploymentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +Returns a list of `WebhookReceiver` objects. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.webhook_receivers.list() + +``` +
+
+#### ⚙️ Parameters +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+
client.accounting.webhook_receivers.create(...)
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 📝 Description
-**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. - +
+
+ +Creates a `WebhookReceiver` object with the given values. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.accounting.webhook_receivers.create( + event="event", + is_active=True, +) + +```
+
+
+ +#### ⚙️ Parameters
-**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
+
+ +**event:** `str`
@@ -26235,7 +27091,7 @@ client.hris.employments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**is_active:** `bool`
@@ -26243,7 +27099,7 @@ client.hris.employments.list(
-**show_enum_origins:** `typing.Optional[EmploymentsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**key:** `typing.Optional[str]`
@@ -26263,7 +27119,8 @@ client.hris.employments.list(
-
client.hris.employments.retrieve(...) +## Crm AccountDetails +
client.crm.account_details.retrieve()
@@ -26275,7 +27132,7 @@ client.hris.employments.list(
-Returns an `Employment` object with the given `id`. +Get details for a linked account.
@@ -26291,24 +27148,12 @@ Returns an `Employment` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, - EmploymentsRetrieveRequestRemoteFields, - EmploymentsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.employments.retrieve( - id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, - include_remote_data=True, - include_shell_data=True, - remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, - show_enum_origins=EmploymentsRetrieveRequestShowEnumOrigins.EMPLOYMENT_TYPE, -) +client.crm.account_details.retrieve() ``` @@ -26324,47 +27169,71 @@ client.hris.employments.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[EmploymentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Crm AccountToken +
client.crm.account_token.retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +Returns the account token for the end user with the provided public token. +
+
+#### 🔌 Usage +
-**remote_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.account_token.retrieve( + public_token="public_token", +) + +```
+
+
+ +#### ⚙️ Parameters
-**show_enum_origins:** `typing.Optional[EmploymentsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
+
+ +**public_token:** `str`
@@ -26384,8 +27253,7 @@ client.hris.employments.retrieve(
-## Hris FieldMapping -
client.hris.field_mapping.field_mappings_retrieve(...) +
client.crm.account_token.regenerate_create()
@@ -26397,7 +27265,7 @@ client.hris.employments.retrieve(
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Exchange Linked Account account tokens.
@@ -26418,9 +27286,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) +client.crm.account_token.regenerate_create() ``` @@ -26436,14 +27302,6 @@ client.hris.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26456,7 +27314,8 @@ client.hris.field_mapping.field_mappings_retrieve(
-
client.hris.field_mapping.field_mappings_create(...) +## Crm Accounts +
client.crm.accounts.list(...)
@@ -26468,7 +27327,7 @@ client.hris.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Account` objects.
@@ -26483,21 +27342,42 @@ Create new Field Mappings that will be available after the next scheduled sync.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.crm.accounts.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", + owner_id="owner_id", + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -26513,7 +27393,7 @@ client.hris.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -26521,7 +27401,7 @@ client.hris.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -26529,7 +27409,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -26537,7 +27417,11 @@ client.hris.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -26545,7 +27429,7 @@ client.hris.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -26553,7 +27437,7 @@ client.hris.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -26561,7 +27445,7 @@ client.hris.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -26569,7 +27453,7 @@ client.hris.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26577,70 +27461,47 @@ client.hris.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
- -
+
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-
-
client.hris.field_mapping.field_mappings_destroy(...)
-#### 📝 Description - -
-
+**name:** `typing.Optional[str]` — If provided, will only return accounts with this name. + +
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**owner_id:** `typing.Optional[str]` — If provided, will only return accounts with this owner. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-#### ⚙️ Parameters - -
-
-
-**field_mapping_id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -26660,7 +27521,7 @@ client.hris.field_mapping.field_mappings_destroy(
-
client.hris.field_mapping.field_mappings_partial_update(...) +
client.crm.accounts.create(...)
@@ -26672,7 +27533,7 @@ client.hris.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates an `Account` object with the given values.
@@ -26688,16 +27549,19 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```python from merge import Merge +from merge.resources.crm import AccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` +client.crm.accounts.create( + is_debug_mode=True, + run_async=True, + model=AccountRequest(), +) + +```
@@ -26711,23 +27575,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**model:** `AccountRequest`
@@ -26735,7 +27583,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -26743,7 +27591,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -26763,7 +27611,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-
client.hris.field_mapping.remote_fields_retrieve(...) +
client.crm.accounts.retrieve(...)
@@ -26775,7 +27623,7 @@ client.hris.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns an `Account` object with the given `id`.
@@ -26796,9 +27644,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.crm.accounts.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -26815,7 +27665,7 @@ client.hris.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -26823,7 +27673,35 @@ client.hris.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -26843,7 +27721,7 @@ client.hris.field_mapping.remote_fields_retrieve(
-
client.hris.field_mapping.target_fields_retrieve() +
client.crm.accounts.partial_update(...)
@@ -26855,7 +27733,7 @@ client.hris.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Updates an `Account` object with the given `id`.
@@ -26871,12 +27749,18 @@ Get all organization-wide Target Fields, this will not include any Linked Accoun ```python from merge import Merge +from merge.resources.crm import PatchedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.field_mapping.target_fields_retrieve() +client.crm.accounts.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedAccountRequest(), +) ``` @@ -26892,6 +27776,38 @@ client.hris.field_mapping.target_fields_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedAccountRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -26904,8 +27820,7 @@ client.hris.field_mapping.target_fields_retrieve()
-## Hris GenerateKey -
client.hris.generate_key.create(...) +
client.crm.accounts.meta_patch_retrieve(...)
@@ -26917,7 +27832,7 @@ client.hris.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns metadata for `CRMAccount` PATCHs.
@@ -26938,8 +27853,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.generate_key.create( - name="Remote Deployment Key 1", +client.crm.accounts.meta_patch_retrieve( + id="id", ) ``` @@ -26956,7 +27871,7 @@ client.hris.generate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str`
@@ -26976,8 +27891,7 @@ client.hris.generate_key.create(
-## Hris Groups -
client.hris.groups.list(...) +
client.crm.accounts.meta_post_retrieve()
@@ -26989,7 +27903,7 @@ client.hris.generate_key.create(
-Returns a list of `Group` objects. +Returns metadata for `CRMAccount` POSTs.
@@ -27004,37 +27918,13 @@ Returns a list of `Group` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_commonly_used_as_team="is_commonly_used_as_team", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - names="names", - page_size=1, - remote_id="remote_id", - types="types", -) +client.crm.accounts.meta_post_retrieve() ```
@@ -27050,63 +27940,82 @@ client.hris.groups.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+
client.crm.accounts.remote_field_classes_list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**is_commonly_used_as_team:** `typing.Optional[str]` — If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.accounts.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -27114,7 +28023,7 @@ client.hris.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -27122,7 +28031,7 @@ client.hris.groups.list(
-**names:** `typing.Optional[str]` — If provided, will only return groups with these names. Multiple values can be separated by commas. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -27130,7 +28039,7 @@ client.hris.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -27138,7 +28047,7 @@ client.hris.groups.list(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27146,7 +28055,7 @@ client.hris.groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -27154,7 +28063,7 @@ client.hris.groups.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -27162,7 +28071,7 @@ client.hris.groups.list(
-**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -27182,7 +28091,8 @@ client.hris.groups.list(
-
client.hris.groups.retrieve(...) +## Crm AsyncPassthrough +
client.crm.async_passthrough.create(...)
@@ -27194,7 +28104,7 @@ client.hris.groups.list(
-Returns a `Group` object with the given `id`. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -27210,15 +28120,17 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -27235,39 +28147,7 @@ client.hris.groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**request:** `DataPassthroughRequest`
@@ -27287,8 +28167,7 @@ client.hris.groups.retrieve(
-## Hris Issues -
client.hris.issues.list(...) +
client.crm.async_passthrough.retrieve(...)
@@ -27300,7 +28179,7 @@ client.hris.groups.retrieve(
-Gets all issues for Organization. +Retrieves data from earlier async-passthrough POST request
@@ -27315,38 +28194,14 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, +client.crm.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -27363,7 +28218,7 @@ client.hris.issues.list(
-**account_token:** `typing.Optional[str]` +**async_passthrough_receipt_id:** `str`
@@ -27371,63 +28226,81 @@ client.hris.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time -
+
+## Crm AuditTrail +
client.crm.audit_trail.list(...)
-**end_user_organization_name:** `typing.Optional[str]` - -
-
+#### 📝 Description
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. - -
-
-
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. - +Gets a list of audit trail events.
+ + + +#### 🔌 Usage
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues - -
-
-
-**integration_name:** `typing.Optional[str]` - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + event_type="event_type", + page_size=1, + start_date="start_date", + user_email="user_email", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -27435,7 +28308,7 @@ client.hris.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -27443,7 +28316,7 @@ client.hris.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -27459,7 +28332,7 @@ client.hris.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -27467,12 +28340,7 @@ client.hris.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -27492,7 +28360,8 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.hris.issues.retrieve(...) +## Crm AvailableActions +
client.crm.available_actions.retrieve()
@@ -27504,7 +28373,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a list of models and actions available for an account.
@@ -27525,9 +28394,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.issues.retrieve( - id="id", -) +client.crm.available_actions.retrieve() ``` @@ -27543,14 +28410,6 @@ client.hris.issues.retrieve(
-**id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -27563,8 +28422,8 @@ client.hris.issues.retrieve(
-## Hris LinkToken -
client.hris.link_token.create(...) +## Crm Contacts +
client.crm.contacts.list(...)
@@ -27576,7 +28435,7 @@ client.hris.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `Contact` objects.
@@ -27591,19 +28450,43 @@ Creates a link token to be used when linking a new end user.
```python +import datetime + from merge import Merge -from merge.resources.hris import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.crm.contacts.list( + account_id="account_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_addresses="email_addresses", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + phone_numbers="phone_numbers", + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -27619,7 +28502,7 @@ client.hris.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**account_id:** `typing.Optional[str]` — If provided, will only return contacts with this account.
@@ -27627,7 +28510,7 @@ client.hris.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -27635,7 +28518,7 @@ client.hris.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -27643,7 +28526,7 @@ client.hris.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -27651,7 +28534,7 @@ client.hris.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
@@ -27659,7 +28542,12 @@ client.hris.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**expand:** `typing.Optional[ + typing.Union[ + ContactsListRequestExpandItem, + typing.Sequence[ContactsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -27667,7 +28555,7 @@ client.hris.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -27675,7 +28563,7 @@ client.hris.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -27683,7 +28571,7 @@ client.hris.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -27691,14 +28579,7 @@ client.hris.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27706,12 +28587,7 @@ client.hris.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -27719,7 +28595,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -27727,7 +28603,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -27735,11 +28611,15 @@ The following subset of IETF language tags can be used to configure localization
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` +**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. + +
+
-When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. +
+
-* `SELECTIVE_SYNC` - SELECTIVE_SYNC +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -27759,8 +28639,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Hris LinkedAccounts -
client.hris.linked_accounts.list(...) +
client.crm.contacts.create(...)
@@ -27772,7 +28651,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Creates a `Contact` object with the given values.
@@ -27788,28 +28667,16 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.hris.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) +from merge.resources.crm import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", +client.crm.contacts.create( + is_debug_mode=True, + run_async=True, + model=ContactRequest(), ) ``` @@ -27826,17 +28693,7 @@ client.hris.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**model:** `ContactRequest`
@@ -27844,7 +28701,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -27852,7 +28709,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -27860,47 +28717,73 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. -
+
+
client.crm.contacts.retrieve(...)
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
+#### 📝 Description
-**id:** `typing.Optional[str]` - +
+
+ +Returns a `Contact` object with the given `id`. +
+
+#### 🔌 Usage +
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.contacts.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, +) + +```
+
+
+ +#### ⚙️ Parameters
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +
+
+ +**id:** `str`
@@ -27908,7 +28791,12 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**expand:** `typing.Optional[ + typing.Union[ + ContactsRetrieveRequestExpandItem, + typing.Sequence[ContactsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -27916,7 +28804,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -27924,7 +28812,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -27932,7 +28820,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -27952,8 +28840,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Hris Locations -
client.hris.locations.list(...) +
client.crm.contacts.partial_update(...)
@@ -27965,7 +28852,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Returns a list of `Location` objects. +Updates a `Contact` object with the given `id`.
@@ -27980,41 +28867,18 @@ Returns a list of `Location` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.locations import ( - LocationsListRequestLocationType, - LocationsListRequestRemoteFields, - LocationsListRequestShowEnumOrigins, -) +from merge.resources.crm import PatchedContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - location_type=LocationsListRequestLocationType.HOME, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=LocationsListRequestRemoteFields.COUNTRY, - remote_id="remote_id", - show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, +client.crm.contacts.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedContactRequest(), ) ``` @@ -28031,7 +28895,7 @@ client.hris.locations.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -28039,7 +28903,7 @@ client.hris.locations.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**model:** `PatchedContactRequest`
@@ -28047,7 +28911,7 @@ client.hris.locations.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -28055,7 +28919,7 @@ client.hris.locations.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -28063,68 +28927,74 @@ client.hris.locations.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+
client.crm.contacts.ignore_create(...)
-**location_type:** `typing.Optional[LocationsListRequestLocationType]` - -If provided, will only return locations with this location type +#### 📝 Description -* `HOME` - HOME -* `WORK` - WORK - -
-
+
+
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +
+
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +```python +from merge import Merge +from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.contacts.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
-
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**model_id:** `str`
@@ -28132,7 +29002,7 @@ If provided, will only return locations with this location type
-**show_enum_origins:** `typing.Optional[LocationsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**request:** `IgnoreCommonModelRequest`
@@ -28152,7 +29022,7 @@ If provided, will only return locations with this location type
-
client.hris.locations.retrieve(...) +
client.crm.contacts.meta_patch_retrieve(...)
@@ -28164,7 +29034,7 @@ If provided, will only return locations with this location type
-Returns a `Location` object with the given `id`. +Returns metadata for `CRMContact` PATCHs.
@@ -28180,21 +29050,13 @@ Returns a `Location` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.locations import ( - LocationsRetrieveRequestRemoteFields, - LocationsRetrieveRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.locations.retrieve( +client.crm.contacts.meta_patch_retrieve( id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=LocationsRetrieveRequestRemoteFields.COUNTRY, - show_enum_origins=LocationsRetrieveRequestShowEnumOrigins.COUNTRY, ) ``` @@ -28219,35 +29081,64 @@ client.hris.locations.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+
client.crm.contacts.meta_post_retrieve()
-**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `CRMContact` POSTs. +
+
+#### 🔌 Usage +
-**show_enum_origins:** `typing.Optional[LocationsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.contacts.meta_post_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -28263,8 +29154,7 @@ client.hris.locations.retrieve(
-## Hris Passthrough -
client.hris.passthrough.create(...) +
client.crm.contacts.remote_field_classes_list(...)
@@ -28276,7 +29166,7 @@ client.hris.locations.retrieve(
-Pull data from an endpoint not currently supported by Merge. +Returns a list of `RemoteFieldClass` objects.
@@ -28292,18 +29182,26 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.hris import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.crm.contacts.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -28319,7 +29217,63 @@ client.hris.passthrough.create(
-**request:** `DataPassthroughRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -28339,8 +29293,8 @@ client.hris.passthrough.create(
-## Hris PayGroups -
client.hris.pay_groups.list(...) +## Crm CustomObjectClasses +
client.crm.custom_object_classes.list(...)
@@ -28352,7 +29306,7 @@ client.hris.passthrough.create(
-Returns a list of `PayGroup` objects. +Returns a list of `CustomObjectClass` objects.
@@ -28375,7 +29329,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.list( +response = client.crm.custom_object_classes.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -28395,6 +29349,11 @@ client.hris.pay_groups.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -28434,6 +29393,18 @@ client.hris.pay_groups.list(
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -28502,7 +29473,7 @@ client.hris.pay_groups.list(
-
client.hris.pay_groups.retrieve(...) +
client.crm.custom_object_classes.retrieve(...)
@@ -28514,7 +29485,7 @@ client.hris.pay_groups.list(
-Returns a `PayGroup` object with the given `id`. +Returns a `CustomObjectClass` object with the given `id`.
@@ -28535,7 +29506,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.pay_groups.retrieve( +client.crm.custom_object_classes.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -28563,6 +29534,18 @@ client.hris.pay_groups.retrieve(
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -28591,8 +29574,8 @@ client.hris.pay_groups.retrieve(
-## Hris PayrollRuns -
client.hris.payroll_runs.list(...) +## Crm AssociationTypes +
client.crm.association_types.custom_object_classes_association_types_list(...)
@@ -28604,7 +29587,7 @@ client.hris.pay_groups.retrieve(
-Returns a list of `PayrollRun` objects. +Returns a list of `AssociationType` objects.
@@ -28622,51 +29605,39 @@ Returns a list of `PayrollRun` objects. import datetime from merge import Merge -from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsListRequestRemoteFields, - PayrollRunsListRequestRunType, - PayrollRunsListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=PayrollRunsListRequestRemoteFields.RUN_STATE, - remote_id="remote_id", - run_type=PayrollRunsListRequestRunType.CORRECTION, - show_enum_origins=PayrollRunsListRequestShowEnumOrigins.RUN_STATE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = ( + client.crm.association_types.custom_object_classes_association_types_list( + custom_object_class_id="custom_object_class_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + ) ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -28682,7 +29653,7 @@ client.hris.payroll_runs.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**custom_object_class_id:** `str`
@@ -28690,7 +29661,7 @@ client.hris.payroll_runs.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -28698,7 +29669,7 @@ client.hris.payroll_runs.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -28706,7 +29677,7 @@ client.hris.payroll_runs.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -28714,7 +29685,12 @@ client.hris.payroll_runs.list(
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], + typing.Sequence[typing.Literal["target_object_classes"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -28770,14 +29746,6 @@ client.hris.payroll_runs.list(
-**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -28786,46 +29754,6 @@ client.hris.payroll_runs.list(
-**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` - -If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') - -* `REGULAR` - REGULAR -* `OFF_CYCLE` - OFF_CYCLE -* `CORRECTION` - CORRECTION -* `TERMINATION` - TERMINATION -* `SIGN_ON_BONUS` - SIGN_ON_BONUS - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[PayrollRunsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started after this datetime. - -
-
- -
-
- -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -28838,7 +29766,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-
client.hris.payroll_runs.retrieve(...) +
client.crm.association_types.custom_object_classes_association_types_create(...)
@@ -28850,7 +29778,7 @@ If provided, will only return PayrollRun's with this status. Options: ('REGULAR'
-Returns a `PayrollRun` object with the given `id`. +Creates an `AssociationType` object with the given values.
@@ -28866,21 +29794,33 @@ Returns a `PayrollRun` object with the given `id`. ```python from merge import Merge -from merge.resources.hris.resources.payroll_runs import ( - PayrollRunsRetrieveRequestRemoteFields, - PayrollRunsRetrieveRequestShowEnumOrigins, +from merge.resources.crm import ( + AssociationTypeRequestRequest, + ObjectClassDescriptionRequest, + OriginTypeEnum, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.payroll_runs.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=PayrollRunsRetrieveRequestRemoteFields.RUN_STATE, - show_enum_origins=PayrollRunsRetrieveRequestShowEnumOrigins.RUN_STATE, +client.crm.association_types.custom_object_classes_association_types_create( + custom_object_class_id="custom_object_class_id", + is_debug_mode=True, + run_async=True, + model=AssociationTypeRequestRequest( + source_object_class=ObjectClassDescriptionRequest( + id="id", + origin_type=OriginTypeEnum.CUSTOM_OBJECT, + ), + target_object_classes=[ + ObjectClassDescriptionRequest( + id="id", + origin_type=OriginTypeEnum.CUSTOM_OBJECT, + ) + ], + remote_key_name="remote_key_name", + ), ) ``` @@ -28897,15 +29837,7 @@ client.hris.payroll_runs.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**custom_object_class_id:** `str`
@@ -28913,7 +29845,7 @@ client.hris.payroll_runs.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**model:** `AssociationTypeRequestRequest`
@@ -28921,7 +29853,7 @@ client.hris.payroll_runs.retrieve(
-**remote_fields:** `typing.Optional[PayrollRunsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -28929,7 +29861,7 @@ client.hris.payroll_runs.retrieve(
-**show_enum_origins:** `typing.Optional[PayrollRunsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -28949,8 +29881,7 @@ client.hris.payroll_runs.retrieve(
-## Hris RegenerateKey -
client.hris.regenerate_key.create(...) +
client.crm.association_types.custom_object_classes_association_types_retrieve(...)
@@ -28962,7 +29893,7 @@ client.hris.payroll_runs.retrieve(
-Exchange remote keys. +Returns an `AssociationType` object with the given `id`.
@@ -28983,8 +29914,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.regenerate_key.create( - name="Remote Deployment Key 1", +client.crm.association_types.custom_object_classes_association_types_retrieve( + custom_object_class_id="custom_object_class_id", + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -29001,7 +29935,7 @@ client.hris.regenerate_key.create(
-**name:** `str` — The name of the remote key +**custom_object_class_id:** `str`
@@ -29009,72 +29943,28 @@ client.hris.regenerate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**id:** `str`
- -
- - - - -
- -## Hris SyncStatus -
client.hris.sync_status.list(...) -
-
- -#### 📝 Description
-
-
- -Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
+**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], + typing.Sequence[typing.Literal["target_object_classes"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### ⚙️ Parameters - -
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29082,7 +29972,7 @@ client.hris.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29102,8 +29992,7 @@ client.hris.sync_status.list(
-## Hris ForceResync -
client.hris.force_resync.sync_status_resync_create() +
client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve(...)
@@ -29115,7 +30004,7 @@ client.hris.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `CRMAssociationType` POSTs.
@@ -29136,7 +30025,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.force_resync.sync_status_resync_create() +client.crm.association_types.custom_object_classes_association_types_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", +) ``` @@ -29152,6 +30043,14 @@ client.hris.force_resync.sync_status_resync_create()
+**custom_object_class_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -29164,8 +30063,8 @@ client.hris.force_resync.sync_status_resync_create()
-## Hris Teams -
client.hris.teams.list(...) +## Crm CustomObjects +
client.crm.custom_objects.custom_object_classes_custom_objects_list(...)
@@ -29177,7 +30076,7 @@ client.hris.force_resync.sync_status_resync_create()
-Returns a list of `Team` objects. +Returns a list of `CustomObject` objects.
@@ -29200,7 +30099,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.list( +response = client.crm.custom_objects.custom_object_classes_custom_objects_list( + custom_object_class_id="custom_object_class_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -29210,6 +30110,7 @@ client.hris.teams.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -29218,9 +30119,13 @@ client.hris.teams.list( "2024-01-15 09:30:00+00:00", ), page_size=1, - parent_team_id="parent_team_id", remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -29236,7 +30141,7 @@ client.hris.teams.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**custom_object_class_id:** `str`
@@ -29244,7 +30149,7 @@ client.hris.teams.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -29252,7 +30157,7 @@ client.hris.teams.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -29260,7 +30165,7 @@ client.hris.teams.list(
-**expand:** `typing.Optional[typing.Literal["parent_team"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29284,7 +30189,7 @@ client.hris.teams.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29292,7 +30197,7 @@ client.hris.teams.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29300,7 +30205,7 @@ client.hris.teams.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -29308,7 +30213,7 @@ client.hris.teams.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -29316,7 +30221,7 @@ client.hris.teams.list(
-**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -29344,7 +30249,7 @@ client.hris.teams.list(
-
client.hris.teams.retrieve(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_create(...)
@@ -29356,7 +30261,7 @@ client.hris.teams.list(
-Returns a `Team` object with the given `id`. +Creates a `CustomObject` object with the given values.
@@ -29372,15 +30277,19 @@ Returns a `Team` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import CustomObjectRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.teams.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.custom_objects.custom_object_classes_custom_objects_create( + custom_object_class_id="custom_object_class_id", + is_debug_mode=True, + run_async=True, + model=CustomObjectRequest( + fields={"test_field": "hello"}, + ), ) ``` @@ -29397,7 +30306,7 @@ client.hris.teams.retrieve(
-**id:** `str` +**custom_object_class_id:** `str`
@@ -29405,7 +30314,7 @@ client.hris.teams.retrieve(
-**expand:** `typing.Optional[typing.Literal["parent_team"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `CustomObjectRequest`
@@ -29413,7 +30322,7 @@ client.hris.teams.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -29421,7 +30330,7 @@ client.hris.teams.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -29441,8 +30350,7 @@ client.hris.teams.retrieve(
-## Hris TimeOff -
client.hris.time_off.list(...) +
client.crm.custom_objects.custom_object_classes_custom_objects_retrieve(...)
@@ -29454,7 +30362,7 @@ client.hris.teams.retrieve(
-Returns a list of `TimeOff` objects. +Returns a `CustomObject` object with the given `id`.
@@ -29469,59 +30377,18 @@ Returns a list of `TimeOff` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, - TimeOffListRequestRemoteFields, - TimeOffListRequestRequestType, - TimeOffListRequestShowEnumOrigins, - TimeOffListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.list( - approver_id="approver_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TimeOffListRequestExpand.APPROVER, - include_deleted_data=True, +client.crm.custom_objects.custom_object_classes_custom_objects_retrieve( + custom_object_class_id="custom_object_class_id", + id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_fields=TimeOffListRequestRemoteFields.REQUEST_TYPE, - remote_id="remote_id", - request_type=TimeOffListRequestRequestType.BEREAVEMENT, - show_enum_origins=TimeOffListRequestShowEnumOrigins.REQUEST_TYPE, - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - status=TimeOffListRequestStatus.APPROVED, ) ``` @@ -29538,7 +30405,7 @@ client.hris.time_off.list(
-**approver_id:** `typing.Optional[str]` — If provided, will only return time off for this approver. +**custom_object_class_id:** `str`
@@ -29546,7 +30413,7 @@ client.hris.time_off.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -29554,7 +30421,7 @@ client.hris.time_off.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29562,7 +30429,7 @@ client.hris.time_off.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29570,7 +30437,7 @@ client.hris.time_off.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29578,39 +30445,70 @@ client.hris.time_off.list(
-**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime. -
+
+
client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve(...)
-**expand:** `typing.Optional[TimeOffListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `CRMCustomObject` POSTs. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.custom_objects.custom_object_classes_custom_objects_meta_post_retrieve( + custom_object_class_id="custom_object_class_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**custom_object_class_id:** `str`
@@ -29618,31 +30516,82 @@ client.hris.time_off.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ +
+
+
+ +
client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list(...)
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `RemoteFieldClass` objects. +
+
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -29650,7 +30599,7 @@ client.hris.time_off.list(
-**remote_fields:** `typing.Optional[TimeOffListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29658,7 +30607,7 @@ client.hris.time_off.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -29666,16 +30615,7 @@ client.hris.time_off.list(
-**request_type:** `typing.Optional[TimeOffListRequestRequestType]` - -If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') - -* `VACATION` - VACATION -* `SICK` - SICK -* `PERSONAL` - PERSONAL -* `JURY_DUTY` - JURY_DUTY -* `VOLUNTEER` - VOLUNTEER -* `BEREAVEMENT` - BEREAVEMENT +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -29683,7 +30623,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**show_enum_origins:** `typing.Optional[TimeOffListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -29691,7 +30631,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started after this datetime. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -29699,7 +30639,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -29707,15 +30647,7 @@ If provided, will only return TimeOff with this request type. Options: ('VACATIO
-**status:** `typing.Optional[TimeOffListRequestStatus]` - -If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') - -* `REQUESTED` - REQUESTED -* `APPROVED` - APPROVED -* `DECLINED` - DECLINED -* `CANCELLED` - CANCELLED -* `DELETED` - DELETED +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -29735,7 +30667,8 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-
client.hris.time_off.create(...) +## Crm Associations +
client.crm.associations.custom_object_classes_custom_objects_associations_list(...)
@@ -29747,7 +30680,7 @@ If provided, will only return TimeOff with this status. Options: ('REQUESTED', '
-Creates a `TimeOff` object with the given values. +Returns a list of `Association` objects.
@@ -29762,18 +30695,42 @@ Creates a `TimeOff` object with the given values.
```python +import datetime + from merge import Merge -from merge.resources.hris import TimeOffRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off.create( - is_debug_mode=True, - run_async=True, - model=TimeOffRequest(), +response = client.crm.associations.custom_object_classes_custom_objects_associations_list( + custom_object_class_id="custom_object_class_id", + object_id="object_id", + association_type_id="association_type_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -29789,7 +30746,7 @@ client.hris.time_off.create(
-**model:** `TimeOffRequest` +**custom_object_class_id:** `str`
@@ -29797,7 +30754,7 @@ client.hris.time_off.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**object_id:** `str`
@@ -29805,7 +30762,7 @@ client.hris.time_off.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**association_type_id:** `typing.Optional[str]` — If provided, will only return opportunities with this association_type.
@@ -29813,80 +30770,36 @@ client.hris.time_off.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
- - - - -
- -
client.hris.time_off.retrieve(...) -
-
- -#### 📝 Description - -
-
-Returns a `TimeOff` object with the given `id`. -
-
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, - TimeOffRetrieveRequestRemoteFields, - TimeOffRetrieveRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.time_off.retrieve( - id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, - include_remote_data=True, - include_shell_data=True, - remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, - show_enum_origins=TimeOffRetrieveRequestShowEnumOrigins.REQUEST_TYPE, -) - -``` -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["association_type"], + typing.Sequence[typing.Literal["association_type"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -29894,7 +30807,7 @@ client.hris.time_off.retrieve(
-**expand:** `typing.Optional[TimeOffRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -29918,7 +30831,7 @@ client.hris.time_off.retrieve(
-**remote_fields:** `typing.Optional[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -29926,7 +30839,7 @@ client.hris.time_off.retrieve(
-**show_enum_origins:** `typing.Optional[TimeOffRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -29934,64 +30847,19 @@ client.hris.time_off.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
-
-
- - -
-
-
- -
client.hris.time_off.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `TimeOff` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.time_off.meta_post_retrieve() - -``` -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### ⚙️ Parameters - -
-
-
@@ -30007,8 +30875,7 @@ client.hris.time_off.meta_post_retrieve()
-## Hris TimeOffBalances -
client.hris.time_off_balances.list(...) +
client.crm.associations.custom_object_classes_custom_objects_associations_update(...)
@@ -30020,7 +30887,7 @@ client.hris.time_off.meta_post_retrieve()
-Returns a list of `TimeOffBalance` objects. +Creates an Association between `source_object_id` and `target_object_id` of type `association_type_id`.
@@ -30035,38 +30902,20 @@ Returns a list of `TimeOffBalance` objects.
```python -import datetime - from merge import Merge -from merge.resources.hris.resources.time_off_balances import ( - TimeOffBalancesListRequestPolicyType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, - remote_id="remote_id", +client.crm.associations.custom_object_classes_custom_objects_associations_update( + source_class_id="source_class_id", + source_object_id="source_object_id", + target_class_id="target_class_id", + target_object_id="target_object_id", + association_type_id="association_type_id", + is_debug_mode=True, + run_async=True, ) ``` @@ -30083,7 +30932,7 @@ client.hris.time_off_balances.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**source_class_id:** `str`
@@ -30091,7 +30940,7 @@ client.hris.time_off_balances.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**source_object_id:** `str`
@@ -30099,7 +30948,7 @@ client.hris.time_off_balances.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**target_class_id:** `str`
@@ -30107,7 +30956,7 @@ client.hris.time_off_balances.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return time off balances for this employee. +**target_object_id:** `str`
@@ -30115,7 +30964,7 @@ client.hris.time_off_balances.list(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**association_type_id:** `str`
@@ -30123,7 +30972,7 @@ client.hris.time_off_balances.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -30131,7 +30980,7 @@ client.hris.time_off_balances.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -30139,76 +30988,126 @@ client.hris.time_off_balances.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+## Crm Scopes +
client.crm.scopes.default_scopes_retrieve()
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +
+
+ +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+
+
+ +#### 🔌 Usage
-**policy_type:** `typing.Optional[TimeOffBalancesListRequestPolicyType]` +
+
-If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') +```python +from merge import Merge -* `VACATION` - VACATION -* `SICK` - SICK -* `PERSONAL` - PERSONAL -* `JURY_DUTY` - JURY_DUTY -* `VOLUNTEER` - VOLUNTEER -* `BEREAVEMENT` - BEREAVEMENT - +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.scopes.default_scopes_retrieve() + +```
+
+
+ +#### ⚙️ Parameters
-**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.crm.scopes.linked_account_scopes_retrieve()
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +#### 📝 Description + +
+
+ +
+
+ +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
+
+
+ +#### 🔌 Usage
-**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.scopes.linked_account_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -30224,7 +31123,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-
client.hris.time_off_balances.retrieve(...) +
client.crm.scopes.linked_account_scopes_create(...)
@@ -30236,7 +31135,7 @@ If provided, will only return TimeOffBalance with this policy type. Options: ('V
-Returns a `TimeOffBalance` object with the given `id`. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -30252,15 +31151,42 @@ Returns a `TimeOffBalance` object with the given `id`. ```python from merge import Merge +from merge.resources.crm import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.time_off_balances.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -30277,7 +31203,7 @@ client.hris.time_off_balances.retrieve(
-**id:** `str` +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -30285,43 +31211,65 @@ client.hris.time_off_balances.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+## Crm DeleteAccount +
client.crm.delete_account.delete()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. - +
+
+ +Delete a linked account.
+
+
+ +#### 🔌 Usage
-**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.delete_account.delete() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -30337,8 +31285,8 @@ client.hris.time_off_balances.retrieve(
-## Hris TimesheetEntries -
client.hris.timesheet_entries.list(...) +## Crm EngagementTypes +
client.crm.engagement_types.list(...)
@@ -30350,7 +31298,7 @@ client.hris.time_off_balances.retrieve(
-Returns a list of `TimesheetEntry` objects. +Returns a list of `EngagementType` objects.
@@ -30368,15 +31316,12 @@ Returns a list of `TimesheetEntry` objects. import datetime from merge import Merge -from merge.resources.hris.resources.timesheet_entries import ( - TimesheetEntriesListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.list( +response = client.crm.engagement_types.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -30384,15 +31329,9 @@ client.hris.timesheet_entries.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - employee_id="employee_id", - ended_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - ended_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -30400,16 +31339,14 @@ client.hris.timesheet_entries.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - order_by=TimesheetEntriesListRequestOrderBy.START_TIME_DESCENDING, page_size=1, remote_id="remote_id", - started_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - started_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -30449,31 +31386,7 @@ client.hris.timesheet_entries.list(
-**employee_id:** `typing.Optional[str]` — If provided, will only return timesheet entries for this employee. - -
-
- -
-
- -**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended after this datetime. - -
-
- -
-
- -**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended before this datetime. - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30481,7 +31394,7 @@ client.hris.timesheet_entries.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -30489,7 +31402,7 @@ client.hris.timesheet_entries.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30521,14 +31434,6 @@ client.hris.timesheet_entries.list(
-**order_by:** `typing.Optional[TimesheetEntriesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time. - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -30545,22 +31450,6 @@ client.hris.timesheet_entries.list(
-**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime. - -
-
- -
-
- -**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -30573,7 +31462,7 @@ client.hris.timesheet_entries.list(
-
client.hris.timesheet_entries.create(...) +
client.crm.engagement_types.retrieve(...)
@@ -30585,7 +31474,7 @@ client.hris.timesheet_entries.list(
-Creates a `TimesheetEntry` object with the given values. +Returns an `EngagementType` object with the given `id`.
@@ -30601,16 +31490,16 @@ Creates a `TimesheetEntry` object with the given values. ```python from merge import Merge -from merge.resources.hris import TimesheetEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.create( - is_debug_mode=True, - run_async=True, - model=TimesheetEntryRequest(), +client.crm.engagement_types.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -30627,7 +31516,7 @@ client.hris.timesheet_entries.create(
-**model:** `TimesheetEntryRequest` +**id:** `str`
@@ -30635,7 +31524,7 @@ client.hris.timesheet_entries.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -30643,7 +31532,15 @@ client.hris.timesheet_entries.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30663,7 +31560,7 @@ client.hris.timesheet_entries.create(
-
client.hris.timesheet_entries.retrieve(...) +
client.crm.engagement_types.remote_field_classes_list(...)
@@ -30675,7 +31572,7 @@ client.hris.timesheet_entries.create(
-Returns a `TimesheetEntry` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -30696,11 +31593,21 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.timesheet_entries.retrieve( - id="id", +response = client.crm.engagement_types.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -30716,7 +31623,7 @@ client.hris.timesheet_entries.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -30724,7 +31631,7 @@ client.hris.timesheet_entries.retrieve(
-**expand:** `typing.Optional[typing.Literal["employee"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -30740,7 +31647,7 @@ client.hris.timesheet_entries.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30748,64 +31655,35 @@ client.hris.timesheet_entries.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
-
client.hris.timesheet_entries.meta_post_retrieve()
-#### 📝 Description - -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
-Returns metadata for `TimesheetEntry` POSTs. -
-
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.timesheet_entries.meta_post_retrieve() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-#### ⚙️ Parameters - -
-
-
@@ -30821,8 +31699,8 @@ client.hris.timesheet_entries.meta_post_retrieve()
-## Hris WebhookReceivers -
client.hris.webhook_receivers.list() +## Crm Engagements +
client.crm.engagements.list(...)
@@ -30834,7 +31712,7 @@ client.hris.timesheet_entries.meta_post_retrieve()
-Returns a list of `WebhookReceiver` objects. +Returns a list of `Engagement` objects.
@@ -30849,13 +31727,46 @@ Returns a list of `WebhookReceiver` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.hris.webhook_receivers.list() +response = client.crm.engagements.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -30871,71 +31782,60 @@ client.hris.webhook_receivers.list()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.hris.webhook_receivers.create(...)
-#### 📝 Description - -
-
+**expand:** `typing.Optional[ + typing.Union[ + EngagementsListRequestExpandItem, + typing.Sequence[EngagementsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
-Creates a `WebhookReceiver` object with the given values. -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.hris.webhook_receivers.create( - event="event", - is_active=True, -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### ⚙️ Parameters - -
-
-
-**event:** `str` +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -30943,7 +31843,7 @@ client.hris.webhook_receivers.create(
-**is_active:** `bool` +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -30951,7 +31851,7 @@ client.hris.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -30959,65 +31859,43 @@ client.hris.webhook_receivers.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
-
-
+
+
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-
-## Knowledgebase AccountDetails -
client.knowledgebase.account_details.retrieve()
-#### 📝 Description - -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
-Get details for a linked account. -
-
+**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started after this datetime. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.account_details.retrieve() - -``` -
-
+**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return engagements started before this datetime. +
-#### ⚙️ Parameters - -
-
-
@@ -31033,8 +31911,7 @@ client.knowledgebase.account_details.retrieve()
-## Knowledgebase AccountToken -
client.knowledgebase.account_token.retrieve(...) +
client.crm.engagements.create(...)
@@ -31046,7 +31923,7 @@ client.knowledgebase.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Creates an `Engagement` object with the given values.
@@ -31062,13 +31939,16 @@ Returns the account token for the end user with the provided public token. ```python from merge import Merge +from merge.resources.crm import EngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.account_token.retrieve( - public_token="public_token", +client.crm.engagements.create( + is_debug_mode=True, + run_async=True, + model=EngagementRequest(), ) ``` @@ -31085,7 +31965,23 @@ client.knowledgebase.account_token.retrieve(
-**public_token:** `str` +**model:** `EngagementRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -31105,8 +32001,7 @@ client.knowledgebase.account_token.retrieve(
-## Knowledgebase Articles -
client.knowledgebase.articles.list(...) +
client.crm.engagements.retrieve(...)
@@ -31118,7 +32013,7 @@ client.knowledgebase.account_token.retrieve(
-Returns a list of `Article` objects. +Returns an `Engagement` object with the given `id`.
@@ -31133,43 +32028,17 @@ Returns a list of `Article` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, +client.crm.engagements.retrieve( + id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, ) ``` @@ -31186,31 +32055,7 @@ client.knowledgebase.articles.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ArticlesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**id:** `str`
@@ -31218,7 +32063,12 @@ client.knowledgebase.articles.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + EngagementsRetrieveRequestExpandItem, + typing.Sequence[EngagementsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -31234,71 +32084,7 @@ client.knowledgebase.articles.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**parent_article_id:** `typing.Optional[str]` — If provided, will only return sub articles of the parent_article_id. - -
-
- -
-
- -**parent_container_id:** `typing.Optional[str]` — If provided, will only return sub articles of the parent_container_id. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**root_container_id:** `typing.Optional[str]` — If provided, will only return sub articles of the root_container_id. - -
-
- -
-
- -**status:** `typing.Optional[str]` — If provided, will only return articles of the given status; multiple statuses can be separated by commas. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -31306,7 +32092,7 @@ client.knowledgebase.articles.list(
-**type:** `typing.Optional[ArticlesListRequestType]` — If provided, will only return articles of the given type. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -31326,7 +32112,7 @@ client.knowledgebase.articles.list(
-
client.knowledgebase.articles.retrieve(...) +
client.crm.engagements.partial_update(...)
@@ -31338,7 +32124,7 @@ client.knowledgebase.articles.list(
-Returns an `Article` object with the given `id`. +Updates an `Engagement` object with the given `id`.
@@ -31354,19 +32140,17 @@ Returns an `Article` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, -) +from merge.resources.crm import PatchedEngagementRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.articles.retrieve( +client.crm.engagements.partial_update( id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, + is_debug_mode=True, + run_async=True, + model=PatchedEngagementRequest(), ) ``` @@ -31391,7 +32175,7 @@ client.knowledgebase.articles.retrieve(
-**expand:** `typing.Optional[ArticlesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `PatchedEngagementRequest`
@@ -31399,7 +32183,7 @@ client.knowledgebase.articles.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -31407,7 +32191,7 @@ client.knowledgebase.articles.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -31427,8 +32211,7 @@ client.knowledgebase.articles.retrieve(
-## Knowledgebase AsyncPassthrough -
client.knowledgebase.async_passthrough.create(...) +
client.crm.engagements.meta_patch_retrieve(...)
@@ -31440,7 +32223,7 @@ client.knowledgebase.articles.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns metadata for `Engagement` PATCHs.
@@ -31456,17 +32239,13 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.crm.engagements.meta_patch_retrieve( + id="id", ) ``` @@ -31483,7 +32262,7 @@ client.knowledgebase.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**id:** `str`
@@ -31503,7 +32282,7 @@ client.knowledgebase.async_passthrough.create(
-
client.knowledgebase.async_passthrough.retrieve(...) +
client.crm.engagements.meta_post_retrieve()
@@ -31515,7 +32294,7 @@ client.knowledgebase.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +Returns metadata for `Engagement` POSTs.
@@ -31536,9 +32315,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) +client.crm.engagements.meta_post_retrieve() ``` @@ -31554,14 +32331,6 @@ client.knowledgebase.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -31574,8 +32343,7 @@ client.knowledgebase.async_passthrough.retrieve(
-## Knowledgebase Attachments -
client.knowledgebase.attachments.list(...) +
client.crm.engagements.remote_field_classes_list(...)
@@ -31587,7 +32355,7 @@ client.knowledgebase.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Returns a list of `RemoteFieldClass` objects.
@@ -31602,34 +32370,27 @@ Returns a list of `Attachment` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.engagements.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + is_common_model_field=True, + is_custom=True, page_size=1, - remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -31645,22 +32406,6 @@ client.knowledgebase.attachments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -31685,7 +32430,7 @@ client.knowledgebase.attachments.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -31693,7 +32438,7 @@ client.knowledgebase.attachments.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -31701,7 +32446,7 @@ client.knowledgebase.attachments.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -31709,7 +32454,7 @@ client.knowledgebase.attachments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -31717,7 +32462,7 @@ client.knowledgebase.attachments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -31737,7 +32482,8 @@ client.knowledgebase.attachments.list(
-
client.knowledgebase.attachments.retrieve(...) +## Crm FieldMapping +
client.crm.field_mapping.field_mappings_retrieve(...)
@@ -31749,7 +32495,7 @@ client.knowledgebase.attachments.list(
-Returns an `Attachment` object with the given `id`. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -31770,10 +32516,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.crm.field_mapping.field_mappings_retrieve( + exclude_remote_field_metadata=True, ) ``` @@ -31790,23 +32534,7 @@ client.knowledgebase.attachments.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -31826,8 +32554,7 @@ client.knowledgebase.attachments.retrieve(
-## Knowledgebase AuditTrail -
client.knowledgebase.audit_trail.list(...) +
client.crm.field_mapping.field_mappings_create(...)
@@ -31839,7 +32566,7 @@ client.knowledgebase.attachments.retrieve(
-Gets a list of audit trail events. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -31860,13 +32587,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.crm.field_mapping.field_mappings_create( + exclude_remote_field_metadata=True, + remote_data_iteration_count=1, + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -31883,7 +32612,7 @@ client.knowledgebase.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -31891,7 +32620,7 @@ client.knowledgebase.audit_trail.list(
-**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -31899,7 +32628,7 @@ client.knowledgebase.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -31907,7 +32636,7 @@ client.knowledgebase.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -31915,7 +32644,7 @@ client.knowledgebase.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -31923,7 +32652,31 @@ client.knowledgebase.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. + +
+
+ +
+
+ +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + +
+
+ +
+
+ +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+ +
+
+ +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -31943,8 +32696,7 @@ client.knowledgebase.audit_trail.list(
-## Knowledgebase AvailableActions -
client.knowledgebase.available_actions.retrieve() +
client.crm.field_mapping.field_mappings_destroy(...)
@@ -31956,7 +32708,7 @@ client.knowledgebase.audit_trail.list(
-Returns a list of models and actions available for an account. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -31977,7 +32729,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.available_actions.retrieve() +client.crm.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) ``` @@ -31993,6 +32747,14 @@ client.knowledgebase.available_actions.retrieve()
+**field_mapping_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -32005,8 +32767,7 @@ client.knowledgebase.available_actions.retrieve()
-## Knowledgebase Containers -
client.knowledgebase.containers.list(...) +
client.crm.field_mapping.field_mappings_partial_update(...)
@@ -32018,7 +32779,7 @@ client.knowledgebase.available_actions.retrieve()
-Returns a list of `Container` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -32033,41 +32794,15 @@ Returns a list of `Container` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, +client.crm.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) ``` @@ -32084,7 +32819,7 @@ client.knowledgebase.containers.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**field_mapping_id:** `str`
@@ -32092,7 +32827,7 @@ client.knowledgebase.containers.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided.
@@ -32100,7 +32835,7 @@ client.knowledgebase.containers.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -32108,7 +32843,7 @@ client.knowledgebase.containers.list(
-**expand:** `typing.Optional[ContainersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -32116,7 +32851,7 @@ client.knowledgebase.containers.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -32124,7 +32859,7 @@ client.knowledgebase.containers.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -32132,55 +32867,71 @@ client.knowledgebase.containers.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+
+
client.crm.field_mapping.remote_fields_retrieve(...)
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
-
-**parent_article_id:** `typing.Optional[str]` — If provided, will only return sub containers of the parent_article_id. - +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +
+
+#### 🔌 Usage +
-**parent_container_id:** `typing.Optional[str]` — If provided, will only return sub containers of the parent_container_id. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.field_mapping.remote_fields_retrieve( + common_models="common_models", + include_example_values="include_example_values", +) + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+
+ +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -32188,7 +32939,7 @@ client.knowledgebase.containers.list(
-**type:** `typing.Optional[ContainersListRequestType]` — If provided, will only return containers of the given type. +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -32208,7 +32959,7 @@ client.knowledgebase.containers.list(
-
client.knowledgebase.containers.retrieve(...) +
client.crm.field_mapping.target_fields_retrieve()
@@ -32220,7 +32971,7 @@ client.knowledgebase.containers.list(
-Returns a `Container` object with the given `id`. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -32236,20 +32987,12 @@ Returns a `Container` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, -) +client.crm.field_mapping.target_fields_retrieve() ``` @@ -32265,39 +33008,7 @@ client.knowledgebase.containers.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[ContainersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -32309,8 +33020,8 @@ client.knowledgebase.containers.retrieve(
-## Knowledgebase Scopes -
client.knowledgebase.scopes.default_scopes_retrieve() +## Crm GenerateKey +
client.crm.generate_key.create(...)
@@ -32322,7 +33033,7 @@ client.knowledgebase.containers.retrieve(
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Create a remote key.
@@ -32343,7 +33054,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.scopes.default_scopes_retrieve() +client.crm.generate_key.create( + name="Remote Deployment Key 1", +) ``` @@ -32359,6 +33072,14 @@ client.knowledgebase.scopes.default_scopes_retrieve()
+**name:** `str` — The name of the remote key + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -32371,7 +33092,8 @@ client.knowledgebase.scopes.default_scopes_retrieve()
-
client.knowledgebase.scopes.linked_account_scopes_retrieve() +## Crm Issues +
client.crm.issues.list(...)
@@ -32383,7 +33105,7 @@ client.knowledgebase.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Gets all issues for Organization.
@@ -32398,13 +33120,44 @@ Get all available permissions for Merge Common Models and fields for a single Li
```python +import datetime + from merge import Merge +from merge.resources.crm.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.scopes.linked_account_scopes_retrieve() +response = client.crm.issues.list( + account_token="account_token", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + end_user_organization_name="end_user_organization_name", + first_incident_time_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + first_incident_time_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + include_muted="include_muted", + integration_name="integration_name", + last_incident_time_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + last_incident_time_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + linked_account_id="linked_account_id", + page_size=1, + start_date="start_date", + status=IssuesListRequestStatus.ONGOING, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -32420,99 +33173,55 @@ client.knowledgebase.scopes.linked_account_scopes_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**account_token:** `typing.Optional[str]`
- -
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-
client.knowledgebase.scopes.linked_account_scopes_create(...)
-#### 📝 Description - -
-
+**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time + +
+
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
+**end_user_organization_name:** `typing.Optional[str]` +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) - -``` -
-
+**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +
-#### ⚙️ Parameters -
+**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. + +
+
+
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -32520,65 +33229,64 @@ client.knowledgebase.scopes.linked_account_scopes_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**integration_name:** `typing.Optional[str]`
- - +
+
+**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +
-
-## Knowledgebase DeleteAccount -
client.knowledgebase.delete_account.delete()
-#### 📝 Description +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. + +
+
+**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. + +
+
+
-Delete a linked account. -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + -#### 🔌 Usage -
+**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time + +
+
+
-```python -from merge import Merge +**status:** `typing.Optional[IssuesListRequestStatus]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.delete_account.delete() +Status of the issue. Options: ('ONGOING', 'RESOLVED') -``` -
-
+* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED + -#### ⚙️ Parameters - -
-
-
@@ -32594,8 +33302,7 @@ client.knowledgebase.delete_account.delete()
-## Knowledgebase FieldMapping -
client.knowledgebase.field_mapping.field_mappings_retrieve(...) +
client.crm.issues.retrieve(...)
@@ -32607,7 +33314,7 @@ client.knowledgebase.delete_account.delete()
-Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Get a specific issue.
@@ -32628,8 +33335,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, +client.crm.issues.retrieve( + id="id", ) ``` @@ -32646,7 +33353,7 @@ client.knowledgebase.field_mapping.field_mappings_retrieve(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**id:** `str`
@@ -32666,7 +33373,8 @@ client.knowledgebase.field_mapping.field_mappings_retrieve(
-
client.knowledgebase.field_mapping.field_mappings_create(...) +## Crm Leads +
client.crm.leads.list(...)
@@ -32678,7 +33386,7 @@ client.knowledgebase.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Lead` objects.
@@ -32693,21 +33401,45 @@ Create new Field Mappings that will be available after the next scheduled sync.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.crm.leads.list( + converted_account_id="converted_account_id", + converted_contact_id="converted_contact_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_addresses="email_addresses", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + owner_id="owner_id", + page_size=1, + phone_numbers="phone_numbers", + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -32723,7 +33455,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**converted_account_id:** `typing.Optional[str]` — If provided, will only return leads with this account.
@@ -32731,7 +33463,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**converted_contact_id:** `typing.Optional[str]` — If provided, will only return leads with this contact.
@@ -32739,7 +33471,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -32747,7 +33479,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -32755,7 +33487,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -32763,7 +33495,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**email_addresses:** `typing.Optional[str]` — If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas.
@@ -32771,7 +33503,11 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**expand:** `typing.Optional[ + typing.Union[ + LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -32779,7 +33515,7 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -32787,70 +33523,71 @@ client.knowledgebase.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
+
+
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-
-
client.knowledgebase.field_mapping.field_mappings_destroy(...)
-#### 📝 Description +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + -#### 🔌 Usage -
+**owner_id:** `typing.Optional[str]` — If provided, will only return leads with this owner. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + -#### ⚙️ Parameters -
+**phone_numbers:** `typing.Optional[str]` — If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. + +
+
+
-**field_mapping_id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -32870,7 +33607,7 @@ client.knowledgebase.field_mapping.field_mappings_destroy(
-
client.knowledgebase.field_mapping.field_mappings_partial_update(...) +
client.crm.leads.create(...)
@@ -32882,7 +33619,7 @@ client.knowledgebase.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Creates a `Lead` object with the given values.
@@ -32898,13 +33635,16 @@ Create or update existing Field Mappings for a Linked Account. Changes will be r ```python from merge import Merge +from merge.resources.crm import LeadRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.crm.leads.create( + is_debug_mode=True, + run_async=True, + model=LeadRequest(), ) ``` @@ -32921,23 +33661,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**model:** `LeadRequest`
@@ -32945,7 +33669,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -32953,7 +33677,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -32973,7 +33697,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-
client.knowledgebase.field_mapping.remote_fields_retrieve(...) +
client.crm.leads.retrieve(...)
@@ -32985,7 +33709,7 @@ client.knowledgebase.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a `Lead` object with the given `id`.
@@ -33006,9 +33730,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +client.crm.leads.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -33025,7 +33751,7 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**id:** `str`
@@ -33033,7 +33759,36 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**expand:** `typing.Optional[ + typing.Union[ + LeadsRetrieveRequestExpandItem, + typing.Sequence[LeadsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -33053,7 +33808,7 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-
client.knowledgebase.field_mapping.target_fields_retrieve() +
client.crm.leads.meta_post_retrieve()
@@ -33065,7 +33820,7 @@ client.knowledgebase.field_mapping.remote_fields_retrieve(
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). +Returns metadata for `Lead` POSTs.
@@ -33086,7 +33841,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.field_mapping.target_fields_retrieve() +client.crm.leads.meta_post_retrieve() ``` @@ -33114,8 +33869,7 @@ client.knowledgebase.field_mapping.target_fields_retrieve()
-## Knowledgebase GenerateKey -
client.knowledgebase.generate_key.create(...) +
client.crm.leads.remote_field_classes_list(...)
@@ -33127,7 +33881,7 @@ client.knowledgebase.field_mapping.target_fields_retrieve()
-Create a remote key. +Returns a list of `RemoteFieldClass` objects.
@@ -33148,9 +33902,21 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", +response = client.crm.leads.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -33166,7 +33932,63 @@ client.knowledgebase.generate_key.create(
-**name:** `str` — The name of the remote key +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -33186,8 +34008,8 @@ client.knowledgebase.generate_key.create(
-## Knowledgebase Groups -
client.knowledgebase.groups.list(...) +## Crm LinkToken +
client.crm.link_token.create(...)
@@ -33199,7 +34021,7 @@ client.knowledgebase.generate_key.create(
-Returns a list of `Group` objects. +Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -33214,37 +34036,18 @@ Returns a list of `Group` objects.
```python -import datetime - from merge import Merge -from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, -) +from merge.resources.crm import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.crm.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -33261,7 +34064,7 @@ client.knowledgebase.groups.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -33269,7 +34072,7 @@ client.knowledgebase.groups.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -33277,7 +34080,7 @@ client.knowledgebase.groups.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -33285,7 +34088,7 @@ client.knowledgebase.groups.list(
-**expand:** `typing.Optional[GroupsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -33293,7 +34096,7 @@ client.knowledgebase.groups.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
@@ -33301,7 +34104,7 @@ client.knowledgebase.groups.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30.
@@ -33309,7 +34112,7 @@ client.knowledgebase.groups.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
@@ -33317,7 +34120,7 @@ client.knowledgebase.groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
@@ -33325,7 +34128,7 @@ client.knowledgebase.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account.
@@ -33333,7 +34136,14 @@ client.knowledgebase.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings.
@@ -33341,7 +34151,28 @@ client.knowledgebase.groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de + +
+
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+ +
+
+ +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -33361,7 +34192,8 @@ client.knowledgebase.groups.list(
-
client.knowledgebase.groups.retrieve(...) +## Crm LinkedAccounts +
client.crm.linked_accounts.list(...)
@@ -33373,7 +34205,7 @@ client.knowledgebase.groups.list(
-Returns a `Group` object with the given `id`. +List linked accounts for your organization.
@@ -33389,20 +34221,34 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge -from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, +from merge.resources.crm.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.groups.retrieve( +response = client.crm.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", + page_size=1, + status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -33418,7 +34264,17 @@ client.knowledgebase.groups.retrieve(
-**id:** `str` +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -33426,7 +34282,7 @@ client.knowledgebase.groups.retrieve(
-**expand:** `typing.Optional[GroupsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -33434,7 +34290,7 @@ client.knowledgebase.groups.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -33442,7 +34298,79 @@ client.knowledgebase.groups.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. + +
+
+ +
+
+ +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. + +
+
+ +
+
+ +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. + +
+
+ +
+
+ +**id:** `typing.Optional[str]` + +
+
+ +
+
+ +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + +
+
+ +
+
+ +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + +
+
+ +
+
+ +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. + +
+
+ +
+
+ +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -33462,8 +34390,8 @@ client.knowledgebase.groups.retrieve(
-## Knowledgebase Issues -
client.knowledgebase.issues.list(...) +## Crm Notes +
client.crm.notes.list(...)
@@ -33475,7 +34403,7 @@ client.knowledgebase.groups.retrieve(
-Gets all issues for Organization. +Returns a list of `Note` objects.
@@ -33493,38 +34421,41 @@ Gets all issues for Organization. import datetime from merge import Merge -from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( +response = client.crm.notes.list( + account_id="account_id", + contact_id="contact_id", + created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - first_incident_time_before=datetime.datetime.fromisoformat( + created_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - last_incident_time_before=datetime.datetime.fromisoformat( + modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - linked_account_id="linked_account_id", + opportunity_id="opportunity_id", + owner_id="owner_id", page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -33540,7 +34471,7 @@ client.knowledgebase.issues.list(
-**account_token:** `typing.Optional[str]` +**account_id:** `typing.Optional[str]` — If provided, will only return notes with this account.
@@ -33548,7 +34479,7 @@ client.knowledgebase.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**contact_id:** `typing.Optional[str]` — If provided, will only return notes with this contact.
@@ -33556,7 +34487,7 @@ client.knowledgebase.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -33564,7 +34495,7 @@ client.knowledgebase.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -33572,7 +34503,7 @@ client.knowledgebase.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -33580,7 +34511,11 @@ client.knowledgebase.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -33588,7 +34523,7 @@ client.knowledgebase.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -33596,7 +34531,7 @@ client.knowledgebase.issues.list(
-**integration_name:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -33604,7 +34539,7 @@ client.knowledgebase.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -33612,7 +34547,7 @@ client.knowledgebase.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -33620,7 +34555,7 @@ client.knowledgebase.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -33628,7 +34563,7 @@ client.knowledgebase.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -33636,7 +34571,7 @@ client.knowledgebase.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**opportunity_id:** `typing.Optional[str]` — If provided, will only return notes with this opportunity.
@@ -33644,12 +34579,23 @@ client.knowledgebase.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` +**owner_id:** `typing.Optional[str]` — If provided, will only return notes with this owner. + +
+
-Status of the issue. Options: ('ONGOING', 'RESOLVED') +
+
-* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -33669,7 +34615,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.knowledgebase.issues.retrieve(...) +
client.crm.notes.create(...)
@@ -33681,7 +34627,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Creates a `Note` object with the given values.
@@ -33697,13 +34643,16 @@ Get a specific issue. ```python from merge import Merge +from merge.resources.crm import NoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.issues.retrieve( - id="id", +client.crm.notes.create( + is_debug_mode=True, + run_async=True, + model=NoteRequest(), ) ``` @@ -33720,7 +34669,23 @@ client.knowledgebase.issues.retrieve(
-**id:** `str` +**model:** `NoteRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -33740,8 +34705,7 @@ client.knowledgebase.issues.retrieve(
-## Knowledgebase LinkToken -
client.knowledgebase.link_token.create(...) +
client.crm.notes.retrieve(...)
@@ -33753,7 +34717,7 @@ client.knowledgebase.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a `Note` object with the given `id`.
@@ -33769,17 +34733,16 @@ Creates a link token to be used when linking a new end user. ```python from merge import Merge -from merge.resources.knowledgebase import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +client.crm.notes.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -33796,7 +34759,7 @@ client.knowledgebase.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**id:** `str`
@@ -33804,7 +34767,12 @@ client.knowledgebase.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**expand:** `typing.Optional[ + typing.Union[ + NotesRetrieveRequestExpandItem, + typing.Sequence[NotesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -33812,7 +34780,7 @@ client.knowledgebase.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -33820,7 +34788,7 @@ client.knowledgebase.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -33828,7 +34796,7 @@ client.knowledgebase.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -33836,90 +34804,63 @@ client.knowledgebase.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. -
-
-
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. -
+
+
client.crm.notes.meta_post_retrieve()
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
+#### 📝 Description
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - -
-
-
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de - +Returns metadata for `Note` POSTs.
- -
-
- -**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. -
+#### 🔌 Usage +
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. - -
-
-
-**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` +```python +from merge import Merge -When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.notes.meta_post_retrieve() -* `SELECTIVE_SYNC` - SELECTIVE_SYNC - +```
+ + + +#### ⚙️ Parameters + +
+
@@ -33936,8 +34877,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-## Knowledgebase LinkedAccounts -
client.knowledgebase.linked_accounts.list(...) +
client.crm.notes.remote_field_classes_list(...)
@@ -33949,7 +34889,7 @@ When creating a Link token, you can specifiy the initial screen of Linking Flow
-List linked accounts for your organization. +Returns a list of `RemoteFieldClass` objects.
@@ -33965,29 +34905,26 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, +response = client.crm.notes.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, page_size=1, - status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -34003,18 +34940,7 @@ client.knowledgebase.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage -* `knowledgebase` - knowledgebase +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -34022,7 +34948,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -34030,7 +34956,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -34038,7 +34964,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -34046,7 +34972,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -34054,7 +34980,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -34062,7 +34988,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**id:** `typing.Optional[str]` +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value
@@ -34070,7 +34996,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -34078,50 +35004,10 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. -
-
- -
-
- -**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. - -
-
- -
-
- -**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
+ +
@@ -34130,8 +35016,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-## Knowledgebase Passthrough -
client.knowledgebase.passthrough.create(...) +## Crm Opportunities +
client.crm.opportunities.list(...)
@@ -34143,7 +35029,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mk
-Pull data from an endpoint not currently supported by Merge. +Returns a list of `Opportunity` objects.
@@ -34158,19 +35044,50 @@ Pull data from an endpoint not currently supported by Merge.
```python +import datetime + from merge import Merge -from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum +from merge.resources.crm.resources.opportunities import ( + OpportunitiesListRequestStatus, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", +response = client.crm.opportunities.list( + account_id="account_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", ), + owner_id="owner_id", + page_size=1, + remote_created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_id="remote_id", + stage_id="stage_id", + status=OpportunitiesListRequestStatus.LOST, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -34186,7 +35103,7 @@ client.knowledgebase.passthrough.create(
-**request:** `DataPassthroughRequest` +**account_id:** `typing.Optional[str]` — If provided, will only return opportunities with this account.
@@ -34194,71 +35111,68 @@ client.knowledgebase.passthrough.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
- -
+
+
+**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
-
-## Knowledgebase RegenerateKey -
client.knowledgebase.regenerate_key.create(...)
-#### 📝 Description - -
-
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
-Exchange remote keys. -
-
+**expand:** `typing.Optional[ + typing.Union[ + OpportunitiesListRequestExpandItem, + typing.Sequence[OpportunitiesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### 🔌 Usage -
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + -#### ⚙️ Parameters -
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+
-**name:** `str` — The name of the remote key +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -34266,72 +35180,71 @@ client.knowledgebase.regenerate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
- - +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-
-## Knowledgebase SyncStatus -
client.knowledgebase.sync_status.list(...)
-#### 📝 Description +**owner_id:** `typing.Optional[str]` — If provided, will only return opportunities with this owner. + +
+
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
+**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return opportunities created in the third party platform after this datetime. + -#### 🔌 Usage -
+**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + -#### ⚙️ Parameters -
+**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**stage_id:** `typing.Optional[str]` — If provided, will only return opportunities with this stage.
@@ -34339,7 +35252,13 @@ client.knowledgebase.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**status:** `typing.Optional[OpportunitiesListRequestStatus]` + +If provided, will only return opportunities with this status. Options: ('OPEN', 'WON', 'LOST') + +* `OPEN` - OPEN +* `WON` - WON +* `LOST` - LOST
@@ -34359,8 +35278,7 @@ client.knowledgebase.sync_status.list(
-## Knowledgebase ForceResync -
client.knowledgebase.force_resync.sync_status_resync_create() +
client.crm.opportunities.create(...)
@@ -34372,7 +35290,7 @@ client.knowledgebase.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Creates an `Opportunity` object with the given values.
@@ -34388,12 +35306,17 @@ Force re-sync of all models. This endpoint is available for monthly, quarterly, ```python from merge import Merge +from merge.resources.crm import OpportunityRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.force_resync.sync_status_resync_create() +client.crm.opportunities.create( + is_debug_mode=True, + run_async=True, + model=OpportunityRequest(), +) ``` @@ -34409,6 +35332,30 @@ client.knowledgebase.force_resync.sync_status_resync_create()
+**model:** `OpportunityRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34421,8 +35368,7 @@ client.knowledgebase.force_resync.sync_status_resync_create()
-## Knowledgebase Users -
client.knowledgebase.users.list(...) +
client.crm.opportunities.retrieve(...)
@@ -34434,7 +35380,7 @@ client.knowledgebase.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Returns an `Opportunity` object with the given `id`.
@@ -34449,33 +35395,17 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.crm.opportunities.retrieve( + id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", ) ``` @@ -34492,7 +35422,7 @@ client.knowledgebase.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -34500,7 +35430,12 @@ client.knowledgebase.users.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**expand:** `typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, + typing.Sequence[OpportunitiesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -34508,7 +35443,7 @@ client.knowledgebase.users.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -34516,7 +35451,7 @@ client.knowledgebase.users.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -34524,7 +35459,7 @@ client.knowledgebase.users.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -34532,7 +35467,7 @@ client.knowledgebase.users.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins.
@@ -34540,7 +35475,7 @@ client.knowledgebase.users.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -34548,15 +35483,74 @@ client.knowledgebase.users.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + + +
+
client.crm.opportunities.partial_update(...)
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +#### 📝 Description + +
+
+ +
+
+ +Updates an `Opportunity` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge +from merge.resources.crm import PatchedOpportunityRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.opportunities.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedOpportunityRequest(), +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str`
@@ -34564,7 +35558,23 @@ client.knowledgebase.users.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**model:** `PatchedOpportunityRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -34584,7 +35594,7 @@ client.knowledgebase.users.list(
-
client.knowledgebase.users.retrieve(...) +
client.crm.opportunities.meta_patch_retrieve(...)
@@ -34596,7 +35606,7 @@ client.knowledgebase.users.list(
-Returns a `User` object with the given `id`. +Returns metadata for `Opportunity` PATCHs.
@@ -34617,10 +35627,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.users.retrieve( +client.crm.opportunities.meta_patch_retrieve( id="id", - include_remote_data=True, - include_shell_data=True, ) ``` @@ -34645,22 +35653,6 @@ client.knowledgebase.users.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34673,8 +35665,7 @@ client.knowledgebase.users.retrieve(
-## Knowledgebase WebhookReceivers -
client.knowledgebase.webhook_receivers.list() +
client.crm.opportunities.meta_post_retrieve()
@@ -34686,7 +35677,7 @@ client.knowledgebase.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Returns metadata for `Opportunity` POSTs.
@@ -34707,7 +35698,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.webhook_receivers.list() +client.crm.opportunities.meta_post_retrieve() ``` @@ -34735,7 +35726,7 @@ client.knowledgebase.webhook_receivers.list()
-
client.knowledgebase.webhook_receivers.create(...) +
client.crm.opportunities.remote_field_classes_list(...)
@@ -34747,7 +35738,7 @@ client.knowledgebase.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Returns a list of `RemoteFieldClass` objects.
@@ -34768,10 +35759,21 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, +response = client.crm.opportunities.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -34787,7 +35789,7 @@ client.knowledgebase.webhook_receivers.create(
-**event:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -34795,7 +35797,7 @@ client.knowledgebase.webhook_receivers.create(
-**is_active:** `bool` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -34803,7 +35805,47 @@ client.knowledgebase.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -34823,8 +35865,8 @@ client.knowledgebase.webhook_receivers.create(
-## Ticketing AccountDetails -
client.ticketing.account_details.retrieve() +## Crm Passthrough +
client.crm.passthrough.create(...)
@@ -34836,7 +35878,7 @@ client.knowledgebase.webhook_receivers.create(
-Get details for a linked account. +Pull data from an endpoint not currently supported by Merge.
@@ -34852,12 +35894,18 @@ Get details for a linked account. ```python from merge import Merge +from merge.resources.crm import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_details.retrieve() +client.crm.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) ``` @@ -34873,6 +35921,14 @@ client.ticketing.account_details.retrieve()
+**request:** `DataPassthroughRequest` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -34885,8 +35941,8 @@ client.ticketing.account_details.retrieve()
-## Ticketing AccountToken -
client.ticketing.account_token.retrieve(...) +## Crm RegenerateKey +
client.crm.regenerate_key.create(...)
@@ -34898,7 +35954,7 @@ client.ticketing.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Exchange remote keys.
@@ -34919,8 +35975,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.account_token.retrieve( - public_token="public_token", +client.crm.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -34937,7 +35993,7 @@ client.ticketing.account_token.retrieve(
-**public_token:** `str` +**name:** `str` — The name of the remote key
@@ -34957,8 +36013,8 @@ client.ticketing.account_token.retrieve(
-## Ticketing Accounts -
client.ticketing.accounts.list(...) +## Crm Stages +
client.crm.stages.list(...)
@@ -34970,7 +36026,7 @@ client.ticketing.account_token.retrieve(
-Returns a list of `Account` objects. +Returns a list of `Stage` objects.
@@ -34993,7 +36049,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.accounts.list( +response = client.crm.stages.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -35003,6 +36059,7 @@ client.ticketing.accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -35013,6 +36070,11 @@ client.ticketing.accounts.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -35068,6 +36130,14 @@ client.ticketing.accounts.list(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -35092,7 +36162,7 @@ client.ticketing.accounts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -35120,7 +36190,7 @@ client.ticketing.accounts.list(
-
client.ticketing.accounts.retrieve(...) +
client.crm.stages.retrieve(...)
@@ -35132,7 +36202,7 @@ client.ticketing.accounts.list(
-Returns an `Account` object with the given `id`. +Returns a `Stage` object with the given `id`.
@@ -35153,9 +36223,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.accounts.retrieve( +client.crm.stages.retrieve( id="id", include_remote_data=True, + include_remote_fields=True, include_shell_data=True, ) @@ -35189,6 +36260,14 @@ client.ticketing.accounts.retrieve(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -35209,8 +36288,7 @@ client.ticketing.accounts.retrieve(
-## Ticketing AsyncPassthrough -
client.ticketing.async_passthrough.create(...) +
client.crm.stages.remote_field_classes_list(...)
@@ -35222,7 +36300,7 @@ client.ticketing.accounts.retrieve(
-Asynchronously pull data from an endpoint not currently supported by Merge. +Returns a list of `RemoteFieldClass` objects.
@@ -35238,18 +36316,26 @@ Asynchronously pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +response = client.crm.stages.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -35265,7 +36351,7 @@ client.ticketing.async_passthrough.create(
-**request:** `DataPassthroughRequest` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -35273,70 +36359,55 @@ client.ticketing.async_passthrough.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
- -
+
+
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-
-
client.ticketing.async_passthrough.retrieve(...)
-#### 📝 Description - -
-
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
-Retrieves data from earlier async-passthrough POST request -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) - -``` -
-
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +
-#### ⚙️ Parameters -
+**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+
-**async_passthrough_receipt_id:** `str` +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -35356,8 +36427,8 @@ client.ticketing.async_passthrough.retrieve(
-## Ticketing Attachments -
client.ticketing.attachments.list(...) +## Crm SyncStatus +
client.crm.sync_status.list(...)
@@ -35369,7 +36440,7 @@ client.ticketing.async_passthrough.retrieve(
-Returns a list of `Attachment` objects. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -35384,38 +36455,21 @@ Returns a list of `Attachment` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.crm.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -35431,7 +36485,7 @@ client.ticketing.attachments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -35439,7 +36493,7 @@ client.ticketing.attachments.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -35447,91 +36501,65 @@ client.ticketing.attachments.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[typing.Literal["ticket"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+## Crm ForceResync +
client.crm.force_resync.sync_status_resync_create()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
-
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return attachments created in the third party platform after this datetime. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.force_resync.sync_status_resync_create() -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +```
+ + + +#### ⚙️ Parameters
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. - -
-
-
@@ -35547,7 +36575,8 @@ client.ticketing.attachments.list(
-
client.ticketing.attachments.create(...) +## Crm Tasks +
client.crm.tasks.list(...)
@@ -35559,7 +36588,7 @@ client.ticketing.attachments.list(
-Creates an `Attachment` object with the given values. +Returns a list of `Task` objects.
@@ -35574,18 +36603,40 @@ Creates an `Attachment` object with the given values.
```python +import datetime + from merge import Merge -from merge.resources.ticketing import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.create( - is_debug_mode=True, - run_async=True, - model=AttachmentRequest(), +response = client.crm.tasks.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -35601,7 +36652,7 @@ client.ticketing.attachments.create(
-**model:** `AttachmentRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -35609,7 +36660,7 @@ client.ticketing.attachments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -35617,7 +36668,7 @@ client.ticketing.attachments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -35625,72 +36676,51 @@ client.ticketing.attachments.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-
client.ticketing.attachments.retrieve(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Returns an `Attachment` object with the given `id`. -
-
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters -
-
-
- -**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -35698,7 +36728,7 @@ client.ticketing.attachments.retrieve(
-**expand:** `typing.Optional[typing.Literal["ticket"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -35706,7 +36736,7 @@ client.ticketing.attachments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -35714,7 +36744,7 @@ client.ticketing.attachments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -35734,7 +36764,7 @@ client.ticketing.attachments.retrieve(
-
client.ticketing.attachments.meta_post_retrieve() +
client.crm.tasks.create(...)
@@ -35746,7 +36776,7 @@ client.ticketing.attachments.retrieve(
-Returns metadata for `TicketingAttachment` POSTs. +Creates a `Task` object with the given values.
@@ -35762,12 +36792,17 @@ Returns metadata for `TicketingAttachment` POSTs. ```python from merge import Merge +from merge.resources.crm import TaskRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.attachments.meta_post_retrieve() +client.crm.tasks.create( + is_debug_mode=True, + run_async=True, + model=TaskRequest(), +) ``` @@ -35783,6 +36818,30 @@ client.ticketing.attachments.meta_post_retrieve()
+**model:** `TaskRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35795,8 +36854,7 @@ client.ticketing.attachments.meta_post_retrieve()
-## Ticketing AuditTrail -
client.ticketing.audit_trail.list(...) +
client.crm.tasks.retrieve(...)
@@ -35808,7 +36866,7 @@ client.ticketing.attachments.meta_post_retrieve()
-Gets a list of audit trail events. +Returns a `Task` object with the given `id`.
@@ -35829,13 +36887,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.crm.tasks.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, ) ``` @@ -35852,15 +36908,7 @@ client.ticketing.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time +**id:** `str`
@@ -35868,7 +36916,12 @@ client.ticketing.audit_trail.list(
-**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` +**expand:** `typing.Optional[ + typing.Union[ + TasksRetrieveRequestExpandItem, + typing.Sequence[TasksRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -35876,7 +36929,7 @@ client.ticketing.audit_trail.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -35884,7 +36937,7 @@ client.ticketing.audit_trail.list(
-**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -35892,7 +36945,7 @@ client.ticketing.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -35912,8 +36965,7 @@ client.ticketing.audit_trail.list(
-## Ticketing AvailableActions -
client.ticketing.available_actions.retrieve() +
client.crm.tasks.partial_update(...)
@@ -35925,7 +36977,7 @@ client.ticketing.audit_trail.list(
-Returns a list of models and actions available for an account. +Updates a `Task` object with the given `id`.
@@ -35941,12 +36993,18 @@ Returns a list of models and actions available for an account. ```python from merge import Merge +from merge.resources.crm import PatchedTaskRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.available_actions.retrieve() +client.crm.tasks.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedTaskRequest(), +) ``` @@ -35962,6 +37020,38 @@ client.ticketing.available_actions.retrieve()
+**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedTaskRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -35974,8 +37064,7 @@ client.ticketing.available_actions.retrieve()
-## Ticketing Collections -
client.ticketing.collections.list(...) +
client.crm.tasks.meta_patch_retrieve(...)
@@ -35987,7 +37076,7 @@ client.ticketing.available_actions.retrieve()
-Returns a list of `Collection` objects. +Returns metadata for `Task` PATCHs.
@@ -36002,39 +37091,14 @@ Returns a list of `Collection` objects.
```python -import datetime - from merge import Merge -from merge.resources.ticketing.resources.collections import ( - CollectionsListRequestCollectionType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.list( - collection_type=CollectionsListRequestCollectionType.EMPTY, - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_collection_id="parent_collection_id", - remote_id="remote_id", +client.crm.tasks.meta_patch_retrieve( + id="id", ) ``` @@ -36051,15 +37115,7 @@ client.ticketing.collections.list(
-**collection_type:** `typing.Optional[CollectionsListRequestCollectionType]` — If provided, will only return collections of the given type. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**id:** `str`
@@ -36067,115 +37123,64 @@ client.ticketing.collections.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. -
-
-
-**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+
client.crm.tasks.meta_post_retrieve()
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
+#### 📝 Description
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +Returns metadata for `Task` POSTs.
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
-
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
+#### 🔌 Usage
-**name:** `typing.Optional[str]` — If provided, will only return collections with this name. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.tasks.meta_post_retrieve() -**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id. - +```
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. -
-
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
+#### ⚙️ Parameters
-**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
-
@@ -36191,7 +37196,7 @@ client.ticketing.collections.list(
-
client.ticketing.collections.viewers_list(...) +
client.crm.tasks.remote_field_classes_list(...)
@@ -36203,7 +37208,7 @@ client.ticketing.collections.list(
-Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) +Returns a list of `RemoteFieldClass` objects.
@@ -36219,23 +37224,26 @@ Returns a list of `Viewer` objects that point to a User id or Team id that is ei ```python from merge import Merge -from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.viewers_list( - collection_id="collection_id", +response = client.crm.tasks.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -36251,7 +37259,7 @@ client.ticketing.collections.viewers_list(
-**collection_id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -36259,7 +37267,7 @@ client.ticketing.collections.viewers_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -36267,7 +37275,7 @@ client.ticketing.collections.viewers_list(
-**expand:** `typing.Optional[CollectionsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -36275,7 +37283,7 @@ client.ticketing.collections.viewers_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -36283,7 +37291,7 @@ client.ticketing.collections.viewers_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -36291,7 +37299,7 @@ client.ticketing.collections.viewers_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value
@@ -36299,7 +37307,15 @@ client.ticketing.collections.viewers_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -36319,7 +37335,8 @@ client.ticketing.collections.viewers_list(
-
client.ticketing.collections.retrieve(...) +## Crm Users +
client.crm.users.list(...)
@@ -36331,7 +37348,7 @@ client.ticketing.collections.viewers_list(
-Returns a `Collection` object with the given `id`. +Returns a list of `User` objects.
@@ -36346,17 +37363,41 @@ Returns a `Collection` object with the given `id`.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.collections.retrieve( - id="id", +response = client.crm.users.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email="email", + include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -36372,7 +37413,7 @@ client.ticketing.collections.retrieve(
-**id:** `str` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -36380,7 +37421,7 @@ client.ticketing.collections.retrieve(
-**expand:** `typing.Optional[typing.Literal["parent_collection"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -36388,7 +37429,7 @@ client.ticketing.collections.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -36396,7 +37437,7 @@ client.ticketing.collections.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**email:** `typing.Optional[str]` — If provided, will only return users with this email.
@@ -36404,7 +37445,7 @@ client.ticketing.collections.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -36412,7 +37453,7 @@ client.ticketing.collections.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -36420,98 +37461,31 @@ client.ticketing.collections.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
- -
- - - - -
- -## Ticketing Comments -
client.ticketing.comments.list(...) -
-
- -#### 📝 Description
-
-
- -Returns a list of `Comment` objects. -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage - -
-
-
-```python -import datetime - -from merge import Merge -from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.comments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", - ticket_id="ticket_id", -) - -``` -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### ⚙️ Parameters -
-
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -36519,7 +37493,7 @@ client.ticketing.comments.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -36527,7 +37501,7 @@ client.ticketing.comments.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -36535,55 +37509,73 @@ client.ticketing.comments.list(
-**expand:** `typing.Optional[CommentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+
client.crm.users.retrieve(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Returns a `User` object with the given `id`. +
+
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.crm.users.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
+
+ +**id:** `str`
@@ -36591,7 +37583,7 @@ client.ticketing.comments.list(
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return Comments created in the third party platform after this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -36599,7 +37591,7 @@ client.ticketing.comments.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
@@ -36607,7 +37599,7 @@ client.ticketing.comments.list(
-**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -36627,7 +37619,7 @@ client.ticketing.comments.list(
-
client.ticketing.comments.create(...) +
client.crm.users.ignore_create(...)
@@ -36639,7 +37631,7 @@ client.ticketing.comments.list(
-Creates a `Comment` object with the given values. +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes.
@@ -36655,16 +37647,17 @@ Creates a `Comment` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import CommentRequest +from merge.resources.crm import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.create( - is_debug_mode=True, - run_async=True, - model=CommentRequest(), +client.crm.users.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) ``` @@ -36681,15 +37674,7 @@ client.ticketing.comments.create(
-**model:** `CommentRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**model_id:** `str`
@@ -36697,7 +37682,7 @@ client.ticketing.comments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**request:** `IgnoreCommonModelRequest`
@@ -36717,7 +37702,7 @@ client.ticketing.comments.create(
-
client.ticketing.comments.retrieve(...) +
client.crm.users.remote_field_classes_list(...)
@@ -36729,7 +37714,7 @@ client.ticketing.comments.create(
-Returns a `Comment` object with the given `id`. +Returns a list of `RemoteFieldClass` objects.
@@ -36745,20 +37730,26 @@ Returns a `Comment` object with the given `id`. ```python from merge import Merge -from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.retrieve( - id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, +response = client.crm.users.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -36774,7 +37765,7 @@ client.ticketing.comments.retrieve(
-**id:** `str` +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -36782,7 +37773,7 @@ client.ticketing.comments.retrieve(
-**expand:** `typing.Optional[CommentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -36798,6 +37789,14 @@ client.ticketing.comments.retrieve(
+**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + +
+
+ +
+
+ **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -36806,6 +37805,30 @@ client.ticketing.comments.retrieve(
+**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value + +
+
+ +
+
+ +**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -36818,7 +37841,8 @@ client.ticketing.comments.retrieve(
-
client.ticketing.comments.meta_post_retrieve() +## Crm WebhookReceivers +
client.crm.webhook_receivers.list()
@@ -36830,7 +37854,7 @@ client.ticketing.comments.retrieve(
-Returns metadata for `Comment` POSTs. +Returns a list of `WebhookReceiver` objects.
@@ -36851,7 +37875,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.comments.meta_post_retrieve() +client.crm.webhook_receivers.list() ``` @@ -36879,8 +37903,7 @@ client.ticketing.comments.meta_post_retrieve()
-## Ticketing Contacts -
client.ticketing.contacts.list(...) +
client.crm.webhook_receivers.create(...)
@@ -36892,7 +37915,7 @@ client.ticketing.comments.meta_post_retrieve()
-Returns a list of `Contact` objects. +Creates a `WebhookReceiver` object with the given values.
@@ -36907,34 +37930,15 @@ Returns a list of `Contact` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.crm.webhook_receivers.create( + event="event", + is_active=True, ) ``` @@ -36951,7 +37955,7 @@ client.ticketing.contacts.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**event:** `str`
@@ -36959,7 +37963,7 @@ client.ticketing.contacts.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**is_active:** `bool`
@@ -36967,7 +37971,7 @@ client.ticketing.contacts.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**key:** `typing.Optional[str]`
@@ -36975,75 +37979,65 @@ client.ticketing.contacts.list(
-**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+## Hris AccountDetails +
client.hris.account_details.retrieve()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Get details for a linked account. +
+
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.account_details.retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -37059,7 +38053,8 @@ client.ticketing.contacts.list(
-
client.ticketing.contacts.create(...) +## Hris AccountToken +
client.hris.account_token.retrieve(...)
@@ -37071,7 +38066,7 @@ client.ticketing.contacts.list(
-Creates a `Contact` object with the given values. +Returns the account token for the end user with the provided public token.
@@ -37087,16 +38082,13 @@ Creates a `Contact` object with the given values. ```python from merge import Merge -from merge.resources.ticketing import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.create( - is_debug_mode=True, - run_async=True, - model=ContactRequest(), +client.hris.account_token.retrieve( + public_token="public_token", ) ``` @@ -37113,23 +38105,7 @@ client.ticketing.contacts.create(
-**model:** `ContactRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**public_token:** `str`
@@ -37149,7 +38125,7 @@ client.ticketing.contacts.create(
-
client.ticketing.contacts.retrieve(...) +
client.hris.account_token.regenerate_create()
@@ -37161,7 +38137,7 @@ client.ticketing.contacts.create(
-Returns a `Contact` object with the given `id`. +Exchange Linked Account account tokens.
@@ -37182,11 +38158,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.hris.account_token.regenerate_create() ``` @@ -37202,31 +38174,75 @@ client.ticketing.contacts.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +## Hris AsyncPassthrough +
client.hris.async_passthrough.create(...)
-**expand:** `typing.Optional[typing.Literal["account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +#### 📝 Description + +
+
+ +
+
+ +Asynchronously pull data from an endpoint not currently supported by Merge. +
+
+#### 🔌 Usage +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +
+
+ +```python +from merge import Merge +from merge.resources.hris import DataPassthroughRequest, MethodEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +**request:** `DataPassthroughRequest`
@@ -37246,7 +38262,7 @@ client.ticketing.contacts.retrieve(
-
client.ticketing.contacts.meta_post_retrieve() +
client.hris.async_passthrough.retrieve(...)
@@ -37258,7 +38274,7 @@ client.ticketing.contacts.retrieve(
-Returns metadata for `TicketingContact` POSTs. +Retrieves data from earlier async-passthrough POST request
@@ -37279,7 +38295,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.contacts.meta_post_retrieve() +client.hris.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) ``` @@ -37295,6 +38313,14 @@ client.ticketing.contacts.meta_post_retrieve()
+**async_passthrough_receipt_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -37307,8 +38333,8 @@ client.ticketing.contacts.meta_post_retrieve()
-## Ticketing Scopes -
client.ticketing.scopes.default_scopes_retrieve() +## Hris AuditTrail +
client.hris.audit_trail.list(...)
@@ -37320,7 +38346,7 @@ client.ticketing.contacts.meta_post_retrieve()
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Gets a list of audit trail events.
@@ -37341,7 +38367,19 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.default_scopes_retrieve() +response = client.hris.audit_trail.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + event_type="event_type", + page_size=1, + start_date="start_date", + user_email="user_email", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -37357,6 +38395,54 @@ client.ticketing.scopes.default_scopes_retrieve()
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time + +
+
+ +
+
+ +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time + +
+
+ +
+
+ +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -37369,7 +38455,8 @@ client.ticketing.scopes.default_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_retrieve() +## Hris AvailableActions +
client.hris.available_actions.retrieve()
@@ -37381,7 +38468,7 @@ client.ticketing.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Returns a list of models and actions available for an account.
@@ -37402,7 +38489,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.ticketing.scopes.linked_account_scopes_retrieve() +client.hris.available_actions.retrieve() ``` @@ -37430,5189 +38517,8 @@ client.ticketing.scopes.linked_account_scopes_retrieve()
-
client.ticketing.scopes.linked_account_scopes_create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing DeleteAccount -
client.ticketing.delete_account.delete() -
-
- -#### 📝 Description - -
-
- -
-
- -Delete a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.delete_account.delete() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing FieldMapping -
client.ticketing.field_mapping.field_mappings_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.field_mapping.field_mappings_create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**target_field_name:** `str` — The name of the target field you want this remote field to map to. - -
-
- -
-
- -**target_field_description:** `str` — The description of the target field you want this remote field to map to. - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. - -
-
- -
-
- -**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - -
-
- -
-
- -**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.field_mapping.field_mappings_destroy(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**field_mapping_id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.field_mapping.field_mappings_partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**field_mapping_id:** `str` - -
-
- -
-
- -**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - -
-
- -
-
- -**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. - -
-
- -
-
- -**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.field_mapping.remote_fields_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - -
-
- -
-
- -**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.field_mapping.target_fields_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.field_mapping.target_fields_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing GenerateKey -
client.ticketing.generate_key.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Create a remote key. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**name:** `str` — The name of the remote key - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Issues -
client.ticketing.issues.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Gets all issues for Organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.ticketing.resources.issues import IssuesListRequestStatus - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_token:** `typing.Optional[str]` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` - -
-
- -
-
- -**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. - -
-
- -
-
- -**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. - -
-
- -
-
- -**include_muted:** `typing.Optional[str]` — If true, will include muted issues - -
-
- -
-
- -**integration_name:** `typing.Optional[str]` - -
-
- -
-
- -**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. - -
-
- -
-
- -**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - -
-
- -
-
- -**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time - -
-
- -
-
- -**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.issues.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get a specific issue. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.issues.retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing LinkToken -
client.ticketing.link_token.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a link token to be used when linking a new end user. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing import CategoriesEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - -
-
- -
-
- -**end_user_organization_name:** `str` — Your end user's organization. - -
-
- -
-
- -**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - -
-
- -
-
- -**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. - -
-
- -
-
- -**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - -
-
- -
-
- -**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - -
-
- -
-
- -**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - -
-
- -
-
- -**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - -
-
- -
-
- -**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - -
-
- -
-
- -**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - -
-
- -
-
- -**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de - -
-
- -
-
- -**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. - -
-
- -
-
- -**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. - -
-
- -
-
- -**completed_account_initial_screen:** `typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen]` - -When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - -* `SELECTIVE_SYNC` - SELECTIVE_SYNC - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing LinkedAccounts -
client.ticketing.linked_accounts.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -List linked accounts for your organization. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - -
-
- -
-
- -**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - -
-
- -
-
- -**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - -
-
- -
-
- -**id:** `typing.Optional[str]` - -
-
- -
-
- -**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - -
-
- -
-
- -**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - -
-
- -
-
- -**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. - -
-
- -
-
- -**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Passthrough -
client.ticketing.passthrough.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Pull data from an endpoint not currently supported by Merge. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DataPassthroughRequest` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Projects -
client.ticketing.projects.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Project` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.projects.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.projects.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Project` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.projects.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.projects.users_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `User` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.projects.users_list( - parent_id="parent_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**parent_id:** `str` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[ProjectsUsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing RegenerateKey -
client.ticketing.regenerate_key.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Exchange remote keys. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.regenerate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**name:** `str` — The name of the remote key - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Roles -
client.ticketing.roles.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Role` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.roles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.roles.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Role` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.roles.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing SyncStatus -
client.ticketing.sync_status.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing ForceResync -
client.ticketing.force_resync.sync_status_resync_create() -
-
- -#### 📝 Description - -
-
- -
-
- -Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.force_resync.sync_status_resync_create() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Tags -
client.ticketing.tags.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Tag` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tags.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tags.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Tag` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tags.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Teams -
client.ticketing.teams.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Team` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.teams.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.teams.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Team` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.teams.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Tickets -
client.ticketing.tickets.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Ticket` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, - TicketsListRequestPriority, - TicketsListRequestRemoteFields, - TicketsListRequestShowEnumOrigins, - TicketsListRequestStatus, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.list( - account_id="account_id", - assignee_ids="assignee_ids", - collection_ids="collection_ids", - completed_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - completed_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - creator_id="creator_id", - creator_ids="creator_ids", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - due_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - due_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - expand=TicketsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - parent_ticket_id="parent_ticket_id", - priority=TicketsListRequestPriority.HIGH, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_fields=TicketsListRequestRemoteFields.PRIORITY, - remote_id="remote_id", - remote_updated_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_updated_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - show_enum_origins=TicketsListRequestShowEnumOrigins.PRIORITY, - status=TicketsListRequestStatus.EMPTY, - tags="tags", - ticket_type="ticket_type", - ticket_url="ticket_url", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account. - -
-
- -
-
- -**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas. - -
-
- -
-
- -**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas. - -
-
- -
-
- -**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime. - -
-
- -
-
- -**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime. - -
-
- -
-
- -**contact_id:** `typing.Optional[str]` — If provided, will only return tickets for this contact. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**creator_id:** `typing.Optional[str]` — If provided, will only return tickets created by this creator_id. - -
-
- -
-
- -**creator_ids:** `typing.Optional[str]` — If provided, will only return tickets created by the creator_ids; multiple creator_ids can be separated by commas. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime. - -
-
- -
-
- -**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime. - -
-
- -
-
- -**expand:** `typing.Optional[TicketsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**name:** `typing.Optional[str]` — If provided, will only return tickets with this name. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**parent_ticket_id:** `typing.Optional[str]` — If provided, will only return sub tickets of the parent_ticket_id. - -
-
- -
-
- -**priority:** `typing.Optional[TicketsListRequestPriority]` - -If provided, will only return tickets of this priority. - -* `URGENT` - URGENT -* `HIGH` - HIGH -* `NORMAL` - NORMAL -* `LOW` - LOW - -
-
- -
-
- -**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform after this datetime. - -
-
- -
-
- -**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform before this datetime. - -
-
- -
-
- -**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime. - -
-
- -
-
- -**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[TicketsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**status:** `typing.Optional[TicketsListRequestStatus]` — If provided, will only return tickets of this status. - -
-
- -
-
- -**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas. - -
-
- -
-
- -**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type. - -
-
- -
-
- -**ticket_url:** `typing.Optional[str]` — If provided, will only return tickets where the URL matches or contains the substring - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `Ticket` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing import TicketRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.create( - is_debug_mode=True, - run_async=True, - model=TicketRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `TicketRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `Ticket` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, - TicketsRetrieveRequestRemoteFields, - TicketsRetrieveRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.retrieve( - id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - remote_fields=TicketsRetrieveRequestRemoteFields.PRIORITY, - show_enum_origins=TicketsRetrieveRequestShowEnumOrigins.PRIORITY, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[TicketsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[TicketsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[TicketsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.partial_update(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Updates a `Ticket` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing import PatchedTicketRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedTicketRequest(), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**model:** `PatchedTicketRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.viewers_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.viewers_list( - ticket_id="ticket_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**ticket_id:** `str` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[TicketsViewersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.meta_patch_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Ticket` PATCHs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.meta_patch_retrieve( - id="id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.meta_post_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Ticket` POSTs. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.meta_post_retrieve( - collection_id="collection_id", - ticket_type="ticket_type", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**collection_id:** `typing.Optional[str]` — If provided, will only return tickets for this collection. - -
-
- -
-
- -**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets for this ticket type. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.tickets.remote_field_classes_list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `RemoteFieldClass` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.tickets.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - ids="ids", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**ids:** `typing.Optional[str]` — If provided, will only return remote field classes with the `ids` in this list - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing Users -
client.ticketing.users.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `User` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -import datetime - -from merge import Merge -from merge.resources.ticketing.resources.users import UsersListRequestExpand - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=UsersListRequestExpand.ROLES, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - team="team", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive). - -
-
- -
-
- -**expand:** `typing.Optional[UsersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**team:** `typing.Optional[str]` — If provided, will only return users matching in this team. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.users.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `User` object with the given `id`. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.users.retrieve( - id="id", - expand=UsersRetrieveRequestExpand.ROLES, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[UsersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Ticketing WebhookReceivers -
client.ticketing.webhook_receivers.list() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of `WebhookReceiver` objects. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.webhook_receivers.list() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.ticketing.webhook_receivers.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates a `WebhookReceiver` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.ticketing.webhook_receivers.create( - event="event", - is_active=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**event:** `str` - -
-
- -
-
- -**is_active:** `bool` - -
-
- -
-
- -**key:** `typing.Optional[str]` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage AccountDetails -
client.filestorage.account_details.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get details for a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.account_details.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage AccountToken -
client.filestorage.account_token.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns the account token for the end user with the provided public token. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.account_token.retrieve( - public_token="public_token", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**public_token:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage AsyncPassthrough -
client.filestorage.async_passthrough.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Asynchronously pull data from an endpoint not currently supported by Merge. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request:** `DataPassthroughRequest` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.filestorage.async_passthrough.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Retrieves data from earlier async-passthrough POST request -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**async_passthrough_receipt_id:** `str` - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage AuditTrail -
client.filestorage.audit_trail.list(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Gets a list of audit trail events. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time - -
-
- -
-
- -**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage AvailableActions -
client.filestorage.available_actions.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of models and actions available for an account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.available_actions.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage Scopes -
client.filestorage.scopes.default_scopes_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.scopes.default_scopes_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.filestorage.scopes.linked_account_scopes_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.scopes.linked_account_scopes_retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -
client.filestorage.scopes.linked_account_scopes_create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge -from merge.resources.filestorage import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage DeleteAccount -
client.filestorage.delete_account.delete() -
-
- -#### 📝 Description - -
-
- -
-
- -Delete a linked account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.delete_account.delete() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. - -
-
-
-
- - -
-
-
- -## Filestorage Drives -
client.filestorage.drives.list(...) +## Hris BankInfo +
client.hris.bank_info.list(...)
@@ -42624,7 +38530,7 @@ client.filestorage.delete_account.delete()
-Returns a list of `Drive` objects. +Returns a list of `BankInfo` objects.
@@ -42642,12 +38548,18 @@ Returns a list of `Drive` objects. import datetime from merge import Merge +from merge.resources.hris.resources.bank_info import ( + BankInfoListRequestAccountType, + BankInfoListRequestOrderBy, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.drives.list( +response = client.hris.bank_info.list( + account_type=BankInfoListRequestAccountType.CHECKING, + bank_name="bank_name", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -42655,6 +38567,7 @@ client.filestorage.drives.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employee_id="employee_id", include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -42664,10 +38577,15 @@ client.filestorage.drives.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", + order_by=BankInfoListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -42683,6 +38601,27 @@ client.filestorage.drives.list(
+**account_type:** `typing.Optional[BankInfoListRequestAccountType]` + +If provided, will only return BankInfo's with this account type. Options: ('SAVINGS', 'CHECKING') + +* `SAVINGS` - SAVINGS +* `CHECKING` - CHECKING + +
+
+ +
+
+ +**bank_name:** `typing.Optional[str]` — If provided, will only return BankInfo's with this bank name. + +
+
+ +
+
+ **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -42707,6 +38646,26 @@ client.filestorage.drives.list(
+**employee_id:** `typing.Optional[str]` — If provided, will only return bank accounts for this employee. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -42747,7 +38706,7 @@ client.filestorage.drives.list(
-**name:** `typing.Optional[str]` — If provided, will only return drives with this name. This performs an exact match. +**order_by:** `typing.Optional[BankInfoListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at.
@@ -42755,7 +38714,15 @@ client.filestorage.drives.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins.
@@ -42771,6 +38738,14 @@ client.filestorage.drives.list(
+**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -42783,7 +38758,7 @@ client.filestorage.drives.list(
-
client.filestorage.drives.retrieve(...) +
client.hris.bank_info.retrieve(...)
@@ -42795,7 +38770,7 @@ client.filestorage.drives.list(
-Returns a `Drive` object with the given `id`. +Returns a `BankInfo` object with the given `id`.
@@ -42816,7 +38791,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.drives.retrieve( +client.hris.bank_info.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -42844,7 +38819,11 @@ client.filestorage.drives.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -42852,7 +38831,7 @@ client.filestorage.drives.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -42860,71 +38839,23 @@ client.filestorage.drives.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
- -## Filestorage FieldMapping -
client.filestorage.field_mapping.field_mappings_retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, -) - -``` -
-
+**remote_fields:** `typing.Optional[typing.Literal["account_type"]]` — Deprecated. Use show_enum_origins. +
-#### ⚙️ Parameters - -
-
-
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**show_enum_origins:** `typing.Optional[typing.Literal["account_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -42944,7 +38875,8 @@ client.filestorage.field_mapping.field_mappings_retrieve(
-
client.filestorage.field_mapping.field_mappings_create(...) +## Hris Benefits +
client.hris.benefits.list(...)
@@ -42956,7 +38888,7 @@ client.filestorage.field_mapping.field_mappings_retrieve(
-Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a list of `Benefit` objects.
@@ -42971,21 +38903,40 @@ Create new Field Mappings that will be available after the next scheduled sync.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", +response = client.hris.benefits.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employee_id="employee_id", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -43001,7 +38952,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**target_field_name:** `str` — The name of the target field you want this remote field to map to. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -43009,7 +38960,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**target_field_description:** `str` — The description of the target field you want this remote field to map to. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43017,7 +38968,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -43025,7 +38976,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. +**employee_id:** `typing.Optional[str]` — If provided, will return the benefits associated with the employee.
@@ -43033,7 +38984,11 @@ client.filestorage.field_mapping.field_mappings_create(
-**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -43041,7 +38996,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -43049,7 +39004,7 @@ client.filestorage.field_mapping.field_mappings_create(
-**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -43057,70 +39012,39 @@ client.filestorage.field_mapping.field_mappings_create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
-
client.filestorage.field_mapping.field_mappings_destroy(...)
-#### 📝 Description - -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. +
-#### ⚙️ Parameters - -
-
-
-**field_mapping_id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -43140,7 +39064,7 @@ client.filestorage.field_mapping.field_mappings_destroy(
-
client.filestorage.field_mapping.field_mappings_partial_update(...) +
client.hris.benefits.retrieve(...)
@@ -43152,7 +39076,7 @@ client.filestorage.field_mapping.field_mappings_destroy(
-Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +Returns a `Benefit` object with the given `id`.
@@ -43173,8 +39097,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", +client.hris.benefits.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -43191,7 +39117,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**field_mapping_id:** `str` +**id:** `str`
@@ -43199,7 +39125,11 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -43207,7 +39137,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -43215,7 +39145,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -43235,7 +39165,8 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-
client.filestorage.field_mapping.remote_fields_retrieve(...) +## Hris Companies +
client.hris.companies.list(...)
@@ -43247,7 +39178,7 @@ client.filestorage.field_mapping.field_mappings_partial_update(
-Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). +Returns a list of `Company` objects.
@@ -43262,16 +39193,39 @@ Get all remote fields for a Linked Account. Remote fields are third-party fields
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", +response = client.hris.companies.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -43287,7 +39241,7 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -43295,7 +39249,7 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43303,64 +39257,67 @@ client.filestorage.field_mapping.remote_fields_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-
client.filestorage.field_mapping.target_fields_retrieve()
-#### 📝 Description +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+
-Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + -#### 🔌 Usage -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.field_mapping.target_fields_retrieve() - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
@@ -43376,8 +39333,7 @@ client.filestorage.field_mapping.target_fields_retrieve()
-## Filestorage Files -
client.filestorage.files.list(...) +
client.hris.companies.retrieve(...)
@@ -43389,7 +39345,7 @@ client.filestorage.field_mapping.target_fields_retrieve()
-Returns a list of `File` objects. +Returns a `Company` object with the given `id`.
@@ -43404,49 +39360,16 @@ Returns a list of `File` objects.
```python -import datetime - from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, - folder_id="folder_id", - include_deleted_data=True, +client.hris.companies.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - mime_type="mime_type", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - order_by=FilesListRequestOrderBy.CREATED_AT_DESCENDING, - page_size=1, - remote_created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - remote_id="remote_id", ) ``` @@ -43463,55 +39386,7 @@ client.filestorage.files.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**drive_id:** `typing.Optional[str]` — Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - -
-
- -
-
- -**expand:** `typing.Optional[FilesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**folder_id:** `typing.Optional[str]` — Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**id:** `str`
@@ -43535,75 +39410,65 @@ client.filestorage.files.list(
-**mime_type:** `typing.Optional[str]` — If provided, will only return files with these mime_types. Multiple values can be separated by commas. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
+
+## Hris Scopes +
client.hris.scopes.default_scopes_retrieve()
-**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match. - -
-
+#### 📝 Description
-**order_by:** `typing.Optional[FilesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+#### 🔌 Usage +
-**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform after this datetime. - -
-
-
-**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform before this datetime. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.scopes.default_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
@@ -43619,7 +39484,7 @@ client.filestorage.files.list(
-
client.filestorage.files.create(...) +
client.hris.scopes.linked_account_scopes_retrieve()
@@ -43631,7 +39496,7 @@ client.filestorage.files.list(
-Creates a `File` object with the given values. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -43647,17 +39512,12 @@ Creates a `File` object with the given values. ```python from merge import Merge -from merge.resources.filestorage import FileRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.create( - is_debug_mode=True, - run_async=True, - model=FileRequest(), -) +client.hris.scopes.linked_account_scopes_retrieve() ``` @@ -43673,30 +39533,6 @@ client.filestorage.files.create(
-**model:** `FileRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43709,7 +39545,7 @@ client.filestorage.files.create(
-
client.filestorage.files.retrieve(...) +
client.hris.scopes.linked_account_scopes_create(...)
@@ -43721,7 +39557,7 @@ client.filestorage.files.create(
-Returns a `File` object with the given `id`. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -43737,19 +39573,42 @@ Returns a `File` object with the given `id`. ```python from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, +from merge.resources.hris import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.retrieve( - id="id", - expand=FilesRetrieveRequestExpand.DRIVE, - include_remote_data=True, - include_shell_data=True, +client.hris.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -43766,31 +39625,7 @@ client.filestorage.files.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[FilesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -43810,7 +39645,8 @@ client.filestorage.files.retrieve(
-
client.filestorage.files.download_request_meta_retrieve(...) +## Hris DeleteAccount +
client.hris.delete_account.delete()
@@ -43822,7 +39658,7 @@ client.filestorage.files.retrieve(
-Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. +Delete a linked account.
@@ -43843,10 +39679,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.download_request_meta_retrieve( - id="id", - mime_type="mime_type", -) +client.hris.delete_account.delete() ``` @@ -43862,22 +39695,6 @@ client.filestorage.files.download_request_meta_retrieve(
-**id:** `str` - -
-
- -
-
- -**mime_type:** `typing.Optional[str]` — If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -43890,7 +39707,8 @@ client.filestorage.files.download_request_meta_retrieve(
-
client.filestorage.files.download_request_meta_list(...) +## Hris Dependents +
client.hris.dependents.list(...)
@@ -43902,7 +39720,7 @@ client.filestorage.files.download_request_meta_retrieve(
-Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. +Returns a list of `Dependent` objects.
@@ -43917,26 +39735,41 @@ Returns metadata to construct authenticated file download requests, allowing you
```python +import datetime + from merge import Merge -from merge.resources.filestorage.resources.files import ( - FilesDownloadRequestMetaListRequestOrderBy, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.download_request_meta_list( - created_after="created_after", - created_before="created_before", +response = client.hris.dependents.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employee_id="employee_id", include_deleted_data=True, - mime_types="mime_types", - modified_after="modified_after", - modified_before="modified_before", - order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, + include_remote_data=True, + include_sensitive_fields=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -43952,7 +39785,7 @@ client.filestorage.files.download_request_meta_list(
-**created_after:** `typing.Optional[str]` — If provided, will only return objects created after this datetime. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -43960,7 +39793,7 @@ client.filestorage.files.download_request_meta_list(
-**created_before:** `typing.Optional[str]` — If provided, will only return objects created before this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -43976,7 +39809,7 @@ client.filestorage.files.download_request_meta_list(
-**ids:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — If provided, will only return objects with the given IDs. Comma-separated list of strings. +**employee_id:** `typing.Optional[str]` — If provided, will only return dependents for this employee.
@@ -43992,7 +39825,7 @@ client.filestorage.files.download_request_meta_list(
-**mime_types:** `typing.Optional[str]` — A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44000,7 +39833,7 @@ client.filestorage.files.download_request_meta_list(
-**modified_after:** `typing.Optional[str]` — If provided, will only return objects modified after this datetime. +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -44008,7 +39841,7 @@ client.filestorage.files.download_request_meta_list(
-**modified_before:** `typing.Optional[str]` — If provided, will only return objects modified before this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44016,7 +39849,7 @@ client.filestorage.files.download_request_meta_list(
-**order_by:** `typing.Optional[FilesDownloadRequestMetaListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -44024,7 +39857,23 @@ client.filestorage.files.download_request_meta_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -44044,7 +39893,7 @@ client.filestorage.files.download_request_meta_list(
-
client.filestorage.files.meta_post_retrieve() +
client.hris.dependents.retrieve(...)
@@ -44056,7 +39905,7 @@ client.filestorage.files.download_request_meta_list(
-Returns metadata for `FileStorageFile` POSTs. +Returns a `Dependent` object with the given `id`.
@@ -44077,7 +39926,12 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.files.meta_post_retrieve() +client.hris.dependents.retrieve( + id="id", + include_remote_data=True, + include_sensitive_fields=True, + include_shell_data=True, +) ``` @@ -44093,6 +39947,38 @@ client.filestorage.files.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -44105,8 +39991,8 @@ client.filestorage.files.meta_post_retrieve()
-## Filestorage Folders -
client.filestorage.folders.list(...) +## Hris EmployeePayrollRuns +
client.hris.employee_payroll_runs.list(...)
@@ -44118,7 +40004,7 @@ client.filestorage.files.meta_post_retrieve()
-Returns a list of `Folder` objects. +Returns a list of `EmployeePayrollRun` objects.
@@ -44136,15 +40022,12 @@ Returns a list of `Folder` objects. import datetime from merge import Merge -from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.list( +response = client.hris.employee_payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -44152,8 +40035,13 @@ client.filestorage.folders.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, + employee_id="employee_id", + ended_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + ended_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -44163,11 +40051,21 @@ client.filestorage.folders.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", page_size=1, - parent_folder_id="parent_folder_id", + payroll_run_id="payroll_run_id", remote_id="remote_id", + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -44207,7 +40105,23 @@ client.filestorage.folders.list(
-**drive_id:** `typing.Optional[str]` — If provided, will only return folders in this drive. +**employee_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee. + +
+
+ +
+
+ +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended after this datetime. + +
+
+ +
+
+ +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs ended before this datetime.
@@ -44215,7 +40129,12 @@ client.filestorage.folders.list(
-**expand:** `typing.Optional[FoldersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, + typing.Sequence[EmployeePayrollRunsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44263,7 +40182,7 @@ client.filestorage.folders.list(
-**name:** `typing.Optional[str]` — If provided, will only return folders with this name. This performs an exact match. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -44271,7 +40190,7 @@ client.filestorage.folders.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**payroll_run_id:** `typing.Optional[str]` — If provided, will only return employee payroll runs for this employee.
@@ -44279,7 +40198,7 @@ client.filestorage.folders.list(
-**parent_folder_id:** `typing.Optional[str]` — If provided, will only return folders in this parent folder. If null, will return folders in root directory. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -44287,7 +40206,15 @@ client.filestorage.folders.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started after this datetime. + +
+
+ +
+
+ +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employee payroll runs started before this datetime.
@@ -44307,7 +40234,7 @@ client.filestorage.folders.list(
-
client.filestorage.folders.create(...) +
client.hris.employee_payroll_runs.retrieve(...)
@@ -44319,7 +40246,7 @@ client.filestorage.folders.list(
-Creates a `Folder` object with the given values. +Returns an `EmployeePayrollRun` object with the given `id`.
@@ -44335,16 +40262,15 @@ Creates a `Folder` object with the given values. ```python from merge import Merge -from merge.resources.filestorage import FolderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.create( - is_debug_mode=True, - run_async=True, - model=FolderRequest(), +client.hris.employee_payroll_runs.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -44361,7 +40287,7 @@ client.filestorage.folders.create(
-**model:** `FolderRequest` +**id:** `str`
@@ -44369,7 +40295,12 @@ client.filestorage.folders.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44377,7 +40308,15 @@ client.filestorage.folders.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -44397,7 +40336,8 @@ client.filestorage.folders.create(
-
client.filestorage.folders.retrieve(...) +## Hris Employees +
client.hris.employees.list(...)
@@ -44409,7 +40349,7 @@ client.filestorage.folders.create(
-Returns a `Folder` object with the given `id`. +Returns a list of `Employee` objects.
@@ -44424,21 +40364,75 @@ Returns a `Folder` object with the given `id`.
```python +import datetime + from merge import Merge -from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, +from merge.resources.hris.resources.employees import ( + EmployeesListRequestEmploymentStatus, + EmployeesListRequestRemoteFields, + EmployeesListRequestShowEnumOrigins, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.folders.retrieve( - id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, +response = client.hris.employees.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + display_full_name="display_full_name", + employee_number="employee_number", + employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, + employment_type="employment_type", + first_name="first_name", + groups="groups", + home_location_id="home_location_id", + include_deleted_data=True, include_remote_data=True, + include_sensitive_fields=True, include_shell_data=True, + job_title="job_title", + last_name="last_name", + manager_id="manager_id", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + pay_group_id="pay_group_id", + personal_email="personal_email", + remote_fields=EmployeesListRequestRemoteFields.EMPLOYMENT_STATUS, + remote_id="remote_id", + show_enum_origins=EmployeesListRequestShowEnumOrigins.EMPLOYMENT_STATUS, + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + team_id="team_id", + terminated_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + terminated_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + work_email="work_email", + work_location_id="work_location_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -44454,7 +40448,7 @@ client.filestorage.folders.retrieve(
-**id:** `str` +**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company.
@@ -44462,7 +40456,7 @@ client.filestorage.folders.retrieve(
-**expand:** `typing.Optional[FoldersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -44470,7 +40464,7 @@ client.filestorage.folders.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -44478,7 +40472,7 @@ client.filestorage.folders.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -44486,132 +40480,98 @@ client.filestorage.folders.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**display_full_name:** `typing.Optional[str]` — If provided, will only return employees with this display name.
- -
+
+
+**employee_number:** `typing.Optional[str]` — If provided, will only return employees with this employee number. +
-
-
client.filestorage.folders.meta_post_retrieve()
-#### 📝 Description - -
-
+**employment_status:** `typing.Optional[EmployeesListRequestEmploymentStatus]` -
-
+If provided, will only return employees with this employment status. -Returns metadata for `FileStorageFolder` POSTs. -
-
+* `ACTIVE` - ACTIVE +* `PENDING` - PENDING +* `INACTIVE` - INACTIVE +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.folders.meta_post_retrieve() - -``` -
-
+**employment_type:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified employment type. +
-#### ⚙️ Parameters -
-
-
- -**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + EmployeesListRequestExpandItem, + typing.Sequence[EmployeesListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
-
-
+
+
+**first_name:** `typing.Optional[str]` — If provided, will only return employees with this first name. +
-
-## Filestorage GenerateKey -
client.filestorage.generate_key.create(...)
-#### 📝 Description - -
-
+**groups:** `typing.Optional[str]` — If provided, will only return employees matching the group ids; multiple groups can be separated by commas. + +
+
-Create a remote key. -
-
+**home_location_id:** `typing.Optional[str]` — If provided, will only return employees for this home location. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.generate_key.create( - name="Remote Deployment Key 1", -) - -``` -
-
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-#### ⚙️ Parameters -
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+
-**name:** `str` — The name of the remote key +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -44619,90 +40579,71 @@ client.filestorage.generate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- - +
+
+**job_title:** `typing.Optional[str]` — If provided, will only return employees that have an employment of the specified job title. +
-
-## Filestorage Groups -
client.filestorage.groups.list(...)
-#### 📝 Description +**last_name:** `typing.Optional[str]` — If provided, will only return employees with this last name. + +
+
+**manager_id:** `typing.Optional[str]` — If provided, will only return employees for this manager. + +
+
+
-Returns a list of `Group` objects. -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + -#### 🔌 Usage -
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -import datetime - -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + -#### ⚙️ Parameters -
+**pay_group_id:** `typing.Optional[str]` — If provided, will only return employees for this pay group + +
+
+
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**personal_email:** `typing.Optional[str]` — If provided, will only return Employees with this personal email
@@ -44710,7 +40651,7 @@ client.filestorage.groups.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**remote_fields:** `typing.Optional[EmployeesListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -44718,7 +40659,7 @@ client.filestorage.groups.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -44726,7 +40667,7 @@ client.filestorage.groups.list(
-**expand:** `typing.Optional[typing.Literal["child_groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**show_enum_origins:** `typing.Optional[EmployeesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -44734,7 +40675,7 @@ client.filestorage.groups.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started after this datetime.
@@ -44742,7 +40683,7 @@ client.filestorage.groups.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that started before this datetime.
@@ -44750,7 +40691,7 @@ client.filestorage.groups.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**team_id:** `typing.Optional[str]` — If provided, will only return employees for this team.
@@ -44758,7 +40699,7 @@ client.filestorage.groups.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**terminated_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated after this datetime.
@@ -44766,7 +40707,7 @@ client.filestorage.groups.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**terminated_before:** `typing.Optional[dt.datetime]` — If provided, will only return employees that were terminated before this datetime.
@@ -44774,7 +40715,7 @@ client.filestorage.groups.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**work_email:** `typing.Optional[str]` — If provided, will only return Employees with this work email
@@ -44782,7 +40723,7 @@ client.filestorage.groups.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**work_location_id:** `typing.Optional[str]` — If provided, will only return employees for this location.
@@ -44802,7 +40743,7 @@ client.filestorage.groups.list(
-
client.filestorage.groups.retrieve(...) +
client.hris.employees.create(...)
@@ -44814,7 +40755,7 @@ client.filestorage.groups.list(
-Returns a `Group` object with the given `id`. +Creates an `Employee` object with the given values.
@@ -44830,15 +40771,16 @@ Returns a `Group` object with the given `id`. ```python from merge import Merge +from merge.resources.hris import EmployeeRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.hris.employees.create( + is_debug_mode=True, + run_async=True, + model=EmployeeRequest(), ) ``` @@ -44855,15 +40797,7 @@ client.filestorage.groups.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["child_groups"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**model:** `EmployeeRequest`
@@ -44871,7 +40805,7 @@ client.filestorage.groups.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -44879,7 +40813,7 @@ client.filestorage.groups.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -44899,8 +40833,7 @@ client.filestorage.groups.retrieve(
-## Filestorage Issues -
client.filestorage.issues.list(...) +
client.hris.employees.retrieve(...)
@@ -44912,7 +40845,7 @@ client.filestorage.groups.retrieve(
-Gets all issues for Organization. +Returns an `Employee` object with the given `id`.
@@ -44927,38 +40860,23 @@ Gets all issues for Organization.
```python -import datetime - from merge import Merge -from merge.resources.filestorage.resources.issues import IssuesListRequestStatus +from merge.resources.hris.resources.employees import ( + EmployeesRetrieveRequestRemoteFields, + EmployeesRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, +client.hris.employees.retrieve( + id="id", + include_remote_data=True, + include_sensitive_fields=True, + include_shell_data=True, + remote_fields=EmployeesRetrieveRequestRemoteFields.EMPLOYMENT_STATUS, + show_enum_origins=EmployeesRetrieveRequestShowEnumOrigins.EMPLOYMENT_STATUS, ) ``` @@ -44975,7 +40893,7 @@ client.filestorage.issues.list(
-**account_token:** `typing.Optional[str]` +**id:** `str`
@@ -44983,7 +40901,12 @@ client.filestorage.issues.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**expand:** `typing.Optional[ + typing.Union[ + EmployeesRetrieveRequestExpandItem, + typing.Sequence[EmployeesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -44991,7 +40914,7 @@ client.filestorage.issues.list(
-**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -44999,7 +40922,7 @@ client.filestorage.issues.list(
-**end_user_organization_name:** `typing.Optional[str]` +**include_sensitive_fields:** `typing.Optional[bool]` — Whether to include sensitive fields (such as social security numbers) in the response.
@@ -45007,7 +40930,7 @@ client.filestorage.issues.list(
-**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45015,7 +40938,7 @@ client.filestorage.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**remote_fields:** `typing.Optional[EmployeesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -45023,7 +40946,7 @@ client.filestorage.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**show_enum_origins:** `typing.Optional[EmployeesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -45031,47 +40954,74 @@ client.filestorage.issues.list(
-**integration_name:** `typing.Optional[str]` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. -
+
+
client.hris.employees.ignore_create(...)
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. - -
-
+#### 📝 Description
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. - +
+
+ +Ignores a specific row based on the `model_id` in the url. These records will have their properties set to null, and will not be updated in future syncs. The "reason" and "message" fields in the request body will be stored for audit purposes. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge +from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.employees.ignore_create( + model_id="model_id", + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), +) + +``` +
+
+#### ⚙️ Parameters +
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +
+
+ +**model_id:** `str`
@@ -45079,12 +41029,7 @@ client.filestorage.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**request:** `IgnoreCommonModelRequest`
@@ -45104,7 +41049,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.filestorage.issues.retrieve(...) +
client.hris.employees.meta_post_retrieve()
@@ -45116,7 +41061,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns metadata for `Employee` POSTs.
@@ -45137,9 +41082,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.issues.retrieve( - id="id", -) +client.hris.employees.meta_post_retrieve() ``` @@ -45155,14 +41098,6 @@ client.filestorage.issues.retrieve(
-**id:** `str` - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -45175,8 +41110,8 @@ client.filestorage.issues.retrieve(
-## Filestorage LinkToken -
client.filestorage.link_token.create(...) +## Hris EmployerBenefits +
client.hris.employer_benefits.list(...)
@@ -45188,7 +41123,7 @@ client.filestorage.issues.retrieve(
-Creates a link token to be used when linking a new end user. +Returns a list of `EmployerBenefit` objects.
@@ -45203,59 +41138,55 @@ Creates a link token to be used when linking a new end user.
```python +import datetime + from merge import Merge -from merge.resources.filestorage import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.hris.employer_benefits.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
- -#### ⚙️ Parameters - -
-
- -
-
- -**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - -
-
- -
-
- -**end_user_organization_name:** `str` — Your end user's organization. - -
-
+ +#### ⚙️ Parameters
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - -
-
-
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -45263,7 +41194,7 @@ client.filestorage.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -45271,7 +41202,7 @@ client.filestorage.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -45279,7 +41210,7 @@ client.filestorage.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45287,7 +41218,7 @@ client.filestorage.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45295,7 +41226,7 @@ client.filestorage.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45303,14 +41234,7 @@ client.filestorage.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -45318,12 +41242,7 @@ client.filestorage.link_token.create(
-**language:** `typing.Optional[LanguageEnum]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -45331,7 +41250,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -45339,7 +41258,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -45359,8 +41278,7 @@ The following subset of IETF language tags can be used to configure localization
-## Filestorage LinkedAccounts -
client.filestorage.linked_accounts.list(...) +
client.hris.employer_benefits.retrieve(...)
@@ -45372,7 +41290,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Returns an `EmployerBenefit` object with the given `id`.
@@ -45388,28 +41306,15 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.filestorage.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", +client.hris.employer_benefits.retrieve( id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -45426,17 +41331,7 @@ client.filestorage.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**id:** `str`
@@ -45444,7 +41339,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -45452,7 +41347,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -45460,39 +41355,104 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. -
+
+## Hris Employments +
client.hris.employments.list(...)
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Employment` objects. +
+
+#### 🔌 Usage +
-**id:** `typing.Optional[str]` - +
+
+ +```python +import datetime + +from merge import Merge +from merge.resources.hris.resources.employments import ( + EmploymentsListRequestOrderBy, + EmploymentsListRequestRemoteFields, + EmploymentsListRequestShowEnumOrigins, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.hris.employments.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employee_id="employee_id", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + order_by=EmploymentsListRequestOrderBy.EFFECTIVE_DATE_DESCENDING, + page_size=1, + remote_fields=EmploymentsListRequestRemoteFields.EMPLOYMENT_TYPE, + remote_id="remote_id", + show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +``` +
+
+#### ⚙️ Parameters +
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +
+
+ +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -45500,7 +41460,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -45508,7 +41468,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -45516,7 +41476,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +**employee_id:** `typing.Optional[str]` — If provided, will only return employments for this employee.
@@ -45524,7 +41484,12 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**expand:** `typing.Optional[ + typing.Union[ + EmploymentsListRequestExpandItem, + typing.Sequence[EmploymentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -45532,7 +41497,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -45540,75 +41505,71 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
-
-
+
+
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-
-## Filestorage Passthrough -
client.filestorage.passthrough.create(...)
-#### 📝 Description +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-Pull data from an endpoint not currently supported by Merge. -
-
+**order_by:** `typing.Optional[EmploymentsListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: effective_date, -effective_date. + -#### 🔌 Usage -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-```python -from merge import Merge -from merge.resources.filestorage import DataPassthroughRequest, MethodEnum - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) - -``` -
-
+**remote_fields:** `typing.Optional[EmploymentsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + -#### ⚙️ Parameters -
+**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+
-**request:** `DataPassthroughRequest` +**show_enum_origins:** `typing.Optional[EmploymentsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -45628,8 +41589,7 @@ client.filestorage.passthrough.create(
-## Filestorage RegenerateKey -
client.filestorage.regenerate_key.create(...) +
client.hris.employments.retrieve(...)
@@ -45641,7 +41601,7 @@ client.filestorage.passthrough.create(
-Exchange remote keys. +Returns an `Employment` object with the given `id`.
@@ -45657,13 +41617,21 @@ Exchange remote keys. ```python from merge import Merge +from merge.resources.hris.resources.employments import ( + EmploymentsRetrieveRequestRemoteFields, + EmploymentsRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.regenerate_key.create( - name="Remote Deployment Key 1", +client.hris.employments.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, + remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, + show_enum_origins=EmploymentsRetrieveRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) ``` @@ -45680,7 +41648,7 @@ client.filestorage.regenerate_key.create(
-**name:** `str` — The name of the remote key +**id:** `str`
@@ -45688,72 +41656,36 @@ client.filestorage.regenerate_key.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**expand:** `typing.Optional[ + typing.Union[ + EmploymentsRetrieveRequestExpandItem, + typing.Sequence[EmploymentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
- -
- - - - -
- -## Filestorage SyncStatus -
client.filestorage.sync_status.list(...) -
-
- -#### 📝 Description - -
-
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.filestorage.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters -
-
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_fields:** `typing.Optional[EmploymentsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -45761,7 +41693,7 @@ client.filestorage.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[EmploymentsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -45781,8 +41713,8 @@ client.filestorage.sync_status.list(
-## Filestorage ForceResync -
client.filestorage.force_resync.sync_status_resync_create() +## Hris FieldMapping +
client.hris.field_mapping.field_mappings_retrieve(...)
@@ -45794,7 +41726,7 @@ client.filestorage.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -45815,7 +41747,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.force_resync.sync_status_resync_create() +client.hris.field_mapping.field_mappings_retrieve( + exclude_remote_field_metadata=True, +) ``` @@ -45831,6 +41765,14 @@ client.filestorage.force_resync.sync_status_resync_create()
+**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -45843,8 +41785,7 @@ client.filestorage.force_resync.sync_status_resync_create()
-## Filestorage Users -
client.filestorage.users.list(...) +
client.hris.field_mapping.field_mappings_create(...)
@@ -45856,7 +41797,7 @@ client.filestorage.force_resync.sync_status_resync_create()
-Returns a list of `User` objects. +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -45871,34 +41812,20 @@ Returns a list of `User` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_me="is_me", - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.hris.field_mapping.field_mappings_create( + exclude_remote_field_metadata=True, + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", ) ``` @@ -45915,31 +41842,7 @@ client.filestorage.users.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -45947,7 +41850,7 @@ client.filestorage.users.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
@@ -45955,7 +41858,7 @@ client.filestorage.users.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -45963,7 +41866,7 @@ client.filestorage.users.list(
-**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. +**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from.
@@ -45971,7 +41874,7 @@ client.filestorage.users.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from.
@@ -45979,7 +41882,7 @@ client.filestorage.users.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category.
@@ -45987,7 +41890,7 @@ client.filestorage.users.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -45995,7 +41898,7 @@ client.filestorage.users.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -46015,7 +41918,7 @@ client.filestorage.users.list(
-
client.filestorage.users.retrieve(...) +
client.hris.field_mapping.field_mappings_destroy(...)
@@ -46027,7 +41930,7 @@ client.filestorage.users.list(
-Returns a `User` object with the given `id`. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -46048,10 +41951,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.hris.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", ) ``` @@ -46068,23 +41969,7 @@ client.filestorage.users.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**field_mapping_id:** `str`
@@ -46104,8 +41989,7 @@ client.filestorage.users.retrieve(
-## Filestorage WebhookReceivers -
client.filestorage.webhook_receivers.list() +
client.hris.field_mapping.field_mappings_partial_update(...)
@@ -46117,7 +42001,7 @@ client.filestorage.users.retrieve(
-Returns a list of `WebhookReceiver` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -46138,7 +42022,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.webhook_receivers.list() +client.hris.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, +) ``` @@ -46154,6 +42041,54 @@ client.filestorage.webhook_receivers.list()
+**field_mapping_id:** `str` + +
+
+ +
+
+ +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+ +
+
+ +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. + +
+
+ +
+
+ +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from. + +
+
+ +
+
+ +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -46166,7 +42101,7 @@ client.filestorage.webhook_receivers.list()
-
client.filestorage.webhook_receivers.create(...) +
client.hris.field_mapping.remote_fields_retrieve(...)
@@ -46178,7 +42113,7 @@ client.filestorage.webhook_receivers.list()
-Creates a `WebhookReceiver` object with the given values. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -46199,9 +42134,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.filestorage.webhook_receivers.create( - event="event", - is_active=True, +client.hris.field_mapping.remote_fields_retrieve( + common_models="common_models", + include_example_values="include_example_values", ) ``` @@ -46218,15 +42153,7 @@ client.filestorage.webhook_receivers.create(
-**event:** `str` - -
-
- -
-
- -**is_active:** `bool` +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -46234,7 +42161,7 @@ client.filestorage.webhook_receivers.create(
-**key:** `typing.Optional[str]` +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -46254,8 +42181,7 @@ client.filestorage.webhook_receivers.create(
-## Accounting AccountDetails -
client.accounting.account_details.retrieve() +
client.hris.field_mapping.target_fields_retrieve()
@@ -46267,7 +42193,7 @@ client.filestorage.webhook_receivers.create(
-Get details for a linked account. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -46288,7 +42214,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.account_details.retrieve() +client.hris.field_mapping.target_fields_retrieve() ``` @@ -46316,8 +42242,8 @@ client.accounting.account_details.retrieve()
-## Accounting AccountToken -
client.accounting.account_token.retrieve(...) +## Hris GenerateKey +
client.hris.generate_key.create(...)
@@ -46329,7 +42255,7 @@ client.accounting.account_details.retrieve()
-Returns the account token for the end user with the provided public token. +Create a remote key.
@@ -46350,8 +42276,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.account_token.retrieve( - public_token="public_token", +client.hris.generate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -46368,7 +42294,7 @@ client.accounting.account_token.retrieve(
-**public_token:** `str` +**name:** `str` — The name of the remote key
@@ -46388,8 +42314,8 @@ client.accounting.account_token.retrieve(
-## Accounting AccountingPeriods -
client.accounting.accounting_periods.list(...) +## Hris Groups +
client.hris.groups.list(...)
@@ -46401,7 +42327,7 @@ client.accounting.account_token.retrieve(
-Returns a list of `AccountingPeriod` objects. +Returns a list of `Group` objects.
@@ -46416,19 +42342,42 @@ Returns a list of `AccountingPeriod` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounting_periods.list( +response = client.hris.groups.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, + is_commonly_used_as_team="is_commonly_used_as_team", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + names="names", page_size=1, + remote_id="remote_id", + types="types", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -46444,7 +42393,7 @@ client.accounting.accounting_periods.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -46452,7 +42401,7 @@ client.accounting.accounting_periods.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -46460,7 +42409,7 @@ client.accounting.accounting_periods.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -46468,7 +42417,7 @@ client.accounting.accounting_periods.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -46476,7 +42425,7 @@ client.accounting.accounting_periods.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -46484,72 +42433,63 @@ client.accounting.accounting_periods.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
+
+
+**is_commonly_used_as_team:** `typing.Optional[str]` — If provided, specifies whether to return only Group objects which refer to a team in the third party platform. Note that this is an opinionated view based on how a team may be represented in the third party platform. +
-
-
client.accounting.accounting_periods.retrieve(...)
-#### 📝 Description - -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
-Returns an `AccountingPeriod` object with the given `id`. -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### 🔌 Usage -
+**names:** `typing.Optional[str]` — If provided, will only return groups with these names. Multiple values can be separated by commas. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounting_periods.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + -#### ⚙️ Parameters -
+**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. + +
+
+
-**id:** `str` +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -46557,7 +42497,7 @@ client.accounting.accounting_periods.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -46565,7 +42505,7 @@ client.accounting.accounting_periods.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**types:** `typing.Optional[str]` — If provided, will only return groups of these types. Multiple values can be separated by commas.
@@ -46585,8 +42525,7 @@ client.accounting.accounting_periods.retrieve(
-## Accounting Accounts -
client.accounting.accounts.list(...) +
client.hris.groups.retrieve(...)
@@ -46598,7 +42537,7 @@ client.accounting.accounting_periods.retrieve(
-Returns a list of `Account` objects. +Returns a `Group` object with the given `id`.
@@ -46613,46 +42552,16 @@ Returns a list of `Account` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.accounts import ( - AccountsListRequestClassification, - AccountsListRequestRemoteFields, - AccountsListRequestShowEnumOrigins, - AccountsListRequestStatus, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounts.list( - account_type="account_type", - classification=AccountsListRequestClassification.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.hris.groups.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - name="name", - page_size=1, - remote_fields=AccountsListRequestRemoteFields.CLASSIFICATION, - remote_id="remote_id", - show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, - status=AccountsListRequestStatus.EMPTY, ) ``` @@ -46669,7 +42578,7 @@ client.accounting.accounts.list(
-**account_type:** `typing.Optional[str]` — If provided, will only return accounts with the passed in enum. +**id:** `str`
@@ -46677,7 +42586,7 @@ client.accounting.accounts.list(
-**classification:** `typing.Optional[AccountsListRequestClassification]` — If provided, will only return accounts with this classification. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -46685,7 +42594,7 @@ client.accounting.accounts.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return accounts for this company. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -46693,7 +42602,7 @@ client.accounting.accounts.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins.
@@ -46701,7 +42610,7 @@ client.accounting.accounts.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -46709,95 +42618,71 @@ client.accounting.accounts.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+
client.hris.groups.types_list(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +Returns a list of distinct group type values from the Groups common model.
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. -
+#### 🔌 Usage +
-**name:** `typing.Optional[str]` — If provided, will only return Accounts with this name. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.groups.types_list( + include_deleted_data=True, + show_enum_origins="show_enum_origins", +) -**remote_fields:** `typing.Optional[AccountsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. - +``` +
+
+#### ⚙️ Parameters +
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
-**show_enum_origins:** `typing.Optional[AccountsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**include_deleted_data:** `typing.Optional[bool]` — Whether to include data that was marked as deleted by third party webhooks.
@@ -46805,7 +42690,7 @@ client.accounting.accounts.list(
-**status:** `typing.Optional[AccountsListRequestStatus]` — If provided, will only return accounts with this status. +**show_enum_origins:** `typing.Optional[str]` — A comma separated list of enum field names for which you'd like the original values instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins)
@@ -46825,7 +42710,8 @@ client.accounting.accounts.list(
-
client.accounting.accounts.create(...) +## Hris Issues +
client.hris.issues.list(...)
@@ -46837,7 +42723,7 @@ client.accounting.accounts.list(
-Creates an `Account` object with the given values. +Gets all issues for Organization.
@@ -46852,18 +42738,44 @@ Creates an `Account` object with the given values.
```python +import datetime + from merge import Merge -from merge.resources.accounting import AccountRequest +from merge.resources.hris.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounts.create( - is_debug_mode=True, - run_async=True, - model=AccountRequest(), +response = client.hris.issues.list( + account_token="account_token", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + end_user_organization_name="end_user_organization_name", + first_incident_time_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + first_incident_time_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + include_muted="include_muted", + integration_name="integration_name", + last_incident_time_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + last_incident_time_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + linked_account_id="linked_account_id", + page_size=1, + start_date="start_date", + status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -46879,7 +42791,7 @@ client.accounting.accounts.create(
-**model:** `AccountRequest` +**account_token:** `typing.Optional[str]`
@@ -46887,7 +42799,7 @@ client.accounting.accounts.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -46895,7 +42807,7 @@ client.accounting.accounts.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -46903,78 +42815,47 @@ client.accounting.accounts.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**end_user_organization_name:** `typing.Optional[str]`
- -
- - - - -
- -
client.accounting.accounts.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns an `Account` object with the given `id`. -
-
-
-
- -#### 🔌 Usage
+**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. + +
+
+
-```python -from merge import Merge -from merge.resources.accounting.resources.accounts import ( - AccountsRetrieveRequestRemoteFields, - AccountsRetrieveRequestShowEnumOrigins, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.accounts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - remote_fields=AccountsRetrieveRequestRemoteFields.CLASSIFICATION, - show_enum_origins=AccountsRetrieveRequestShowEnumOrigins.CLASSIFICATION, -) - -``` +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +
+ +
+
+ +**include_muted:** `typing.Optional[str]` — If true, will include muted issues +
-#### ⚙️ Parameters -
+**integration_name:** `typing.Optional[str]` + +
+
+
-**id:** `str` +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -46982,7 +42863,7 @@ client.accounting.accounts.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -46990,7 +42871,7 @@ client.accounting.accounts.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -46998,7 +42879,7 @@ client.accounting.accounts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -47006,7 +42887,7 @@ client.accounting.accounts.retrieve(
-**remote_fields:** `typing.Optional[AccountsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -47014,7 +42895,12 @@ client.accounting.accounts.retrieve(
-**show_enum_origins:** `typing.Optional[AccountsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -47034,7 +42920,7 @@ client.accounting.accounts.retrieve(
-
client.accounting.accounts.meta_post_retrieve() +
client.hris.issues.retrieve(...)
@@ -47046,7 +42932,7 @@ client.accounting.accounts.retrieve(
-Returns metadata for `Account` POSTs. +Get a specific issue.
@@ -47067,7 +42953,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.accounts.meta_post_retrieve() +client.hris.issues.retrieve( + id="id", +) ``` @@ -47083,6 +42971,14 @@ client.accounting.accounts.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -47095,8 +42991,8 @@ client.accounting.accounts.meta_post_retrieve()
-## Accounting Addresses -
client.accounting.addresses.retrieve(...) +## Hris LinkToken +
client.hris.link_token.create(...)
@@ -47108,7 +43004,7 @@ client.accounting.accounts.meta_post_retrieve()
-Returns an `Address` object with the given `id`. +Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -47124,15 +43020,17 @@ Returns an `Address` object with the given `id`. ```python from merge import Merge +from merge.resources.hris import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.addresses.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.hris.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -47149,7 +43047,7 @@ client.accounting.addresses.retrieve(
-**id:** `str` +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -47157,7 +43055,7 @@ client.accounting.addresses.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -47165,7 +43063,7 @@ client.accounting.addresses.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -47173,7 +43071,7 @@ client.accounting.addresses.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -47181,7 +43079,7 @@ client.accounting.addresses.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
@@ -47189,75 +43087,83 @@ client.accounting.addresses.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30.
- -
+
+
+**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-
-## Accounting AsyncPassthrough -
client.accounting.async_passthrough.create(...)
-#### 📝 Description - -
-
+**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
-Asynchronously pull data from an endpoint not currently supported by Merge. -
-
+**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +
-#### 🔌 Usage -
+**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + +
+
+
-```python -from merge import Merge -from merge.resources.accounting import DataPassthroughRequest, MethodEnum +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), -) +The following subset of IETF language tags can be used to configure localization. -``` +* `en` - en +* `de` - de +
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +
-#### ⚙️ Parameters -
+**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. + +
+
+
-**request:** `DataPassthroughRequest` +**linked_destination_id:** `typing.Optional[str]` — The UUID of the linked destination that you want this Linked Account to be tied to.
@@ -47277,7 +43183,8 @@ client.accounting.async_passthrough.create(
-
client.accounting.async_passthrough.retrieve(...) +## Hris LinkedAccounts +
client.hris.linked_accounts.list(...)
@@ -47289,7 +43196,7 @@ client.accounting.async_passthrough.create(
-Retrieves data from earlier async-passthrough POST request +List linked accounts for your organization.
@@ -47305,14 +43212,34 @@ Retrieves data from earlier async-passthrough POST request ```python from merge import Merge +from merge.resources.hris.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", +response = client.hris.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", + id="id", + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", + page_size=1, + status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -47328,7 +43255,17 @@ client.accounting.async_passthrough.retrieve(
-**async_passthrough_receipt_id:** `str` +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -47336,71 +43273,95 @@ client.accounting.async_passthrough.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- -
+
+
+**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. +
-
-## Accounting AsyncTasks -
client.accounting.async_tasks.retrieve(...)
-#### 📝 Description +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. + +
+
+**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. + +
+
+
-Returns an `AsyncPostTask` object with the given `id`. +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +
+ +
+
+ +**id:** `typing.Optional[str]` +
-#### 🔌 Usage -
+**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. + +
+
+
-```python -from merge import Merge +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.async_tasks.retrieve( - id="id", -) +
+
-``` +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. +
+ +
+
+ +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. +
-#### ⚙️ Parameters -
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+
-**id:** `str` +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -47420,8 +43381,8 @@ client.accounting.async_tasks.retrieve(
-## Accounting Attachments -
client.accounting.attachments.list(...) +## Hris Locations +
client.hris.locations.list(...)
@@ -47433,7 +43394,7 @@ client.accounting.async_tasks.retrieve(
-Returns a list of `AccountingAttachment` objects. +Returns a list of `Location` objects.
@@ -47451,13 +43412,17 @@ Returns a list of `AccountingAttachment` objects. import datetime from merge import Merge +from merge.resources.hris.resources.locations import ( + LocationsListRequestLocationType, + LocationsListRequestRemoteFields, + LocationsListRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.list( - company_id="company_id", +response = client.hris.locations.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -47468,6 +43433,7 @@ client.accounting.attachments.list( include_deleted_data=True, include_remote_data=True, include_shell_data=True, + location_type=LocationsListRequestLocationType.HOME, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -47475,8 +43441,15 @@ client.accounting.attachments.list( "2024-01-15 09:30:00+00:00", ), page_size=1, + remote_fields=LocationsListRequestRemoteFields.COUNTRY, remote_id="remote_id", + show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -47492,7 +43465,7 @@ client.accounting.attachments.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return accounting attachments for this company. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -47500,7 +43473,7 @@ client.accounting.attachments.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -47508,7 +43481,7 @@ client.accounting.attachments.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -47516,7 +43489,7 @@ client.accounting.attachments.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -47524,7 +43497,7 @@ client.accounting.attachments.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -47532,7 +43505,7 @@ client.accounting.attachments.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -47540,7 +43513,12 @@ client.accounting.attachments.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**location_type:** `typing.Optional[LocationsListRequestLocationType]` + +If provided, will only return locations with this location type + +* `HOME` - HOME +* `WORK` - WORK
@@ -47564,7 +43542,15 @@ client.accounting.attachments.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[LocationsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -47580,6 +43566,14 @@ client.accounting.attachments.list(
+**show_enum_origins:** `typing.Optional[LocationsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -47592,7 +43586,7 @@ client.accounting.attachments.list(
-
client.accounting.attachments.create(...) +
client.hris.locations.retrieve(...)
@@ -47604,7 +43598,7 @@ client.accounting.attachments.list(
-Creates an `AccountingAttachment` object with the given values. +Returns a `Location` object with the given `id`.
@@ -47620,16 +43614,21 @@ Creates an `AccountingAttachment` object with the given values. ```python from merge import Merge -from merge.resources.accounting import AccountingAttachmentRequest +from merge.resources.hris.resources.locations import ( + LocationsRetrieveRequestRemoteFields, + LocationsRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.create( - is_debug_mode=True, - run_async=True, - model=AccountingAttachmentRequest(), +client.hris.locations.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, + remote_fields=LocationsRetrieveRequestRemoteFields.COUNTRY, + show_enum_origins=LocationsRetrieveRequestShowEnumOrigins.COUNTRY, ) ``` @@ -47646,7 +43645,7 @@ client.accounting.attachments.create(
-**model:** `AccountingAttachmentRequest` +**id:** `str`
@@ -47654,7 +43653,7 @@ client.accounting.attachments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -47662,7 +43661,23 @@ client.accounting.attachments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[LocationsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[LocationsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -47682,7 +43697,8 @@ client.accounting.attachments.create(
-
client.accounting.attachments.retrieve(...) +## Hris Passthrough +
client.hris.passthrough.create(...)
@@ -47694,7 +43710,7 @@ client.accounting.attachments.create(
-Returns an `AccountingAttachment` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -47710,15 +43726,17 @@ Returns an `AccountingAttachment` object with the given `id`. ```python from merge import Merge +from merge.resources.hris import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.hris.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -47735,23 +43753,7 @@ client.accounting.attachments.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request:** `DataPassthroughRequest`
@@ -47771,7 +43773,8 @@ client.accounting.attachments.retrieve(
-
client.accounting.attachments.meta_post_retrieve() +## Hris PayGroups +
client.hris.pay_groups.list(...)
@@ -47783,7 +43786,7 @@ client.accounting.attachments.retrieve(
-Returns metadata for `AccountingAttachment` POSTs. +Returns a list of `PayGroup` objects.
@@ -47798,13 +43801,39 @@ Returns metadata for `AccountingAttachment` POSTs.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.attachments.meta_post_retrieve() +response = client.hris.pay_groups.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -47820,6 +43849,86 @@ client.accounting.attachments.meta_post_retrieve()
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ +**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+ +
+
+ +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -47832,8 +43941,7 @@ client.accounting.attachments.meta_post_retrieve()
-## Accounting AuditTrail -
client.accounting.audit_trail.list(...) +
client.hris.pay_groups.retrieve(...)
@@ -47845,7 +43953,7 @@ client.accounting.attachments.meta_post_retrieve()
-Gets a list of audit trail events. +Returns a `PayGroup` object with the given `id`.
@@ -47866,13 +43974,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", +client.hris.pay_groups.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -47889,39 +43994,7 @@ client.accounting.audit_trail.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time - -
-
- -
-
- -**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time +**id:** `str`
@@ -47929,7 +44002,7 @@ client.accounting.audit_trail.list(
-**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -47937,64 +44010,10 @@ client.accounting.audit_trail.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
- -
- - - - -
- -## Accounting AvailableActions -
client.accounting.available_actions.retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a list of models and actions available for an account. -
-
-
-
- -#### 🔌 Usage - -
-
- -
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.available_actions.retrieve() - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
@@ -48011,8 +44030,8 @@ client.accounting.available_actions.retrieve()
-## Accounting BalanceSheets -
client.accounting.balance_sheets.list(...) +## Hris PayrollRuns +
client.hris.payroll_runs.list(...)
@@ -48024,7 +44043,7 @@ client.accounting.available_actions.retrieve()
-Returns a list of `BalanceSheet` objects. +Returns a list of `PayrollRun` objects.
@@ -48042,13 +44061,17 @@ Returns a list of `BalanceSheet` objects. import datetime from merge import Merge +from merge.resources.hris.resources.payroll_runs import ( + PayrollRunsListRequestRemoteFields, + PayrollRunsListRequestRunType, + PayrollRunsListRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.balance_sheets.list( - company_id="company_id", +response = client.hris.payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -48056,6 +44079,12 @@ client.accounting.balance_sheets.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ended_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + ended_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -48066,8 +44095,22 @@ client.accounting.balance_sheets.list( "2024-01-15 09:30:00+00:00", ), page_size=1, + remote_fields=PayrollRunsListRequestRemoteFields.RUN_STATE, remote_id="remote_id", + run_type=PayrollRunsListRequestRunType.CORRECTION, + show_enum_origins=PayrollRunsListRequestShowEnumOrigins.RUN_STATE, + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -48083,7 +44126,7 @@ client.accounting.balance_sheets.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return balance sheets for this company. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -48091,7 +44134,7 @@ client.accounting.balance_sheets.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -48099,7 +44142,7 @@ client.accounting.balance_sheets.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -48107,7 +44150,7 @@ client.accounting.balance_sheets.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended after this datetime.
@@ -48115,7 +44158,7 @@ client.accounting.balance_sheets.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs ended before this datetime.
@@ -48163,7 +44206,7 @@ client.accounting.balance_sheets.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -48171,7 +44214,7 @@ client.accounting.balance_sheets.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**remote_fields:** `typing.Optional[PayrollRunsListRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -48179,72 +44222,23 @@ client.accounting.balance_sheets.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
- -
- - - - -
- -
client.accounting.balance_sheets.retrieve(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Returns a `BalanceSheet` object with the given `id`. -
-
-
-
- -#### 🔌 Usage
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.balance_sheets.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
+**run_type:** `typing.Optional[PayrollRunsListRequestRunType]` -
-
+If provided, will only return PayrollRun's with this status. Options: ('REGULAR', 'OFF_CYCLE', 'CORRECTION', 'TERMINATION', 'SIGN_ON_BONUS') -**id:** `str` +* `REGULAR` - REGULAR +* `OFF_CYCLE` - OFF_CYCLE +* `CORRECTION` - CORRECTION +* `TERMINATION` - TERMINATION +* `SIGN_ON_BONUS` - SIGN_ON_BONUS
@@ -48252,7 +44246,7 @@ client.accounting.balance_sheets.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**show_enum_origins:** `typing.Optional[PayrollRunsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -48260,7 +44254,7 @@ client.accounting.balance_sheets.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started after this datetime.
@@ -48268,7 +44262,7 @@ client.accounting.balance_sheets.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return payroll runs started before this datetime.
@@ -48288,8 +44282,7 @@ client.accounting.balance_sheets.retrieve(
-## Accounting BankFeedAccounts -
client.accounting.bank_feed_accounts.list(...) +
client.hris.payroll_runs.retrieve(...)
@@ -48301,7 +44294,7 @@ client.accounting.balance_sheets.retrieve(
-Returns a list of `BankFeedAccount` objects. +Returns a `PayrollRun` object with the given `id`.
@@ -48317,17 +44310,21 @@ Returns a list of `BankFeedAccount` objects. ```python from merge import Merge +from merge.resources.hris.resources.payroll_runs import ( + PayrollRunsRetrieveRequestRemoteFields, + PayrollRunsRetrieveRequestShowEnumOrigins, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.hris.payroll_runs.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - page_size=1, + remote_fields=PayrollRunsRetrieveRequestRemoteFields.RUN_STATE, + show_enum_origins=PayrollRunsRetrieveRequestShowEnumOrigins.RUN_STATE, ) ``` @@ -48344,7 +44341,7 @@ client.accounting.bank_feed_accounts.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -48352,7 +44349,7 @@ client.accounting.bank_feed_accounts.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -48360,7 +44357,7 @@ client.accounting.bank_feed_accounts.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -48368,7 +44365,7 @@ client.accounting.bank_feed_accounts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[PayrollRunsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -48376,7 +44373,7 @@ client.accounting.bank_feed_accounts.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**show_enum_origins:** `typing.Optional[PayrollRunsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -48396,7 +44393,8 @@ client.accounting.bank_feed_accounts.list(
-
client.accounting.bank_feed_accounts.create(...) +## Hris RegenerateKey +
client.hris.regenerate_key.create(...)
@@ -48408,7 +44406,7 @@ client.accounting.bank_feed_accounts.list(
-Creates a `BankFeedAccount` object with the given values. +Exchange remote keys.
@@ -48424,16 +44422,13 @@ Creates a `BankFeedAccount` object with the given values. ```python from merge import Merge -from merge.resources.accounting import BankFeedAccountRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.create( - is_debug_mode=True, - run_async=True, - model=BankFeedAccountRequest(), +client.hris.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -48450,23 +44445,7 @@ client.accounting.bank_feed_accounts.create(
-**model:** `BankFeedAccountRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**name:** `str` — The name of the remote key
@@ -48486,7 +44465,8 @@ client.accounting.bank_feed_accounts.create(
-
client.accounting.bank_feed_accounts.retrieve(...) +## Hris SyncStatus +
client.hris.sync_status.list(...)
@@ -48498,7 +44478,7 @@ client.accounting.bank_feed_accounts.create(
-Returns a `BankFeedAccount` object with the given `id`. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -48519,11 +44499,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +response = client.hris.sync_status.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -48539,15 +44523,7 @@ client.accounting.bank_feed_accounts.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -48555,7 +44531,7 @@ client.accounting.bank_feed_accounts.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -48575,7 +44551,8 @@ client.accounting.bank_feed_accounts.retrieve(
-
client.accounting.bank_feed_accounts.meta_post_retrieve() +## Hris ForceResync +
client.hris.force_resync.sync_status_resync_create()
@@ -48587,7 +44564,7 @@ client.accounting.bank_feed_accounts.retrieve(
-Returns metadata for `BankFeedAccount` POSTs. +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
@@ -48608,7 +44585,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_accounts.meta_post_retrieve() +client.hris.force_resync.sync_status_resync_create() ``` @@ -48636,8 +44613,8 @@ client.accounting.bank_feed_accounts.meta_post_retrieve()
-## Accounting BankFeedTransactions -
client.accounting.bank_feed_transactions.list(...) +## Hris Teams +
client.hris.teams.list(...)
@@ -48649,7 +44626,7 @@ client.accounting.bank_feed_accounts.meta_post_retrieve()
-Returns a list of `BankFeedTransaction` objects. +Returns a list of `Team` objects.
@@ -48672,7 +44649,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.list( +response = client.hris.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -48683,7 +44660,6 @@ client.accounting.bank_feed_transactions.list( include_deleted_data=True, include_remote_data=True, include_shell_data=True, - is_processed=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -48691,8 +44667,14 @@ client.accounting.bank_feed_transactions.list( "2024-01-15 09:30:00+00:00", ), page_size=1, + parent_team_id="parent_team_id", remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -48732,7 +44714,12 @@ client.accounting.bank_feed_transactions.list(
-**expand:** `typing.Optional[typing.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["parent_team"], + typing.Sequence[typing.Literal["parent_team"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -48764,7 +44751,7 @@ client.accounting.bank_feed_transactions.list(
-**is_processed:** `typing.Optional[bool]` — If provided, will only return bank feed transactions with this is_processed value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -48772,7 +44759,7 @@ client.accounting.bank_feed_transactions.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -48780,7 +44767,7 @@ client.accounting.bank_feed_transactions.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -48788,7 +44775,7 @@ client.accounting.bank_feed_transactions.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**parent_team_id:** `typing.Optional[str]` — If provided, will only return teams with this parent team.
@@ -48816,7 +44803,7 @@ client.accounting.bank_feed_transactions.list(
-
client.accounting.bank_feed_transactions.create(...) +
client.hris.teams.retrieve(...)
@@ -48828,7 +44815,7 @@ client.accounting.bank_feed_transactions.list(
-Creates a `BankFeedTransaction` object with the given values. +Returns a `Team` object with the given `id`.
@@ -48844,16 +44831,15 @@ Creates a `BankFeedTransaction` object with the given values. ```python from merge import Merge -from merge.resources.accounting import BankFeedTransactionRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.create( - is_debug_mode=True, - run_async=True, - model=BankFeedTransactionRequestRequest(), +client.hris.teams.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -48870,7 +44856,7 @@ client.accounting.bank_feed_transactions.create(
-**model:** `BankFeedTransactionRequestRequest` +**id:** `str`
@@ -48878,7 +44864,12 @@ client.accounting.bank_feed_transactions.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["parent_team"], + typing.Sequence[typing.Literal["parent_team"]], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -48886,7 +44877,15 @@ client.accounting.bank_feed_transactions.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -48906,7 +44905,8 @@ client.accounting.bank_feed_transactions.create(
-
client.accounting.bank_feed_transactions.retrieve(...) +## Hris TimeOff +
client.hris.time_off.list(...)
@@ -48918,7 +44918,7 @@ client.accounting.bank_feed_transactions.create(
-Returns a `BankFeedTransaction` object with the given `id`. +Returns a list of `TimeOff` objects.
@@ -48933,17 +44933,63 @@ Returns a `BankFeedTransaction` object with the given `id`.
```python +import datetime + from merge import Merge +from merge.resources.hris.resources.time_off import ( + TimeOffListRequestRemoteFields, + TimeOffListRequestRequestType, + TimeOffListRequestShowEnumOrigins, + TimeOffListRequestStatus, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.bank_feed_transactions.retrieve( - id="id", +response = client.hris.time_off.list( + approver_id="approver_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + employee_id="employee_id", + ended_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + ended_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + include_deleted_data=True, include_remote_data=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_fields=TimeOffListRequestRemoteFields.REQUEST_TYPE, + remote_id="remote_id", + request_type=TimeOffListRequestRequestType.BEREAVEMENT, + show_enum_origins=TimeOffListRequestShowEnumOrigins.REQUEST_TYPE, + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + status=TimeOffListRequestStatus.APPROVED, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -48959,7 +45005,7 @@ client.accounting.bank_feed_transactions.retrieve(
-**id:** `str` +**approver_id:** `typing.Optional[str]` — If provided, will only return time off for this approver.
@@ -48967,7 +45013,7 @@ client.accounting.bank_feed_transactions.retrieve(
-**expand:** `typing.Optional[typing.Literal["bank_feed_account"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -48975,7 +45021,7 @@ client.accounting.bank_feed_transactions.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -48983,7 +45029,7 @@ client.accounting.bank_feed_transactions.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -48991,64 +45037,161 @@ client.accounting.bank_feed_transactions.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**employee_id:** `typing.Optional[str]` — If provided, will only return time off for this employee.
+ +
+
+ +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return employees that ended after this datetime. +
+
+
+**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that ended before this datetime. +
-
-
client.accounting.bank_feed_transactions.meta_post_retrieve()
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + TimeOffListRequestExpandItem, + typing.Sequence[TimeOffListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Returns metadata for `BankFeedTransaction` POSTs. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage +
+
+ +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+
-```python -from merge import Merge +**page_size:** `typing.Optional[int]` — Number of results to return per page. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.bank_feed_transactions.meta_post_retrieve() +
+
-``` +**remote_fields:** `typing.Optional[TimeOffListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
-#### ⚙️ Parameters +
+
+ +**request_type:** `typing.Optional[TimeOffListRequestRequestType]` + +If provided, will only return TimeOff with this request type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') + +* `VACATION` - VACATION +* `SICK` - SICK +* `PERSONAL` - PERSONAL +* `JURY_DUTY` - JURY_DUTY +* `VOLUNTEER` - VOLUNTEER +* `BEREAVEMENT` - BEREAVEMENT + +
+
+**show_enum_origins:** `typing.Optional[TimeOffListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started after this datetime. + +
+
+ +
+
+ +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return time-offs that started before this datetime. + +
+
+ +
+
+ +**status:** `typing.Optional[TimeOffListRequestStatus]` + +If provided, will only return TimeOff with this status. Options: ('REQUESTED', 'APPROVED', 'DECLINED', 'CANCELLED', 'DELETED') + +* `REQUESTED` - REQUESTED +* `APPROVED` - APPROVED +* `DECLINED` - DECLINED +* `CANCELLED` - CANCELLED +* `DELETED` - DELETED + +
+
+
@@ -49064,8 +45207,7 @@ client.accounting.bank_feed_transactions.meta_post_retrieve()
-## Accounting CashFlowStatements -
client.accounting.cash_flow_statements.list(...) +
client.hris.time_off.create(...)
@@ -49077,7 +45219,7 @@ client.accounting.bank_feed_transactions.meta_post_retrieve()
-Returns a list of `CashFlowStatement` objects. +Creates a `TimeOff` object with the given values.
@@ -49092,34 +45234,17 @@ Returns a list of `CashFlowStatement` objects.
```python -import datetime - from merge import Merge +from merge.resources.hris import TimeOffRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.cash_flow_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", +client.hris.time_off.create( + is_debug_mode=True, + run_async=True, + model=TimeOffRequest(), ) ``` @@ -49136,7 +45261,7 @@ client.accounting.cash_flow_statements.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return cash flow statements for this company. +**model:** `TimeOffRequest`
@@ -49144,7 +45269,7 @@ client.accounting.cash_flow_statements.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -49152,7 +45277,7 @@ client.accounting.cash_flow_statements.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -49160,31 +45285,78 @@ client.accounting.cash_flow_statements.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
+ + + +
+ +
client.hris.time_off.retrieve(...)
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +#### 📝 Description + +
+
+ +
+
+ +Returns a `TimeOff` object with the given `id`. +
+
+#### 🔌 Usage +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +
+
+ +```python +from merge import Merge +from merge.resources.hris.resources.time_off import ( + TimeOffRetrieveRequestRemoteFields, + TimeOffRetrieveRequestShowEnumOrigins, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.time_off.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, + remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, + show_enum_origins=TimeOffRetrieveRequestShowEnumOrigins.REQUEST_TYPE, +) + +``` +
+
+#### ⚙️ Parameters +
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+
+ +**id:** `str`
@@ -49192,7 +45364,12 @@ client.accounting.cash_flow_statements.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**expand:** `typing.Optional[ + typing.Union[ + TimeOffRetrieveRequestExpandItem, + typing.Sequence[TimeOffRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -49200,7 +45377,7 @@ client.accounting.cash_flow_statements.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -49208,7 +45385,7 @@ client.accounting.cash_flow_statements.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -49216,7 +45393,7 @@ client.accounting.cash_flow_statements.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**remote_fields:** `typing.Optional[TimeOffRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -49224,7 +45401,7 @@ client.accounting.cash_flow_statements.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**show_enum_origins:** `typing.Optional[TimeOffRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -49244,7 +45421,7 @@ client.accounting.cash_flow_statements.list(
-
client.accounting.cash_flow_statements.retrieve(...) +
client.hris.time_off.meta_post_retrieve()
@@ -49256,7 +45433,7 @@ client.accounting.cash_flow_statements.list(
-Returns a `CashFlowStatement` object with the given `id`. +Returns metadata for `TimeOff` POSTs.
@@ -49277,11 +45454,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.cash_flow_statements.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.hris.time_off.meta_post_retrieve() ``` @@ -49297,38 +45470,6 @@ client.accounting.cash_flow_statements.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -49341,8 +45482,8 @@ client.accounting.cash_flow_statements.retrieve(
-## Accounting CompanyInfo -
client.accounting.company_info.list(...) +## Hris TimeOffBalances +
client.hris.time_off_balances.list(...)
@@ -49354,7 +45495,7 @@ client.accounting.cash_flow_statements.retrieve(
-Returns a list of `CompanyInfo` objects. +Returns a list of `TimeOffBalance` objects.
@@ -49372,15 +45513,15 @@ Returns a list of `CompanyInfo` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, +from merge.resources.hris.resources.time_off_balances import ( + TimeOffBalancesListRequestPolicyType, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.company_info.list( +response = client.hris.time_off_balances.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -49388,7 +45529,7 @@ client.accounting.company_info.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, + employee_id="employee_id", include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -49399,8 +45540,14 @@ client.accounting.company_info.list( "2024-01-15 09:30:00+00:00", ), page_size=1, + policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -49440,7 +45587,19 @@ client.accounting.company_info.list(
-**expand:** `typing.Optional[CompanyInfoListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**employee_id:** `typing.Optional[str]` — If provided, will only return time off balances for this employee. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -49496,6 +45655,31 @@ client.accounting.company_info.list(
+**policy_type:** `typing.Optional[TimeOffBalancesListRequestPolicyType]` + +If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') + +* `VACATION` - VACATION +* `SICK` - SICK +* `PERSONAL` - PERSONAL +* `JURY_DUTY` - JURY_DUTY +* `VOLUNTEER` - VOLUNTEER +* `BEREAVEMENT` - BEREAVEMENT + +
+
+ +
+
+ +**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -49504,6 +45688,14 @@ client.accounting.company_info.list(
+**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -49516,7 +45708,7 @@ client.accounting.company_info.list(
-
client.accounting.company_info.retrieve(...) +
client.hris.time_off_balances.retrieve(...)
@@ -49528,7 +45720,7 @@ client.accounting.company_info.list(
-Returns a `CompanyInfo` object with the given `id`. +Returns a `TimeOffBalance` object with the given `id`.
@@ -49544,17 +45736,13 @@ Returns a `CompanyInfo` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.company_info.retrieve( +client.hris.time_off_balances.retrieve( id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, include_remote_data=True, include_shell_data=True, ) @@ -49581,7 +45769,11 @@ client.accounting.company_info.retrieve(
-**expand:** `typing.Optional[CompanyInfoRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -49605,6 +45797,22 @@ client.accounting.company_info.retrieve(
+**remote_fields:** `typing.Optional[typing.Literal["policy_type"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["policy_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -49617,8 +45825,8 @@ client.accounting.company_info.retrieve(
-## Accounting Contacts -
client.accounting.contacts.list(...) +## Hris TimesheetEntries +
client.hris.timesheet_entries.list(...)
@@ -49630,7 +45838,7 @@ client.accounting.company_info.retrieve(
-Returns a list of `Contact` objects. +Returns a list of `TimesheetEntry` objects.
@@ -49648,17 +45856,15 @@ Returns a list of `Contact` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, - ContactsListRequestStatus, +from merge.resources.hris.resources.timesheet_entries import ( + TimesheetEntriesListRequestOrderBy, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.list( - company_id="company_id", +response = client.hris.timesheet_entries.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -49666,25 +45872,37 @@ client.accounting.contacts.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, + employee_id="employee_id", + ended_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + ended_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, - is_customer="is_customer", - is_supplier="is_supplier", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", + order_by=TimesheetEntriesListRequestOrderBy.START_TIME_DESCENDING, page_size=1, remote_id="remote_id", - status=ContactsListRequestStatus.EMPTY, + started_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + started_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -49700,14 +45918,6 @@ client.accounting.contacts.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return contacts for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -49732,15 +45942,7 @@ client.accounting.contacts.list(
-**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email. - -
-
- -
-
- -**expand:** `typing.Optional[ContactsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**employee_id:** `typing.Optional[str]` — If provided, will only return timesheet entries for this employee.
@@ -49748,7 +45950,7 @@ client.accounting.contacts.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**ended_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended after this datetime.
@@ -49756,7 +45958,7 @@ client.accounting.contacts.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**ended_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries ended before this datetime.
@@ -49764,7 +45966,11 @@ client.accounting.contacts.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -49772,7 +45978,7 @@ client.accounting.contacts.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -49780,7 +45986,7 @@ client.accounting.contacts.list(
-**is_customer:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as customers. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -49788,7 +45994,7 @@ client.accounting.contacts.list(
-**is_supplier:** `typing.Optional[str]` — If provided, will only return Contacts that are denoted as suppliers. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -49812,15 +46018,7 @@ client.accounting.contacts.list(
-**name:** `typing.Optional[str]` — If provided, will only return Contacts that match this name. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. +**order_by:** `typing.Optional[TimesheetEntriesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: start_time, -start_time.
@@ -49828,7 +46026,7 @@ client.accounting.contacts.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -49844,7 +46042,7 @@ client.accounting.contacts.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**started_after:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started after this datetime.
@@ -49852,7 +46050,7 @@ client.accounting.contacts.list(
-**status:** `typing.Optional[ContactsListRequestStatus]` — If provided, will only return Contacts that match this status. +**started_before:** `typing.Optional[dt.datetime]` — If provided, will only return timesheet entries started before this datetime.
@@ -49872,7 +46070,7 @@ client.accounting.contacts.list(
-
client.accounting.contacts.create(...) +
client.hris.timesheet_entries.create(...)
@@ -49884,7 +46082,7 @@ client.accounting.contacts.list(
-Creates a `Contact` object with the given values. +Creates a `TimesheetEntry` object with the given values.
@@ -49900,16 +46098,16 @@ Creates a `Contact` object with the given values. ```python from merge import Merge -from merge.resources.accounting import ContactRequest +from merge.resources.hris import TimesheetEntryRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.create( +client.hris.timesheet_entries.create( is_debug_mode=True, run_async=True, - model=ContactRequest(), + model=TimesheetEntryRequest(), ) ``` @@ -49926,7 +46124,7 @@ client.accounting.contacts.create(
-**model:** `ContactRequest` +**model:** `TimesheetEntryRequest`
@@ -49962,7 +46160,7 @@ client.accounting.contacts.create(
-
client.accounting.contacts.retrieve(...) +
client.hris.timesheet_entries.retrieve(...)
@@ -49974,7 +46172,7 @@ client.accounting.contacts.create(
-Returns a `Contact` object with the given `id`. +Returns a `TimesheetEntry` object with the given `id`.
@@ -49990,19 +46188,14 @@ Returns a `Contact` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.retrieve( +client.hris.timesheet_entries.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -50028,7 +46221,11 @@ client.accounting.contacts.retrieve(
-**expand:** `typing.Optional[ContactsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -50044,14 +46241,6 @@ client.accounting.contacts.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -50060,22 +46249,6 @@ client.accounting.contacts.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -50088,7 +46261,7 @@ client.accounting.contacts.retrieve(
-
client.accounting.contacts.partial_update(...) +
client.hris.timesheet_entries.meta_post_retrieve()
@@ -50100,7 +46273,7 @@ client.accounting.contacts.retrieve(
-Updates a `Contact` object with the given `id`. +Returns metadata for `TimesheetEntry` POSTs.
@@ -50116,18 +46289,12 @@ Updates a `Contact` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting import PatchedContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedContactRequest(), -) +client.hris.timesheet_entries.meta_post_retrieve() ``` @@ -50143,35 +46310,65 @@ client.accounting.contacts.partial_update(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**model:** `PatchedContactRequest` -
+
+## Hris WebhookReceivers +
client.hris.webhook_receivers.list()
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `WebhookReceiver` objects.
+
+
+ +#### 🔌 Usage
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.hris.webhook_receivers.list() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -50187,7 +46384,7 @@ client.accounting.contacts.partial_update(
-
client.accounting.contacts.meta_patch_retrieve(...) +
client.hris.webhook_receivers.create(...)
@@ -50199,7 +46396,7 @@ client.accounting.contacts.partial_update(
-Returns metadata for `Contact` PATCHs. +Creates a `WebhookReceiver` object with the given values.
@@ -50220,8 +46417,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.meta_patch_retrieve( - id="id", +client.hris.webhook_receivers.create( + event="event", + is_active=True, ) ``` @@ -50238,7 +46436,23 @@ client.accounting.contacts.meta_patch_retrieve(
-**id:** `str` +**event:** `str` + +
+
+ +
+
+ +**is_active:** `bool` + +
+
+ +
+
+ +**key:** `typing.Optional[str]`
@@ -50258,7 +46472,8 @@ client.accounting.contacts.meta_patch_retrieve(
-
client.accounting.contacts.meta_post_retrieve() +## Ticketing AccountDetails +
client.ticketing.account_details.retrieve()
@@ -50270,7 +46485,7 @@ client.accounting.contacts.meta_patch_retrieve(
-Returns metadata for `Contact` POSTs. +Get details for a linked account.
@@ -50291,7 +46506,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.meta_post_retrieve() +client.ticketing.account_details.retrieve() ``` @@ -50319,7 +46534,8 @@ client.accounting.contacts.meta_post_retrieve()
-
client.accounting.contacts.remote_field_classes_list(...) +## Ticketing AccountToken +
client.ticketing.account_token.retrieve(...)
@@ -50331,7 +46547,7 @@ client.accounting.contacts.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns the account token for the end user with the provided public token.
@@ -50352,14 +46568,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.contacts.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.ticketing.account_token.retrieve( + public_token="public_token", ) ``` @@ -50376,7 +46586,7 @@ client.accounting.contacts.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**public_token:** `str`
@@ -50384,50 +46594,63 @@ client.accounting.contacts.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.ticketing.account_token.regenerate_create()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
-
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +Exchange Linked Account account tokens. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.account_token.regenerate_create() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -50444,8 +46667,8 @@ client.accounting.contacts.remote_field_classes_list(
-## Accounting CreditNotes -
client.accounting.credit_notes.list(...) +## Ticketing Accounts +
client.ticketing.accounts.list(...)
@@ -50457,7 +46680,7 @@ client.accounting.contacts.remote_field_classes_list(
-Returns a list of `CreditNote` objects. +Returns a list of `Account` objects.
@@ -50475,18 +46698,12 @@ Returns a list of `CreditNote` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, - CreditNotesListRequestRemoteFields, - CreditNotesListRequestShowEnumOrigins, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.list( - company_id="company_id", +response = client.ticketing.accounts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -50494,7 +46711,6 @@ client.accounting.credit_notes.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -50505,16 +46721,13 @@ client.accounting.credit_notes.list( "2024-01-15 09:30:00+00:00", ), page_size=1, - remote_fields=CreditNotesListRequestRemoteFields.STATUS, remote_id="remote_id", - show_enum_origins=CreditNotesListRequestShowEnumOrigins.STATUS, - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -50530,14 +46743,6 @@ client.accounting.credit_notes.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return credit notes for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -50562,14 +46767,6 @@ client.accounting.credit_notes.list(
-**expand:** `typing.Optional[CreditNotesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -50610,15 +46807,7 @@ client.accounting.credit_notes.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[CreditNotesListRequestRemoteFields]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -50634,30 +46823,6 @@ client.accounting.credit_notes.list(
-**show_enum_origins:** `typing.Optional[CreditNotesListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -50670,7 +46835,7 @@ client.accounting.credit_notes.list(
-
client.accounting.credit_notes.create(...) +
client.ticketing.accounts.retrieve(...)
@@ -50682,7 +46847,7 @@ client.accounting.credit_notes.list(
-Creates a `CreditNote` object with the given values. +Returns an `Account` object with the given `id`.
@@ -50698,16 +46863,15 @@ Creates a `CreditNote` object with the given values. ```python from merge import Merge -from merge.resources.accounting import CreditNoteRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.create( - is_debug_mode=True, - run_async=True, - model=CreditNoteRequest(), +client.ticketing.accounts.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -50724,7 +46888,7 @@ client.accounting.credit_notes.create(
-**model:** `CreditNoteRequest` +**id:** `str`
@@ -50732,7 +46896,7 @@ client.accounting.credit_notes.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -50740,7 +46904,7 @@ client.accounting.credit_notes.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -50760,7 +46924,8 @@ client.accounting.credit_notes.create(
-
client.accounting.credit_notes.retrieve(...) +## Ticketing AsyncPassthrough +
client.ticketing.async_passthrough.create(...)
@@ -50772,7 +46937,7 @@ client.accounting.credit_notes.create(
-Returns a `CreditNote` object with the given `id`. +Asynchronously pull data from an endpoint not currently supported by Merge.
@@ -50788,23 +46953,17 @@ Returns a `CreditNote` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, - CreditNotesRetrieveRequestRemoteFields, - CreditNotesRetrieveRequestShowEnumOrigins, -) +from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.retrieve( - id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, - remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, - show_enum_origins=CreditNotesRetrieveRequestShowEnumOrigins.STATUS, +client.ticketing.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -50821,7 +46980,7 @@ client.accounting.credit_notes.retrieve(
-**id:** `str` +**request:** `DataPassthroughRequest`
@@ -50829,39 +46988,70 @@ client.accounting.credit_notes.retrieve(
-**expand:** `typing.Optional[CreditNotesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.ticketing.async_passthrough.retrieve(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +#### 📝 Description + +
+
+ +
+
+ +Retrieves data from earlier async-passthrough POST request +
+
+#### 🔌 Usage +
-**remote_fields:** `typing.Optional[CreditNotesRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", +) + +``` +
+
+#### ⚙️ Parameters +
-**show_enum_origins:** `typing.Optional[CreditNotesRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
+
+ +**async_passthrough_receipt_id:** `str`
@@ -50881,7 +47071,8 @@ client.accounting.credit_notes.retrieve(
-
client.accounting.credit_notes.meta_post_retrieve() +## Ticketing Attachments +
client.ticketing.attachments.list(...)
@@ -50893,7 +47084,7 @@ client.accounting.credit_notes.retrieve(
-Returns metadata for `CreditNote` POSTs. +Returns a list of `Attachment` objects.
@@ -50908,13 +47099,43 @@ Returns metadata for `CreditNote` POSTs.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.credit_notes.meta_post_retrieve() +response = client.ticketing.attachments.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_id="remote_id", + ticket_id="ticket_id", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -50930,65 +47151,111 @@ client.accounting.credit_notes.meta_post_retrieve()
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. +
-
-## Accounting Scopes -
client.accounting.scopes.default_scopes_retrieve()
-#### 📝 Description +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+
-Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage -
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+
-```python -from merge import Merge +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.scopes.default_scopes_retrieve() +
+
-``` +**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+ +
+
+ +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return attachments created in the third party platform after this datetime. +
-#### ⚙️ Parameters +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket. + +
+
+
@@ -51004,7 +47271,7 @@ client.accounting.scopes.default_scopes_retrieve()
-
client.accounting.scopes.linked_account_scopes_retrieve() +
client.ticketing.attachments.create(...)
@@ -51016,7 +47283,7 @@ client.accounting.scopes.default_scopes_retrieve()
-Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +Creates an `Attachment` object with the given values.
@@ -51032,12 +47299,17 @@ Get all available permissions for Merge Common Models and fields for a single Li ```python from merge import Merge +from merge.resources.ticketing import AttachmentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.scopes.linked_account_scopes_retrieve() +client.ticketing.attachments.create( + is_debug_mode=True, + run_async=True, + model=AttachmentRequest(), +) ``` @@ -51053,6 +47325,30 @@ client.accounting.scopes.linked_account_scopes_retrieve()
+**model:** `AttachmentRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -51065,7 +47361,7 @@ client.accounting.scopes.linked_account_scopes_retrieve()
-
client.accounting.scopes.linked_account_scopes_create(...) +
client.ticketing.attachments.retrieve(...)
@@ -51077,7 +47373,7 @@ client.accounting.scopes.linked_account_scopes_retrieve()
-Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +Returns an `Attachment` object with the given `id`.
@@ -51093,42 +47389,15 @@ Update permissions for any Common Model or field for a single Linked Account. An ```python from merge import Merge -from merge.resources.accounting import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], +client.ticketing.attachments.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -51145,7 +47414,35 @@ client.accounting.scopes.linked_account_scopes_create(
-**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for +**id:** `str` + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -51165,8 +47462,7 @@ client.accounting.scopes.linked_account_scopes_create(
-## Accounting DeleteAccount -
client.accounting.delete_account.delete() +
client.ticketing.attachments.meta_post_retrieve()
@@ -51178,7 +47474,7 @@ client.accounting.scopes.linked_account_scopes_create(
-Delete a linked account. +Returns metadata for `TicketingAttachment` POSTs.
@@ -51199,7 +47495,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.delete_account.delete() +client.ticketing.attachments.meta_post_retrieve() ``` @@ -51227,8 +47523,8 @@ client.accounting.delete_account.delete()
-## Accounting Employees -
client.accounting.employees.list(...) +## Ticketing AuditTrail +
client.ticketing.audit_trail.list(...)
@@ -51240,7 +47536,7 @@ client.accounting.delete_account.delete()
-Returns a list of `Employee` objects. +Gets a list of audit trail events.
@@ -51255,35 +47551,25 @@ Returns a list of `Employee` objects.
```python -import datetime - from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.employees.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + end_date="end_date", + event_type="event_type", page_size=1, - remote_id="remote_id", + start_date="start_date", + user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -51299,30 +47585,6 @@ client.accounting.employees.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return employees for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -51331,31 +47593,7 @@ client.accounting.employees.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -51363,7 +47601,7 @@ client.accounting.employees.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -51371,7 +47609,7 @@ client.accounting.employees.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -51379,7 +47617,7 @@ client.accounting.employees.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -51387,7 +47625,7 @@ client.accounting.employees.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -51407,7 +47645,8 @@ client.accounting.employees.list(
-
client.accounting.employees.retrieve(...) +## Ticketing AvailableActions +
client.ticketing.available_actions.retrieve()
@@ -51419,7 +47658,7 @@ client.accounting.employees.list(
-Returns an `Employee` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -51440,11 +47679,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.employees.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.ticketing.available_actions.retrieve() ``` @@ -51460,38 +47695,6 @@ client.accounting.employees.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -51504,8 +47707,8 @@ client.accounting.employees.retrieve(
-## Accounting ExpenseReports -
client.accounting.expense_reports.list(...) +## Ticketing Collections +
client.ticketing.collections.list(...)
@@ -51517,7 +47720,7 @@ client.accounting.employees.retrieve(
-Returns a list of `ExpenseReport` objects. +Returns a list of `Collection` objects.
@@ -51535,16 +47738,16 @@ Returns a list of `ExpenseReport` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, +from merge.resources.ticketing.resources.collections import ( + CollectionsListRequestCollectionType, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.list( - company_id="company_id", +response = client.ticketing.collections.list( + collection_type=CollectionsListRequestCollectionType.EMPTY, created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -51552,10 +47755,8 @@ client.accounting.expense_reports.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -51563,9 +47764,16 @@ client.accounting.expense_reports.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, + parent_collection_id="parent_collection_id", remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -51581,7 +47789,7 @@ client.accounting.expense_reports.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return expense reports for this company. +**collection_type:** `typing.Optional[CollectionsListRequestCollectionType]` — If provided, will only return collections of the given type.
@@ -51613,7 +47821,12 @@ client.accounting.expense_reports.list(
-**expand:** `typing.Optional[ExpenseReportsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CollectionsListRequestExpandItem, + typing.Sequence[CollectionsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -51637,14 +47850,6 @@ client.accounting.expense_reports.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -51669,7 +47874,7 @@ client.accounting.expense_reports.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**name:** `typing.Optional[str]` — If provided, will only return collections with this name.
@@ -51677,7 +47882,7 @@ client.accounting.expense_reports.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -51685,78 +47890,15 @@ client.accounting.expense_reports.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**parent_collection_id:** `typing.Optional[str]` — If provided, will only return collections whose parent collection matches the given id.
- -
- - - -
-
- -
client.accounting.expense_reports.create(...) -
-
- -#### 📝 Description - -
-
- -
-
- -Creates an `ExpenseReport` object with the given values. -
-
-
-
- -#### 🔌 Usage - -
-
-```python -from merge import Merge -from merge.resources.accounting import ExpenseReportRequest - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.expense_reports.create( - is_debug_mode=True, - run_async=True, - model=ExpenseReportRequest( - tracking_categories=[ - "a1b2c3d4-e5f6-4a5b-9c3d-2e1f0a9b8c7d", - "d4c3b2a1-9e8f-7g6h-5i4j-3k2l1m0n9o8p", - ], - ), -) - -``` -
-
-
-
- -#### ⚙️ Parameters - -
-
- -
-
- -**model:** `ExpenseReportRequest` +**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins.
@@ -51764,7 +47906,7 @@ client.accounting.expense_reports.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -51772,7 +47914,7 @@ client.accounting.expense_reports.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -51792,7 +47934,7 @@ client.accounting.expense_reports.create(
-
client.accounting.expense_reports.lines_list(...) +
client.ticketing.collections.viewers_list(...)
@@ -51804,7 +47946,7 @@ client.accounting.expense_reports.create(
-Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -51820,24 +47962,24 @@ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` wi ```python from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.lines_list( - expense_report_id="expense_report_id", +response = client.ticketing.collections.viewers_list( + collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -51853,7 +47995,7 @@ client.accounting.expense_reports.lines_list(
-**expense_report_id:** `str` +**collection_id:** `str`
@@ -51869,7 +48011,12 @@ client.accounting.expense_reports.lines_list(
-**expand:** `typing.Optional[ExpenseReportsLinesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, + typing.Sequence[CollectionsViewersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -51893,14 +48040,6 @@ client.accounting.expense_reports.lines_list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -51909,7 +48048,7 @@ client.accounting.expense_reports.lines_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -51929,7 +48068,7 @@ client.accounting.expense_reports.lines_list(
-
client.accounting.expense_reports.retrieve(...) +
client.ticketing.collections.retrieve(...)
@@ -51941,7 +48080,7 @@ client.accounting.expense_reports.lines_list(
-Returns an `ExpenseReport` object with the given `id`. +Returns a `Collection` object with the given `id`.
@@ -51957,19 +48096,14 @@ Returns an `ExpenseReport` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.retrieve( +client.ticketing.collections.retrieve( id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -51995,7 +48129,12 @@ client.accounting.expense_reports.retrieve(
-**expand:** `typing.Optional[ExpenseReportsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + CollectionsRetrieveRequestExpandItem, + typing.Sequence[CollectionsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -52011,7 +48150,7 @@ client.accounting.expense_reports.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -52019,7 +48158,15 @@ client.accounting.expense_reports.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_fields:** `typing.Optional[typing.Literal["collection_type"]]` — Deprecated. Use show_enum_origins. + +
+
+ +
+
+ +**show_enum_origins:** `typing.Optional[typing.Literal["collection_type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -52039,7 +48186,8 @@ client.accounting.expense_reports.retrieve(
-
client.accounting.expense_reports.lines_remote_field_classes_list(...) +## Ticketing Comments +
client.ticketing.comments.list(...)
@@ -52051,7 +48199,7 @@ client.accounting.expense_reports.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Comment` objects.
@@ -52066,21 +48214,43 @@ Returns a list of `RemoteFieldClass` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.lines_remote_field_classes_list( +response = client.ticketing.comments.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_id="remote_id", + ticket_id="ticket_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -52096,6 +48266,22 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -52104,6 +48290,19 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
+**expand:** `typing.Optional[ + typing.Union[ + CommentsListRequestExpandItem, + typing.Sequence[CommentsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -52128,7 +48327,7 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -52136,7 +48335,7 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -52144,7 +48343,31 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return Comments created in the third party platform after this datetime. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**ticket_id:** `typing.Optional[str]` — If provided, will only return comments for this ticket.
@@ -52164,7 +48387,7 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
-
client.accounting.expense_reports.meta_post_retrieve() +
client.ticketing.comments.create(...)
@@ -52176,7 +48399,7 @@ client.accounting.expense_reports.lines_remote_field_classes_list(
-Returns metadata for `ExpenseReport` POSTs. +Creates a `Comment` object with the given values.
@@ -52192,12 +48415,17 @@ Returns metadata for `ExpenseReport` POSTs. ```python from merge import Merge +from merge.resources.ticketing import CommentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.meta_post_retrieve() +client.ticketing.comments.create( + is_debug_mode=True, + run_async=True, + model=CommentRequest(), +) ``` @@ -52213,6 +48441,30 @@ client.accounting.expense_reports.meta_post_retrieve()
+**model:** `CommentRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -52225,7 +48477,7 @@ client.accounting.expense_reports.meta_post_retrieve()
-
client.accounting.expense_reports.remote_field_classes_list(...) +
client.ticketing.comments.retrieve(...)
@@ -52237,7 +48489,7 @@ client.accounting.expense_reports.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a `Comment` object with the given `id`.
@@ -52258,14 +48510,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expense_reports.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, +client.ticketing.comments.retrieve( + id="id", include_remote_data=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, ) ``` @@ -52282,7 +48530,7 @@ client.accounting.expense_reports.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -52290,7 +48538,12 @@ client.accounting.expense_reports.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + CommentsRetrieveRequestExpandItem, + typing.Sequence[CommentsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -52314,26 +48567,63 @@ client.accounting.expense_reports.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + +
+ +
client.ticketing.comments.meta_post_retrieve()
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +#### 📝 Description + +
+
+ +
+
+ +Returns metadata for `Comment` POSTs. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.comments.meta_post_retrieve() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -52350,8 +48640,8 @@ client.accounting.expense_reports.remote_field_classes_list(
-## Accounting Expenses -
client.accounting.expenses.list(...) +## Ticketing Contacts +
client.ticketing.contacts.list(...)
@@ -52363,7 +48653,7 @@ client.accounting.expense_reports.remote_field_classes_list(
-Returns a list of `Expense` objects. +Returns a list of `Contact` objects.
@@ -52381,16 +48671,12 @@ Returns a list of `Expense` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.list( - company_id="company_id", +response = client.ticketing.contacts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -52398,10 +48684,9 @@ client.accounting.expenses.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, + email_address="email_address", include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -52411,13 +48696,12 @@ client.accounting.expenses.list( ), page_size=1, remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -52433,14 +48717,6 @@ client.accounting.expenses.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return expenses for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -52465,7 +48741,7 @@ client.accounting.expenses.list(
-**expand:** `typing.Optional[ExpensesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**email_address:** `typing.Optional[str]` — If provided, will only return Contacts that match this email.
@@ -52473,7 +48749,11 @@ client.accounting.expenses.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["account"], typing.Sequence[typing.Literal["account"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -52481,7 +48761,7 @@ client.accounting.expenses.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -52489,7 +48769,7 @@ client.accounting.expenses.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -52521,7 +48801,7 @@ client.accounting.expenses.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -52537,22 +48817,6 @@ client.accounting.expenses.list(
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -52565,7 +48829,7 @@ client.accounting.expenses.list(
-
client.accounting.expenses.create(...) +
client.ticketing.contacts.create(...)
@@ -52577,7 +48841,7 @@ client.accounting.expenses.list(
-Creates an `Expense` object with the given values. +Creates a `Contact` object with the given values.
@@ -52593,16 +48857,16 @@ Creates an `Expense` object with the given values. ```python from merge import Merge -from merge.resources.accounting import ExpenseRequest +from merge.resources.ticketing import ContactRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.create( +client.ticketing.contacts.create( is_debug_mode=True, run_async=True, - model=ExpenseRequest(), + model=ContactRequest(), ) ``` @@ -52619,7 +48883,7 @@ client.accounting.expenses.create(
-**model:** `ExpenseRequest` +**model:** `ContactRequest`
@@ -52655,7 +48919,7 @@ client.accounting.expenses.create(
-
client.accounting.expenses.retrieve(...) +
client.ticketing.contacts.retrieve(...)
@@ -52667,7 +48931,7 @@ client.accounting.expenses.create(
-Returns an `Expense` object with the given `id`. +Returns a `Contact` object with the given `id`.
@@ -52683,19 +48947,14 @@ Returns an `Expense` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.retrieve( +client.ticketing.contacts.retrieve( id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, ) @@ -52721,7 +48980,11 @@ client.accounting.expenses.retrieve(
-**expand:** `typing.Optional[ExpensesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + typing.Literal["account"], typing.Sequence[typing.Literal["account"]] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -52737,14 +49000,6 @@ client.accounting.expenses.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -52765,7 +49020,7 @@ client.accounting.expenses.retrieve(
-
client.accounting.expenses.lines_remote_field_classes_list(...) +
client.ticketing.contacts.meta_post_retrieve()
@@ -52777,7 +49032,7 @@ client.accounting.expenses.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `TicketingContact` POSTs.
@@ -52798,15 +49053,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, -) +client.ticketing.contacts.meta_post_retrieve() ``` @@ -52822,58 +49069,64 @@ client.accounting.expenses.lines_remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+## Ticketing Scopes +
client.ticketing.scopes.default_scopes_retrieve()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
+#### 📝 Description
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+#### 🔌 Usage +
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.scopes.default_scopes_retrieve() + +```
+ + + +#### ⚙️ Parameters + +
+
@@ -52890,7 +49143,7 @@ client.accounting.expenses.lines_remote_field_classes_list(
-
client.accounting.expenses.meta_post_retrieve() +
client.ticketing.scopes.linked_account_scopes_retrieve()
@@ -52902,7 +49155,7 @@ client.accounting.expenses.lines_remote_field_classes_list(
-Returns metadata for `Expense` POSTs. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -52923,7 +49176,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.meta_post_retrieve() +client.ticketing.scopes.linked_account_scopes_retrieve() ``` @@ -52951,7 +49204,7 @@ client.accounting.expenses.meta_post_retrieve()
-
client.accounting.expenses.remote_field_classes_list(...) +
client.ticketing.scopes.linked_account_scopes_create(...)
@@ -52963,7 +49216,7 @@ client.accounting.expenses.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes)
@@ -52979,19 +49232,42 @@ Returns a list of `RemoteFieldClass` objects. ```python from merge import Merge +from merge.resources.ticketing import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.expenses.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.ticketing.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], ) ``` @@ -53008,7 +49284,7 @@ client.accounting.expenses.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -53016,50 +49292,64 @@ client.accounting.expenses.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+## Ticketing DeleteAccount +
client.ticketing.delete_account.delete()
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
-
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +Delete a linked account. +
+
+#### 🔌 Usage +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.delete_account.delete() + +```
+
+
+ +#### ⚙️ Parameters + +
+
@@ -53076,8 +49366,8 @@ client.accounting.expenses.remote_field_classes_list(
-## Accounting FieldMapping -
client.accounting.field_mapping.field_mappings_retrieve(...) +## Ticketing FieldMapping +
client.ticketing.field_mapping.field_mappings_retrieve(...)
@@ -53110,7 +49400,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.field_mappings_retrieve( +client.ticketing.field_mapping.field_mappings_retrieve( exclude_remote_field_metadata=True, ) @@ -53148,7 +49438,7 @@ client.accounting.field_mapping.field_mappings_retrieve(
-
client.accounting.field_mapping.field_mappings_create(...) +
client.ticketing.field_mapping.field_mappings_create(...)
@@ -53181,8 +49471,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.field_mappings_create( +client.ticketing.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -53261,6 +49552,22 @@ client.accounting.field_mapping.field_mappings_create(
+**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+ +
+
+ +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -53273,7 +49580,7 @@ client.accounting.field_mapping.field_mappings_create(
-
client.accounting.field_mapping.field_mappings_destroy(...) +
client.ticketing.field_mapping.field_mappings_destroy(...)
@@ -53306,7 +49613,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.field_mappings_destroy( +client.ticketing.field_mapping.field_mappings_destroy( field_mapping_id="field_mapping_id", ) @@ -53344,7 +49651,7 @@ client.accounting.field_mapping.field_mappings_destroy(
-
client.accounting.field_mapping.field_mappings_partial_update(...) +
client.ticketing.field_mapping.field_mappings_partial_update(...)
@@ -53377,8 +49684,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.field_mappings_partial_update( +client.ticketing.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) ``` @@ -53403,6 +49711,14 @@ client.accounting.field_mapping.field_mappings_partial_update(
+**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+ +
+
+ **remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -53427,6 +49743,14 @@ client.accounting.field_mapping.field_mappings_partial_update(
+**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -53439,7 +49763,7 @@ client.accounting.field_mapping.field_mappings_partial_update(
-
client.accounting.field_mapping.remote_fields_retrieve(...) +
client.ticketing.field_mapping.remote_fields_retrieve(...)
@@ -53472,7 +49796,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.remote_fields_retrieve( +client.ticketing.field_mapping.remote_fields_retrieve( common_models="common_models", include_example_values="include_example_values", ) @@ -53519,7 +49843,7 @@ client.accounting.field_mapping.remote_fields_retrieve(
-
client.accounting.field_mapping.target_fields_retrieve() +
client.ticketing.field_mapping.target_fields_retrieve()
@@ -53552,7 +49876,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.field_mapping.target_fields_retrieve() +client.ticketing.field_mapping.target_fields_retrieve() ```
@@ -53580,8 +49904,8 @@ client.accounting.field_mapping.target_fields_retrieve()
-## Accounting GeneralLedgerTransactions -
client.accounting.general_ledger_transactions.list(...) +## Ticketing GenerateKey +
client.ticketing.generate_key.create(...)
@@ -53593,7 +49917,79 @@ client.accounting.field_mapping.target_fields_retrieve()
-Returns a list of `GeneralLedgerTransaction` objects. +Create a remote key. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.generate_key.create( + name="Remote Deployment Key 1", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — The name of the remote key + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Ticketing Issues +
client.ticketing.issues.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Gets all issues for Organization.
@@ -53611,42 +50007,41 @@ Returns a list of `GeneralLedgerTransaction` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, -) +from merge.resources.ticketing.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.general_ledger_transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.issues.list( + account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( + end_date="end_date", + end_user_organization_name="end_user_organization_name", + first_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - modified_before=datetime.datetime.fromisoformat( + first_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - page_size=1, - posted_date_after=datetime.datetime.fromisoformat( + include_muted="include_muted", + integration_name="integration_name", + last_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - posted_date_before=datetime.datetime.fromisoformat( + last_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - remote_id="remote_id", + linked_account_id="linked_account_id", + page_size=1, + start_date="start_date", + status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -53662,7 +50057,7 @@ client.accounting.general_ledger_transactions.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return general ledger transactions for this company. +**account_token:** `typing.Optional[str]`
@@ -53670,7 +50065,7 @@ client.accounting.general_ledger_transactions.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -53678,7 +50073,7 @@ client.accounting.general_ledger_transactions.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -53686,7 +50081,7 @@ client.accounting.general_ledger_transactions.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_organization_name:** `typing.Optional[str]`
@@ -53694,7 +50089,7 @@ client.accounting.general_ledger_transactions.list(
-**expand:** `typing.Optional[GeneralLedgerTransactionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -53702,7 +50097,7 @@ client.accounting.general_ledger_transactions.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -53710,7 +50105,7 @@ client.accounting.general_ledger_transactions.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -53718,7 +50113,7 @@ client.accounting.general_ledger_transactions.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**integration_name:** `typing.Optional[str]`
@@ -53726,7 +50121,7 @@ client.accounting.general_ledger_transactions.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -53734,7 +50129,7 @@ client.accounting.general_ledger_transactions.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -53742,7 +50137,7 @@ client.accounting.general_ledger_transactions.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -53750,7 +50145,7 @@ client.accounting.general_ledger_transactions.list(
-**posted_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -53758,7 +50153,7 @@ client.accounting.general_ledger_transactions.list(
-**posted_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects posted before this datetime. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -53766,7 +50161,12 @@ client.accounting.general_ledger_transactions.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED
@@ -53786,7 +50186,7 @@ client.accounting.general_ledger_transactions.list(
-
client.accounting.general_ledger_transactions.retrieve(...) +
client.ticketing.issues.retrieve(...)
@@ -53798,7 +50198,7 @@ client.accounting.general_ledger_transactions.list(
-Returns a `GeneralLedgerTransaction` object with the given `id`. +Get a specific issue.
@@ -53814,19 +50214,13 @@ Returns a `GeneralLedgerTransaction` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.general_ledger_transactions.retrieve( +client.ticketing.issues.retrieve( id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, ) ``` @@ -53851,95 +50245,183 @@ client.accounting.general_ledger_transactions.retrieve(
-**expand:** `typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Ticketing LinkToken +
client.ticketing.link_token.create(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Creates a link token to be used when linking a new end user. The link token expires after single use.
+
+
+ +#### 🔌 Usage
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +```python +from merge import Merge +from merge.resources.ticketing import CategoriesEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +) + +```
+
+
+ +#### ⚙️ Parameters
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +
+
+ +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
+ +
+
+ +**end_user_organization_name:** `str` — Your end user's organization. +
+
+
+**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +
-
-## Accounting GenerateKey -
client.accounting.generate_key.create(...)
-#### 📝 Description +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. + +
+
+**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. + +
+
+
-Create a remote key. +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +
+ +
+
+ +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +
-#### 🔌 Usage -
+**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+
-```python -from merge import Merge +**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.generate_key.create( - name="Remote Deployment Key 1", -) +
+
-``` +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +
+ +
+
+ +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de +
-#### ⚙️ Parameters -
+**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+
-**name:** `str` — The name of the remote key +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -53959,8 +50441,8 @@ client.accounting.generate_key.create(
-## Accounting IncomeStatements -
client.accounting.income_statements.list(...) +## Ticketing LinkedAccounts +
client.ticketing.linked_accounts.list(...)
@@ -53972,7 +50454,7 @@ client.accounting.generate_key.create(
-Returns a list of `IncomeStatement` objects. +List linked accounts for your organization.
@@ -53987,35 +50469,35 @@ Returns a list of `IncomeStatement` objects.
```python -import datetime - from merge import Merge +from merge.resources.ticketing.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.income_statements.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.ticketing.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", + id="id", + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", page_size=1, - remote_id="remote_id", + status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -54031,7 +50513,17 @@ client.accounting.income_statements.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return income statements for this company. +**category:** `typing.Optional[LinkedAccountsListRequestCategory]` + +Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -54039,7 +50531,7 @@ client.accounting.income_statements.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -54047,7 +50539,7 @@ client.accounting.income_statements.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -54055,7 +50547,7 @@ client.accounting.income_statements.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -54063,7 +50555,7 @@ client.accounting.income_statements.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -54071,7 +50563,7 @@ client.accounting.income_statements.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -54079,7 +50571,7 @@ client.accounting.income_statements.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**id:** `typing.Optional[str]`
@@ -54087,7 +50579,7 @@ client.accounting.income_statements.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -54095,7 +50587,7 @@ client.accounting.income_statements.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
@@ -54103,7 +50595,7 @@ client.accounting.income_statements.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -54111,7 +50603,7 @@ client.accounting.income_statements.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -54119,7 +50611,15 @@ client.accounting.income_statements.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -54139,7 +50639,8 @@ client.accounting.income_statements.list(
-
client.accounting.income_statements.retrieve(...) +## Ticketing Passthrough +
client.ticketing.passthrough.create(...)
@@ -54151,7 +50652,7 @@ client.accounting.income_statements.list(
-Returns an `IncomeStatement` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -54167,15 +50668,17 @@ Returns an `IncomeStatement` object with the given `id`. ```python from merge import Merge +from merge.resources.ticketing import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.income_statements.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.ticketing.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -54192,31 +50695,7 @@ client.accounting.income_statements.retrieve(
-**id:** `str` - -
-
- -
-
- -**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**request:** `DataPassthroughRequest`
@@ -54236,8 +50715,8 @@ client.accounting.income_statements.retrieve(
-## Accounting Invoices -
client.accounting.invoices.list(...) +## Ticketing Projects +
client.ticketing.projects.list(...)
@@ -54249,7 +50728,7 @@ client.accounting.income_statements.retrieve(
-Returns a list of `Invoice` objects. +Returns a list of `Project` objects.
@@ -54267,19 +50746,12 @@ Returns a list of `Invoice` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, - InvoicesListRequestStatus, - InvoicesListRequestType, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.list( - company_id="company_id", - contact_id="contact_id", +response = client.ticketing.projects.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -54287,29 +50759,23 @@ client.accounting.invoices.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - number="number", page_size=1, remote_id="remote_id", - status=InvoicesListRequestStatus.DRAFT, - type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -54325,22 +50791,6 @@ client.accounting.invoices.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return invoices for this company. - -
-
- -
-
- -**contact_id:** `typing.Optional[str]` — If provided, will only return invoices for this contact. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -54365,14 +50815,6 @@ client.accounting.invoices.list(
-**expand:** `typing.Optional[InvoicesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -54389,14 +50831,6 @@ client.accounting.invoices.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- **include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -54405,22 +50839,6 @@ client.accounting.invoices.list(
-**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- **modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -54437,14 +50855,6 @@ client.accounting.invoices.list(
-**number:** `typing.Optional[str]` — If provided, will only return Invoices with this number. - -
-
- -
-
- **page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -54453,14 +50863,6 @@ client.accounting.invoices.list(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- **remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -54469,44 +50871,6 @@ client.accounting.invoices.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- -**status:** `typing.Optional[InvoicesListRequestStatus]` - -If provided, will only return Invoices with this status. - -* `PAID` - PAID -* `DRAFT` - DRAFT -* `SUBMITTED` - SUBMITTED -* `PARTIALLY_PAID` - PARTIALLY_PAID -* `OPEN` - OPEN -* `VOID` - VOID - -
-
- -
-
- -**type:** `typing.Optional[InvoicesListRequestType]` - -If provided, will only return Invoices with this type. - -* `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE -* `ACCOUNTS_PAYABLE` - ACCOUNTS_PAYABLE - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -54519,7 +50883,7 @@ If provided, will only return Invoices with this type.
-
client.accounting.invoices.create(...) +
client.ticketing.projects.retrieve(...)
@@ -54531,9 +50895,7 @@ If provided, will only return Invoices with this type.
-Creates an `Invoice` object with the given values. - Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s). - +Returns a `Project` object with the given `id`.
@@ -54549,16 +50911,15 @@ Creates an `Invoice` object with the given values. ```python from merge import Merge -from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.create( - is_debug_mode=True, - run_async=True, - model=InvoiceRequest(), +client.ticketing.projects.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -54575,7 +50936,7 @@ client.accounting.invoices.create(
-**model:** `InvoiceRequest` +**id:** `str`
@@ -54583,7 +50944,7 @@ client.accounting.invoices.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -54591,7 +50952,7 @@ client.accounting.invoices.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -54611,7 +50972,7 @@ client.accounting.invoices.create(
-
client.accounting.invoices.retrieve(...) +
client.ticketing.projects.users_list(...)
@@ -54623,7 +50984,7 @@ client.accounting.invoices.create(
-Returns an `Invoice` object with the given `id`. +Returns a list of `User` objects.
@@ -54639,21 +51000,24 @@ Returns an `Invoice` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.retrieve( - id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, +response = client.ticketing.projects.users_list( + parent_id="parent_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -54669,7 +51033,7 @@ client.accounting.invoices.retrieve(
-**id:** `str` +**parent_id:** `str`
@@ -54677,7 +51041,7 @@ client.accounting.invoices.retrieve(
-**expand:** `typing.Optional[InvoicesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -54685,7 +51049,12 @@ client.accounting.invoices.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + ProjectsUsersListRequestExpandItem, + typing.Sequence[ProjectsUsersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -54693,7 +51062,7 @@ client.accounting.invoices.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -54701,7 +51070,7 @@ client.accounting.invoices.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -54709,7 +51078,7 @@ client.accounting.invoices.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["type"]]` — Deprecated. Use show_enum_origins. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -54717,7 +51086,7 @@ client.accounting.invoices.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["type"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -54737,7 +51106,8 @@ client.accounting.invoices.retrieve(
-
client.accounting.invoices.partial_update(...) +## Ticketing RegenerateKey +
client.ticketing.regenerate_key.create(...)
@@ -54749,7 +51119,7 @@ client.accounting.invoices.retrieve(
-Updates an `Invoice` object with the given `id`. +Exchange remote keys.
@@ -54765,17 +51135,13 @@ Updates an `Invoice` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting import InvoiceRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=InvoiceRequest(), +client.ticketing.regenerate_key.create( + name="Remote Deployment Key 1", ) ``` @@ -54792,31 +51158,7 @@ client.accounting.invoices.partial_update(
-**id:** `str` - -
-
- -
-
- -**model:** `InvoiceRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. - -
-
- -
-
- -**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**name:** `str` — The name of the remote key
@@ -54836,7 +51178,8 @@ client.accounting.invoices.partial_update(
-
client.accounting.invoices.line_items_remote_field_classes_list(...) +## Ticketing Roles +
client.ticketing.roles.list(...)
@@ -54848,7 +51191,7 @@ client.accounting.invoices.partial_update(
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Role` objects.
@@ -54863,21 +51206,39 @@ Returns a list of `RemoteFieldClass` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.line_items_remote_field_classes_list( +response = client.ticketing.roles.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -54893,6 +51254,22 @@ client.accounting.invoices.line_items_remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -54925,7 +51302,7 @@ client.accounting.invoices.line_items_remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -54933,7 +51310,7 @@ client.accounting.invoices.line_items_remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -54941,7 +51318,15 @@ client.accounting.invoices.line_items_remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -54961,7 +51346,7 @@ client.accounting.invoices.line_items_remote_field_classes_list(
-
client.accounting.invoices.meta_patch_retrieve(...) +
client.ticketing.roles.retrieve(...)
@@ -54973,7 +51358,7 @@ client.accounting.invoices.line_items_remote_field_classes_list(
-Returns metadata for `Invoice` PATCHs. +Returns a `Role` object with the given `id`.
@@ -54994,8 +51379,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.meta_patch_retrieve( +client.ticketing.roles.retrieve( id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -55020,64 +51407,19 @@ client.accounting.invoices.meta_patch_retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
- -
- - - - -
- -
client.accounting.invoices.meta_post_retrieve() -
-
- -#### 📝 Description - -
-
- -
-
- -Returns metadata for `Invoice` POSTs. -
-
-
-
- -#### 🔌 Usage
-
-
- -```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.invoices.meta_post_retrieve() - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
@@ -55093,7 +51435,8 @@ client.accounting.invoices.meta_post_retrieve()
-
client.accounting.invoices.remote_field_classes_list(...) +## Ticketing SyncStatus +
client.ticketing.sync_status.list(...)
@@ -55105,7 +51448,7 @@ client.accounting.invoices.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -55126,15 +51469,15 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.invoices.remote_field_classes_list( +response = client.ticketing.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -55158,7 +51501,7 @@ client.accounting.invoices.remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -55166,43 +51509,65 @@ client.accounting.invoices.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+## Ticketing ForceResync +
client.ticketing.force_resync.sync_status_resync_create()
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
+#### 📝 Description
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +
+
+ +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
+
+
+ +#### 🔌 Usage
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.force_resync.sync_status_resync_create() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -55218,8 +51583,8 @@ client.accounting.invoices.remote_field_classes_list(
-## Accounting Issues -
client.accounting.issues.list(...) +## Ticketing Tags +
client.ticketing.tags.list(...)
@@ -55231,7 +51596,7 @@ client.accounting.invoices.remote_field_classes_list(
-Gets all issues for Organization. +Returns a list of `Tag` objects.
@@ -55249,36 +51614,36 @@ Gets all issues for Organization. import datetime from merge import Merge -from merge.resources.accounting.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( +response = client.ticketing.tags.list( + created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - first_incident_time_before=datetime.datetime.fromisoformat( + created_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - last_incident_time_before=datetime.datetime.fromisoformat( + modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - linked_account_id="linked_account_id", page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -55294,39 +51659,7 @@ client.accounting.issues.list(
-**account_token:** `typing.Optional[str]` - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time - -
-
- -
-
- -**end_user_organization_name:** `typing.Optional[str]` - -
-
- -
-
- -**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -55334,7 +51667,7 @@ client.accounting.issues.list(
-**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -55342,7 +51675,7 @@ client.accounting.issues.list(
-**include_muted:** `typing.Optional[str]` — If true, will include muted issues +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -55350,7 +51683,7 @@ client.accounting.issues.list(
-**integration_name:** `typing.Optional[str]` +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -55358,7 +51691,7 @@ client.accounting.issues.list(
-**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -55366,7 +51699,7 @@ client.accounting.issues.list(
-**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -55374,7 +51707,7 @@ client.accounting.issues.list(
-**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -55382,7 +51715,7 @@ client.accounting.issues.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -55390,7 +51723,7 @@ client.accounting.issues.list(
-**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -55398,12 +51731,7 @@ client.accounting.issues.list(
-**status:** `typing.Optional[IssuesListRequestStatus]` - -Status of the issue. Options: ('ONGOING', 'RESOLVED') - -* `ONGOING` - ONGOING -* `RESOLVED` - RESOLVED +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -55423,7 +51751,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-
client.accounting.issues.retrieve(...) +
client.ticketing.tags.retrieve(...)
@@ -55435,7 +51763,7 @@ Status of the issue. Options: ('ONGOING', 'RESOLVED')
-Get a specific issue. +Returns a `Tag` object with the given `id`.
@@ -55456,8 +51784,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.issues.retrieve( +client.ticketing.tags.retrieve( id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -55482,6 +51812,22 @@ client.accounting.issues.retrieve(
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -55494,8 +51840,8 @@ client.accounting.issues.retrieve(
-## Accounting Items -
client.accounting.items.list(...) +## Ticketing Teams +
client.ticketing.teams.list(...)
@@ -55507,7 +51853,7 @@ client.accounting.issues.retrieve(
-Returns a list of `Item` objects. +Returns a list of `Team` objects.
@@ -55525,14 +51871,12 @@ Returns a list of `Item` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.items import ItemsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.list( - company_id="company_id", +response = client.ticketing.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -55540,7 +51884,6 @@ client.accounting.items.list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -55553,6 +51896,11 @@ client.accounting.items.list( page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -55568,14 +51916,6 @@ client.accounting.items.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return items for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -55600,14 +51940,6 @@ client.accounting.items.list(
-**expand:** `typing.Optional[ItemsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -55648,15 +51980,7 @@ client.accounting.items.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -55672,14 +51996,6 @@ client.accounting.items.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
- -
-
- **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -55692,7 +52008,7 @@ client.accounting.items.list(
-
client.accounting.items.create(...) +
client.ticketing.teams.retrieve(...)
@@ -55704,7 +52020,7 @@ client.accounting.items.list(
-Creates an `Item` object with the given values. +Returns a `Team` object with the given `id`.
@@ -55720,16 +52036,15 @@ Creates an `Item` object with the given values. ```python from merge import Merge -from merge.resources.accounting import ItemRequestRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.create( - is_debug_mode=True, - run_async=True, - model=ItemRequestRequest(), +client.ticketing.teams.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -55746,7 +52061,7 @@ client.accounting.items.create(
-**model:** `ItemRequestRequest` +**id:** `str`
@@ -55754,7 +52069,7 @@ client.accounting.items.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -55762,7 +52077,7 @@ client.accounting.items.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -55782,7 +52097,8 @@ client.accounting.items.create(
-
client.accounting.items.retrieve(...) +## Ticketing Tickets +
client.ticketing.tickets.list(...)
@@ -55794,7 +52110,7 @@ client.accounting.items.create(
-Returns an `Item` object with the given `id`. +Returns a list of `Ticket` objects.
@@ -55809,21 +52125,86 @@ Returns an `Item` object with the given `id`.
```python +import datetime + from merge import Merge -from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, +from merge.resources.ticketing.resources.tickets import ( + TicketsListRequestPriority, + TicketsListRequestRemoteFields, + TicketsListRequestShowEnumOrigins, + TicketsListRequestStatus, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.retrieve( - id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, +response = client.ticketing.tickets.list( + account_id="account_id", + assignee_ids="assignee_ids", + collection_ids="collection_ids", + completed_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + completed_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + contact_id="contact_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + creator_id="creator_id", + creator_ids="creator_ids", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + due_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + due_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + include_deleted_data=True, include_remote_data=True, + include_remote_fields=True, include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", + page_size=1, + parent_ticket_id="parent_ticket_id", + priority=TicketsListRequestPriority.HIGH, + remote_created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_fields=TicketsListRequestRemoteFields.PRIORITY, + remote_id="remote_id", + remote_ids="remote_ids", + remote_updated_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_updated_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + show_enum_origins=TicketsListRequestShowEnumOrigins.PRIORITY, + status=TicketsListRequestStatus.EMPTY, + tags="tags", + ticket_type="ticket_type", + ticket_url="ticket_url", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -55839,7 +52220,7 @@ client.accounting.items.retrieve(
-**id:** `str` +**account_id:** `typing.Optional[str]` — If provided, will only return tickets for this account.
@@ -55847,7 +52228,7 @@ client.accounting.items.retrieve(
-**expand:** `typing.Optional[ItemsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**assignee_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas.
@@ -55855,7 +52236,7 @@ client.accounting.items.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**collection_ids:** `typing.Optional[str]` — If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas.
@@ -55863,7 +52244,7 @@ client.accounting.items.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**completed_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed after this datetime.
@@ -55871,7 +52252,7 @@ client.accounting.items.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**completed_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets completed before this datetime.
@@ -55879,7 +52260,7 @@ client.accounting.items.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**contact_id:** `typing.Optional[str]` — If provided, will only return tickets for this contact.
@@ -55887,74 +52268,108 @@ client.accounting.items.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +
+
+
+**creator_id:** `typing.Optional[str]` — If provided, will only return tickets created by this creator_id. +
-
-
client.accounting.items.partial_update(...)
-#### 📝 Description +**creator_ids:** `typing.Optional[str]` — If provided, will only return tickets created by the creator_ids; multiple creator_ids can be separated by commas. + +
+
+**cursor:** `typing.Optional[str]` — The pagination cursor value. + +
+
+
-Updates an `Item` object with the given `id`. +**due_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due after this datetime. +
+ +
+
+ +**due_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets due before this datetime. +
-#### 🔌 Usage -
+**expand:** `typing.Optional[ + typing.Union[ + TicketsListRequestExpandItem, + typing.Sequence[TicketsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+
-```python -from merge import Merge -from merge.resources.accounting import PatchedItemRequestRequest +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.partial_update( - id="id", - is_debug_mode=True, - run_async=True, - model=PatchedItemRequestRequest(), -) +
+
-``` +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
+ +
+
+ +**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +
-#### ⚙️ Parameters -
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+
-**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -55962,7 +52377,7 @@ client.accounting.items.partial_update(
-**model:** `PatchedItemRequestRequest` +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -55970,7 +52385,7 @@ client.accounting.items.partial_update(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**name:** `typing.Optional[str]` — If provided, will only return tickets with this name.
@@ -55978,7 +52393,7 @@ client.accounting.items.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -55986,70 +52401,118 @@ client.accounting.items.partial_update(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**parent_ticket_id:** `typing.Optional[str]` — If provided, will only return sub tickets of the parent_ticket_id.
+ +
+
+ +**priority:** `typing.Optional[TicketsListRequestPriority]` + +If provided, will only return tickets of this priority. + +* `URGENT` - URGENT +* `HIGH` - HIGH +* `NORMAL` - NORMAL +* `LOW` - LOW +
+
+
+**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform after this datetime. +
-
-
client.accounting.items.meta_patch_retrieve(...)
-#### 📝 Description +**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets created in the third party platform before this datetime. + +
+
+**remote_fields:** `typing.Optional[TicketsListRequestRemoteFields]` — Deprecated. Use show_enum_origins. + +
+
+
-Returns metadata for `Item` PATCHs. +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +
+ +
+
+ +**remote_ids:** `typing.Optional[str]` — If provided, will only return tickets with these remote IDs (comma-separated). +
-#### 🔌 Usage -
+**remote_updated_after:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform after this datetime. + +
+
+
-```python -from merge import Merge +**remote_updated_before:** `typing.Optional[dt.datetime]` — If provided, will only return tickets updated in the third party platform before this datetime. + +
+
-client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.items.meta_patch_retrieve( - id="id", -) +
+
-``` +**show_enum_origins:** `typing.Optional[TicketsListRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +
+ +
+
+ +**status:** `typing.Optional[TicketsListRequestStatus]` — If provided, will only return tickets of this status. +
-#### ⚙️ Parameters +
+
+ +**tags:** `typing.Optional[str]` — If provided, will only return tickets matching the tags; multiple tags can be separated by commas. + +
+
+**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets of this type. + +
+
+
-**id:** `str` +**ticket_url:** `typing.Optional[str]` — If provided, will only return tickets where the URL matches or contains the substring
@@ -56069,7 +52532,7 @@ client.accounting.items.meta_patch_retrieve(
-
client.accounting.items.meta_post_retrieve() +
client.ticketing.tickets.create(...)
@@ -56081,7 +52544,7 @@ client.accounting.items.meta_patch_retrieve(
-Returns metadata for `Item` POSTs. +Creates a `Ticket` object with the given values.
@@ -56097,12 +52560,17 @@ Returns metadata for `Item` POSTs. ```python from merge import Merge +from merge.resources.ticketing import TicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.items.meta_post_retrieve() +client.ticketing.tickets.create( + is_debug_mode=True, + run_async=True, + model=TicketRequest(), +) ``` @@ -56118,6 +52586,30 @@ client.accounting.items.meta_post_retrieve()
+**model:** `TicketRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -56130,8 +52622,7 @@ client.accounting.items.meta_post_retrieve()
-## Accounting JournalEntries -
client.accounting.journal_entries.list(...) +
client.ticketing.tickets.retrieve(...)
@@ -56143,7 +52634,7 @@ client.accounting.items.meta_post_retrieve()
-Returns a list of `JournalEntry` objects. +Returns a `Ticket` object with the given `id`.
@@ -56158,45 +52649,23 @@ Returns a list of `JournalEntry` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, +from merge.resources.ticketing.resources.tickets import ( + TicketsRetrieveRequestRemoteFields, + TicketsRetrieveRequestShowEnumOrigins, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, +client.ticketing.tickets.retrieve( + id="id", include_remote_data=True, include_remote_fields=True, include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + remote_fields=TicketsRetrieveRequestRemoteFields.PRIORITY, + show_enum_origins=TicketsRetrieveRequestShowEnumOrigins.PRIORITY, ) ``` @@ -56213,39 +52682,7 @@ client.accounting.journal_entries.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return journal entries for this company. - -
-
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
- -
-
- -**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**expand:** `typing.Optional[JournalEntriesListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**id:** `str`
@@ -56253,7 +52690,12 @@ client.accounting.journal_entries.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**expand:** `typing.Optional[ + typing.Union[ + TicketsRetrieveRequestExpandItem, + typing.Sequence[TicketsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -56285,39 +52727,7 @@ client.accounting.journal_entries.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
- -
-
- -**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**remote_fields:** `typing.Optional[TicketsRetrieveRequestRemoteFields]` — Deprecated. Use show_enum_origins.
@@ -56325,7 +52735,7 @@ client.accounting.journal_entries.list(
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**show_enum_origins:** `typing.Optional[TicketsRetrieveRequestShowEnumOrigins]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter)
@@ -56345,7 +52755,7 @@ client.accounting.journal_entries.list(
-
client.accounting.journal_entries.create(...) +
client.ticketing.tickets.partial_update(...)
@@ -56357,7 +52767,7 @@ client.accounting.journal_entries.list(
-Creates a `JournalEntry` object with the given values. +Updates a `Ticket` object with the given `id`.
@@ -56373,16 +52783,17 @@ Creates a `JournalEntry` object with the given values. ```python from merge import Merge -from merge.resources.accounting import JournalEntryRequest +from merge.resources.ticketing import PatchedTicketRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.create( +client.ticketing.tickets.partial_update( + id="id", is_debug_mode=True, run_async=True, - model=JournalEntryRequest(), + model=PatchedTicketRequest(), ) ``` @@ -56399,7 +52810,15 @@ client.accounting.journal_entries.create(
-**model:** `JournalEntryRequest` +**id:** `str` + +
+
+ +
+
+ +**model:** `PatchedTicketRequest`
@@ -56435,7 +52854,7 @@ client.accounting.journal_entries.create(
-
client.accounting.journal_entries.retrieve(...) +
client.ticketing.tickets.viewers_list(...)
@@ -56447,7 +52866,7 @@ client.accounting.journal_entries.create(
-Returns a `JournalEntry` object with the given `id`. +Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls)
@@ -56463,21 +52882,24 @@ Returns a `JournalEntry` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.retrieve( - id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, +response = client.ticketing.tickets.viewers_list( + ticket_id="ticket_id", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, include_remote_data=True, - include_remote_fields=True, include_shell_data=True, + page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -56493,7 +52915,7 @@ client.accounting.journal_entries.retrieve(
-**id:** `str` +**ticket_id:** `str`
@@ -56501,7 +52923,7 @@ client.accounting.journal_entries.retrieve(
-**expand:** `typing.Optional[JournalEntriesRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -56509,7 +52931,12 @@ client.accounting.journal_entries.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**expand:** `typing.Optional[ + typing.Union[ + TicketsViewersListRequestExpandItem, + typing.Sequence[TicketsViewersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -56517,7 +52944,15 @@ client.accounting.journal_entries.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -56533,6 +52968,14 @@ client.accounting.journal_entries.retrieve(
+**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -56545,7 +52988,7 @@ client.accounting.journal_entries.retrieve(
-
client.accounting.journal_entries.lines_remote_field_classes_list(...) +
client.ticketing.tickets.meta_patch_retrieve(...)
@@ -56557,7 +53000,7 @@ client.accounting.journal_entries.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns metadata for `Ticket` PATCHs.
@@ -56578,14 +53021,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.ticketing.tickets.meta_patch_retrieve( + id="id", ) ``` @@ -56602,55 +53039,7 @@ client.accounting.journal_entries.lines_remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - -
-
- -
-
- -**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. +**id:** `str`
@@ -56670,7 +53059,7 @@ client.accounting.journal_entries.lines_remote_field_classes_list(
-
client.accounting.journal_entries.meta_post_retrieve() +
client.ticketing.tickets.meta_post_retrieve(...)
@@ -56682,7 +53071,7 @@ client.accounting.journal_entries.lines_remote_field_classes_list(
-Returns metadata for `JournalEntry` POSTs. +Returns metadata for `Ticket` POSTs.
@@ -56703,7 +53092,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.meta_post_retrieve() +client.ticketing.tickets.meta_post_retrieve( + collection_id="collection_id", + ticket_type="ticket_type", +) ``` @@ -56719,6 +53111,22 @@ client.accounting.journal_entries.meta_post_retrieve()
+**collection_id:** `typing.Optional[str]` — If provided, will only return tickets for this collection. + +
+
+ +
+
+ +**ticket_type:** `typing.Optional[str]` — If provided, will only return tickets for this ticket type. + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -56731,7 +53139,7 @@ client.accounting.journal_entries.meta_post_retrieve()
-
client.accounting.journal_entries.remote_field_classes_list(...) +
client.ticketing.tickets.remote_field_classes_list(...)
@@ -56764,8 +53172,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.journal_entries.remote_field_classes_list( +response = client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + ids="ids", include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -56773,6 +53182,11 @@ client.accounting.journal_entries.remote_field_classes_list( is_custom=True, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -56796,6 +53210,14 @@ client.accounting.journal_entries.remote_field_classes_list(
+**ids:** `typing.Optional[str]` — If provided, will only return remote field classes with the `ids` in this list + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -56836,7 +53258,7 @@ client.accounting.journal_entries.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -56856,8 +53278,8 @@ client.accounting.journal_entries.remote_field_classes_list(
-## Accounting LinkToken -
client.accounting.link_token.create(...) +## Ticketing Users +
client.ticketing.users.list(...)
@@ -56869,7 +53291,7 @@ client.accounting.journal_entries.remote_field_classes_list(
-Creates a link token to be used when linking a new end user. +Returns a list of `User` objects.
@@ -56884,19 +53306,44 @@ Creates a link token to be used when linking a new end user.
```python +import datetime + from merge import Merge -from merge.resources.accounting import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], +response = client.ticketing.users.list( + collections="collections", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_address="email_address", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + roles="roles", + team="team", + teams="teams", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -56912,7 +53359,7 @@ client.accounting.link_token.create(
-**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. +**collections:** `typing.Optional[str]` — If provided, will only return users involved with at least one of these collections.
@@ -56920,7 +53367,7 @@ client.accounting.link_token.create(
-**end_user_organization_name:** `str` — Your end user's organization. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -56928,7 +53375,7 @@ client.accounting.link_token.create(
-**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -56936,7 +53383,7 @@ client.accounting.link_token.create(
-**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -56944,7 +53391,7 @@ client.accounting.link_token.create(
-**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. +**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive).
@@ -56952,7 +53399,11 @@ client.accounting.link_token.create(
-**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. +**expand:** `typing.Optional[ + typing.Union[ + UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -56960,7 +53411,7 @@ client.accounting.link_token.create(
-**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -56968,7 +53419,7 @@ client.accounting.link_token.create(
-**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -56976,7 +53427,7 @@ client.accounting.link_token.create(
-**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -56984,14 +53435,128 @@ client.accounting.link_token.create(
-**category_common_model_scopes:** `typing.Optional[ - typing.Dict[ - str, - typing.Optional[ - typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - ], - ] -]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. + +
+
+ +
+
+ +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. + +
+
+ +
+
+ +**roles:** `typing.Optional[str]` — If provided, will only return users with at least one of these roles. + +
+
+ +
+
+ +**team:** `typing.Optional[str]` — If provided, will only return users matching in this team. + +
+
+ +
+
+ +**teams:** `typing.Optional[str]` — If provided, will only return users with at least one of these teams. + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+ +
+ + + + +
+ +
client.ticketing.users.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a `User` object with the given `id`. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.users.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**id:** `str`
@@ -56999,12 +53564,12 @@ client.accounting.link_token.create(
-**language:** `typing.Optional[EndUserDetailsRequestLanguage]` - -The following subset of IETF language tags can be used to configure localization. - -* `en` - en -* `de` - de +**expand:** `typing.Optional[ + typing.Union[ + UsersRetrieveRequestExpandItem, + typing.Sequence[UsersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -57012,7 +53577,7 @@ The following subset of IETF language tags can be used to configure localization
-**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -57020,7 +53585,7 @@ The following subset of IETF language tags can be used to configure localization
-**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -57040,8 +53605,8 @@ The following subset of IETF language tags can be used to configure localization
-## Accounting LinkedAccounts -
client.accounting.linked_accounts.list(...) +## Ticketing WebhookReceivers +
client.ticketing.webhook_receivers.list()
@@ -57053,7 +53618,7 @@ The following subset of IETF language tags can be used to configure localization
-List linked accounts for your organization. +Returns a list of `WebhookReceiver` objects.
@@ -57069,29 +53634,12 @@ List linked accounts for your organization. ```python from merge import Merge -from merge.resources.accounting.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", -) +client.ticketing.webhook_receivers.list() ``` @@ -57107,57 +53655,71 @@ client.accounting.linked_accounts.list(
-**category:** `typing.Optional[LinkedAccountsListRequestCategory]` - -Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` - -* `hris` - hris -* `ats` - ats -* `accounting` - accounting -* `ticketing` - ticketing -* `crm` - crm -* `mktg` - mktg -* `filestorage` - filestorage +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**cursor:** `typing.Optional[str]` — The pagination cursor value. -
+
+
client.ticketing.webhook_receivers.create(...)
-**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address. - -
-
+#### 📝 Description
-**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name. - +
+
+ +Creates a `WebhookReceiver` object with the given values. +
+
+#### 🔌 Usage +
-**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID. - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.ticketing.webhook_receivers.create( + event="event", + is_active=True, +) + +``` +
+
+#### ⚙️ Parameters +
-**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. +
+
+ +**event:** `str`
@@ -57165,7 +53727,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**id:** `typing.Optional[str]` +**is_active:** `bool`
@@ -57173,7 +53735,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. +**key:** `typing.Optional[str]`
@@ -57181,43 +53743,65 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name. -
+
+## Filestorage AccountDetails +
client.filestorage.account_details.retrieve()
-**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - -
-
+#### 📝 Description
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +
+
+ +Get details for a linked account. +
+
+#### 🔌 Usage +
-**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.account_details.retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -57233,8 +53817,8 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-## Accounting Passthrough -
client.accounting.passthrough.create(...) +## Filestorage AccountToken +
client.filestorage.account_token.retrieve(...)
@@ -57246,7 +53830,7 @@ Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing`
-Pull data from an endpoint not currently supported by Merge. +Returns the account token for the end user with the provided public token.
@@ -57262,17 +53846,13 @@ Pull data from an endpoint not currently supported by Merge. ```python from merge import Merge -from merge.resources.accounting import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), +client.filestorage.account_token.retrieve( + public_token="public_token", ) ``` @@ -57289,7 +53869,7 @@ client.accounting.passthrough.create(
-**request:** `DataPassthroughRequest` +**public_token:** `str`
@@ -57309,8 +53889,7 @@ client.accounting.passthrough.create(
-## Accounting PaymentMethods -
client.accounting.payment_methods.list(...) +
client.filestorage.account_token.regenerate_create()
@@ -57322,7 +53901,7 @@ client.accounting.passthrough.create(
-Returns a list of `PaymentMethod` objects. +Exchange Linked Account account tokens.
@@ -57343,13 +53922,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_methods.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, -) +client.filestorage.account_token.regenerate_create() ``` @@ -57365,39 +53938,75 @@ client.accounting.payment_methods.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). -
+
+ +## Filestorage AsyncPassthrough +
client.filestorage.async_passthrough.create(...) +
+
+ +#### 📝 Description
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +
+
+ +Asynchronously pull data from an endpoint not currently supported by Merge. +
+
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +```python +from merge import Merge +from merge.resources.filestorage import DataPassthroughRequest, MethodEnum + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.async_passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), +) + +```
+
+
+ +#### ⚙️ Parameters
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**request:** `DataPassthroughRequest`
@@ -57417,7 +54026,7 @@ client.accounting.payment_methods.list(
-
client.accounting.payment_methods.retrieve(...) +
client.filestorage.async_passthrough.retrieve(...)
@@ -57429,7 +54038,7 @@ client.accounting.payment_methods.list(
-Returns a `PaymentMethod` object with the given `id`. +Retrieves data from earlier async-passthrough POST request
@@ -57450,10 +54059,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_methods.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.filestorage.async_passthrough.retrieve( + async_passthrough_receipt_id="async_passthrough_receipt_id", ) ``` @@ -57470,23 +54077,7 @@ client.accounting.payment_methods.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**async_passthrough_receipt_id:** `str`
@@ -57506,8 +54097,8 @@ client.accounting.payment_methods.retrieve(
-## Accounting PaymentTerms -
client.accounting.payment_terms.list(...) +## Filestorage AuditTrail +
client.filestorage.audit_trail.list(...)
@@ -57519,7 +54110,7 @@ client.accounting.payment_methods.retrieve(
-Returns a list of `PaymentTerm` objects. +Gets a list of audit trail events.
@@ -57540,13 +54131,19 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_terms.list( +response = client.filestorage.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, + end_date="end_date", + event_type="event_type", page_size=1, + start_date="start_date", + user_email="user_email", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -57570,7 +54167,7 @@ client.accounting.payment_terms.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred before this time
@@ -57578,7 +54175,7 @@ client.accounting.payment_terms.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**event_type:** `typing.Optional[str]` — If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED`
@@ -57586,7 +54183,7 @@ client.accounting.payment_terms.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -57594,7 +54191,7 @@ client.accounting.payment_terms.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**start_date:** `typing.Optional[str]` — If included, will only include audit trail events that occurred after this time
@@ -57602,7 +54199,7 @@ client.accounting.payment_terms.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**user_email:** `typing.Optional[str]` — If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
@@ -57622,7 +54219,8 @@ client.accounting.payment_terms.list(
-
client.accounting.payment_terms.retrieve(...) +## Filestorage AvailableActions +
client.filestorage.available_actions.retrieve()
@@ -57634,7 +54232,7 @@ client.accounting.payment_terms.list(
-Returns a `PaymentTerm` object with the given `id`. +Returns a list of models and actions available for an account.
@@ -57655,11 +54253,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payment_terms.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, -) +client.filestorage.available_actions.retrieve() ``` @@ -57675,35 +54269,65 @@ client.accounting.payment_terms.retrieve(
-**id:** `str` +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Filestorage Scopes +
client.filestorage.scopes.default_scopes_retrieve()
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). +
+
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.scopes.default_scopes_retrieve() + +``` +
+
+#### ⚙️ Parameters + +
+
+
@@ -57719,8 +54343,7 @@ client.accounting.payment_terms.retrieve(
-## Accounting Payments -
client.accounting.payments.list(...) +
client.filestorage.scopes.linked_account_scopes_retrieve()
@@ -57732,7 +54355,7 @@ client.accounting.payment_terms.retrieve(
-Returns a list of `Payment` objects. +Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes).
@@ -57747,48 +54370,13 @@ Returns a list of `Payment` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.list( - account_id="account_id", - company_id="company_id", - contact_id="contact_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), -) +client.filestorage.scopes.linked_account_scopes_retrieve() ```
@@ -57804,71 +54392,99 @@ client.accounting.payments.list(
-**account_id:** `typing.Optional[str]` — If provided, will only return payments for this account. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**company_id:** `typing.Optional[str]` — If provided, will only return payments for this company. -
+
+
client.filestorage.scopes.linked_account_scopes_create(...)
-**contact_id:** `typing.Optional[str]` — If provided, will only return payments for this contact. - -
-
+#### 📝 Description
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - +Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) +
+
+#### 🔌 Usage +
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
-
-**expand:** `typing.Optional[PaymentsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - +```python +from merge import Merge +from merge.resources.filestorage import ( + FieldPermissionDeserializerRequest, + IndividualCommonModelScopeDeserializerRequest, + ModelPermissionDeserializerRequest, +) + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.scopes.linked_account_scopes_create( + common_models=[ + IndividualCommonModelScopeDeserializerRequest( + model_name="Employee", + model_permissions={ + "READ": ModelPermissionDeserializerRequest( + is_enabled=True, + ), + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ), + }, + field_permissions=FieldPermissionDeserializerRequest( + enabled_fields=["avatar", "home_location"], + disabled_fields=["work_location"], + ), + ), + IndividualCommonModelScopeDeserializerRequest( + model_name="Benefit", + model_permissions={ + "WRITE": ModelPermissionDeserializerRequest( + is_enabled=False, + ) + }, + ), + ], +) + +``` +
+
+#### ⚙️ Parameters +
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**common_models:** `typing.Sequence[IndividualCommonModelScopeDeserializerRequest]` — The common models you want to update the scopes for
@@ -57876,67 +54492,65 @@ client.accounting.payments.list(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ + -
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). -
+
+## Filestorage DeleteAccount +
client.filestorage.delete_account.delete()
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
+#### 📝 Description
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - +Delete a linked account.
+ + + +#### 🔌 Usage
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - -
-
-
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.delete_account.delete() + +``` +
+
+#### ⚙️ Parameters +
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
-
@@ -57952,7 +54566,8 @@ client.accounting.payments.list(
-
client.accounting.payments.create(...) +## Filestorage Drives +
client.filestorage.drives.list(...)
@@ -57964,7 +54579,7 @@ client.accounting.payments.list(
-Creates a `Payment` object with the given values. +Returns a list of `Drive` objects.
@@ -57979,18 +54594,40 @@ Creates a `Payment` object with the given values.
```python +import datetime + from merge import Merge -from merge.resources.accounting import PaymentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.create( - is_debug_mode=True, - run_async=True, - model=PaymentRequest(), +response = client.filestorage.drives.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -58006,7 +54643,7 @@ client.accounting.payments.create(
-**model:** `PaymentRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -58014,7 +54651,7 @@ client.accounting.payments.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -58022,7 +54659,7 @@ client.accounting.payments.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -58030,77 +54667,31 @@ client.accounting.payments.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
- -
- - - - -
- -
client.accounting.payments.retrieve(...) -
-
- -#### 📝 Description - -
-
-Returns a `Payment` object with the given `id`. -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +
-#### 🔌 Usage -
-
-
- -```python -from merge import Merge -from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.retrieve( - id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, -) - -``` -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -58108,7 +54699,7 @@ client.accounting.payments.retrieve(
-**expand:** `typing.Optional[PaymentsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -58116,7 +54707,7 @@ client.accounting.payments.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**name:** `typing.Optional[str]` — If provided, will only return drives with this name. This performs an exact match.
@@ -58124,7 +54715,7 @@ client.accounting.payments.retrieve(
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. +**page_size:** `typing.Optional[int]` — Number of results to return per page.
@@ -58132,7 +54723,7 @@ client.accounting.payments.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -58152,7 +54743,7 @@ client.accounting.payments.retrieve(
-
client.accounting.payments.partial_update(...) +
client.filestorage.drives.retrieve(...)
@@ -58164,7 +54755,7 @@ client.accounting.payments.retrieve(
-Updates a `Payment` object with the given `id`. +Returns a `Drive` object with the given `id`.
@@ -58180,17 +54771,15 @@ Updates a `Payment` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting import PatchedPaymentRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.partial_update( +client.filestorage.drives.retrieve( id="id", - is_debug_mode=True, - run_async=True, - model=PatchedPaymentRequest(), + include_remote_data=True, + include_shell_data=True, ) ``` @@ -58215,15 +54804,7 @@ client.accounting.payments.partial_update(
-**model:** `PatchedPaymentRequest` - -
-
- -
-
- -**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -58231,7 +54812,7 @@ client.accounting.payments.partial_update(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -58251,7 +54832,8 @@ client.accounting.payments.partial_update(
-
client.accounting.payments.line_items_remote_field_classes_list(...) +## Filestorage FieldMapping +
client.filestorage.field_mapping.field_mappings_retrieve(...)
@@ -58263,7 +54845,7 @@ client.accounting.payments.partial_update(
-Returns a list of `RemoteFieldClass` objects. +Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -58284,14 +54866,8 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.filestorage.field_mapping.field_mappings_retrieve( + exclude_remote_field_metadata=True, ) ``` @@ -58308,7 +54884,7 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations.
@@ -58316,47 +54892,77 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
-
-
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+
+
client.filestorage.field_mapping.field_mappings_create(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value - +
+
+ +Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. +
+
+#### 🔌 Usage +
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value - +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.field_mapping.field_mappings_create( + exclude_remote_field_metadata=True, + remote_data_iteration_count=1, + target_field_name="example_target_field_name", + target_field_description="this is a example description of the target field", + remote_field_traversal_path=["example_remote_field"], + remote_method="GET", + remote_url_path="/example-url-path", + common_model_name="ExampleCommonModel", +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +
+
+ +**target_field_name:** `str` — The name of the target field you want this remote field to map to.
@@ -58364,70 +54970,63 @@ client.accounting.payments.line_items_remote_field_classes_list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**target_field_description:** `str` — The description of the target field you want this remote field to map to.
-
-
+
+
+**remote_field_traversal_path:** `typing.Sequence[typing.Optional[typing.Any]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. +
-
-
client.accounting.payments.meta_patch_retrieve(...)
-#### 📝 Description - -
-
+**remote_method:** `str` — The method of the remote endpoint where the remote field is coming from. + +
+
-Returns metadata for `Payment` PATCHs. -
-
+**remote_url_path:** `str` — The path of the remote endpoint where the remote field is coming from. +
-#### 🔌 Usage -
+**common_model_name:** `str` — The name of the Common Model that the remote field corresponds to in a given category. + +
+
+
-```python -from merge import Merge - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.payments.meta_patch_retrieve( - id="id", -) - -``` -
-
+**exclude_remote_field_metadata:** `typing.Optional[bool]` — If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + -#### ⚙️ Parameters -
+**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + +
+
+
-**id:** `str` +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -58447,7 +55046,7 @@ client.accounting.payments.meta_patch_retrieve(
-
client.accounting.payments.meta_post_retrieve() +
client.filestorage.field_mapping.field_mappings_destroy(...)
@@ -58459,7 +55058,7 @@ client.accounting.payments.meta_patch_retrieve(
-Returns metadata for `Payment` POSTs. +Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -58480,7 +55079,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.meta_post_retrieve() +client.filestorage.field_mapping.field_mappings_destroy( + field_mapping_id="field_mapping_id", +) ``` @@ -58496,6 +55097,14 @@ client.accounting.payments.meta_post_retrieve()
+**field_mapping_id:** `str` + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -58508,7 +55117,7 @@ client.accounting.payments.meta_post_retrieve()
-
client.accounting.payments.remote_field_classes_list(...) +
client.filestorage.field_mapping.field_mappings_partial_update(...)
@@ -58520,7 +55129,7 @@ client.accounting.payments.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start.
@@ -58541,14 +55150,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.payments.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, +client.filestorage.field_mapping.field_mappings_partial_update( + field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) ``` @@ -58565,15 +55169,7 @@ client.accounting.payments.remote_field_classes_list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
- -
-
- -**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**field_mapping_id:** `str`
@@ -58581,7 +55177,7 @@ client.accounting.payments.remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**remote_data_iteration_count:** `typing.Optional[int]` — Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided.
@@ -58589,7 +55185,7 @@ client.accounting.payments.remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_field_traversal_path:** `typing.Optional[typing.Sequence[typing.Optional[typing.Any]]]` — The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint.
@@ -58597,7 +55193,7 @@ client.accounting.payments.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**remote_method:** `typing.Optional[str]` — The method of the remote endpoint where the remote field is coming from.
@@ -58605,7 +55201,7 @@ client.accounting.payments.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**remote_url_path:** `typing.Optional[str]` — The path of the remote endpoint where the remote field is coming from.
@@ -58613,7 +55209,7 @@ client.accounting.payments.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**jmes_path:** `typing.Optional[str]` — JMES path to specify json query expression to be used on field mapping.
@@ -58633,8 +55229,7 @@ client.accounting.payments.remote_field_classes_list(
-## Accounting PhoneNumbers -
client.accounting.phone_numbers.retrieve(...) +
client.filestorage.field_mapping.remote_fields_retrieve(...)
@@ -58646,7 +55241,7 @@ client.accounting.payments.remote_field_classes_list(
-Returns an `AccountingPhoneNumber` object with the given `id`. +Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/).
@@ -58667,10 +55262,9 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.phone_numbers.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.filestorage.field_mapping.remote_fields_retrieve( + common_models="common_models", + include_example_values="include_example_values", ) ``` @@ -58687,15 +55281,7 @@ client.accounting.phone_numbers.retrieve(
-**id:** `str` - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**common_models:** `typing.Optional[str]` — A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models.
@@ -58703,7 +55289,7 @@ client.accounting.phone_numbers.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**include_example_values:** `typing.Optional[str]` — If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers.
@@ -58723,8 +55309,7 @@ client.accounting.phone_numbers.retrieve(
-## Accounting Projects -
client.accounting.projects.list(...) +
client.filestorage.field_mapping.target_fields_retrieve()
@@ -58736,7 +55321,7 @@ client.accounting.phone_numbers.retrieve(
-Returns a list of `Project` objects. +Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/).
@@ -58751,39 +55336,13 @@ Returns a list of `Project` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.projects.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) +client.filestorage.field_mapping.target_fields_retrieve() ```
@@ -58799,87 +55358,107 @@ client.accounting.projects.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return projects for this company. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. -
-
-
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. -
+
+## Filestorage Files +
client.filestorage.files.list(...)
-**cursor:** `typing.Optional[str]` — The pagination cursor value. - -
-
+#### 📝 Description
-**expand:** `typing.Optional[ProjectsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
-
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - +Returns a list of `File` objects.
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. -
+#### 🔌 Usage +
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
-
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - +```python +import datetime + +from merge import Merge +from merge.resources.filestorage.resources.files import FilesListRequestOrderBy + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +response = client.filestorage.files.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + drive_id="drive_id", + folder_id="folder_id", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + mime_type="mime_type", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", + order_by=FilesListRequestOrderBy.CREATED_AT_DESCENDING, + page_size=1, + remote_created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + remote_id="remote_id", +) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page + +```
+ + + +#### ⚙️ Parameters
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -58887,7 +55466,7 @@ client.accounting.projects.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -58895,76 +55474,35 @@ client.accounting.projects.list(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
- - - - - - -
- -
client.accounting.projects.retrieve(...) -
-
- -#### 📝 Description
-
-
- -Returns a `Project` object with the given `id`. -
-
+**drive_id:** `typing.Optional[str]` — Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.projects.retrieve( - id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**expand:** `typing.Optional[ + typing.Union[ + FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem] + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**folder_id:** `typing.Optional[str]` — Specifying a folder id returns only the files in that folder. Specifying null returns only the files in root directory.
@@ -58972,7 +55510,7 @@ client.accounting.projects.retrieve(
-**expand:** `typing.Optional[ProjectsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -58996,102 +55534,31 @@ client.accounting.projects.retrieve(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**mime_type:** `typing.Optional[str]` — If provided, will only return files with these mime_types. Multiple values can be separated by commas.
-
-
- - -
-
-
- -## Accounting PurchaseOrders -
client.accounting.purchase_orders.list(...) -
-
- -#### 📝 Description
-
-
- -Returns a list of `PurchaseOrder` objects. -
-
+**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +
-#### 🔌 Usage -
-
-
- -```python -import datetime - -from merge import Merge -from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.purchase_orders.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, - issue_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - issue_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", -) - -``` -
-
+**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +
-#### ⚙️ Parameters -
-
-
- -**company_id:** `typing.Optional[str]` — If provided, will only return purchase orders for this company. +**name:** `typing.Optional[str]` — If provided, will only return files with this name. This performs an exact match.
@@ -59099,7 +55566,7 @@ client.accounting.purchase_orders.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**order_by:** `typing.Optional[FilesListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.
@@ -59107,7 +55574,7 @@ client.accounting.purchase_orders.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -59115,7 +55582,7 @@ client.accounting.purchase_orders.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**remote_created_after:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform after this datetime.
@@ -59123,7 +55590,7 @@ client.accounting.purchase_orders.list(
-**expand:** `typing.Optional[PurchaseOrdersListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**remote_created_before:** `typing.Optional[dt.datetime]` — If provided, will only return files created in the third party platform before this datetime.
@@ -59131,7 +55598,7 @@ client.accounting.purchase_orders.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -59139,71 +55606,73 @@ client.accounting.purchase_orders.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+
+
-
-
-**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. -
+
+
client.filestorage.files.create(...)
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
+#### 📝 Description
-**issue_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. - -
-
-
-**issue_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - +Creates a `File` object with the given values. +
+
+#### 🔌 Usage +
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. - -
-
-
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - +```python +from merge import Merge +from merge.resources.filestorage import FileRequest + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.files.create( + is_debug_mode=True, + run_async=True, + model=FileRequest(), +) + +``` +
+
+#### ⚙️ Parameters +
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
-
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**model:** `FileRequest`
@@ -59211,7 +55680,7 @@ client.accounting.purchase_orders.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response.
@@ -59219,7 +55688,7 @@ client.accounting.purchase_orders.list(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -59239,7 +55708,7 @@ client.accounting.purchase_orders.list(
-
client.accounting.purchase_orders.create(...) +
client.filestorage.files.retrieve(...)
@@ -59251,7 +55720,7 @@ client.accounting.purchase_orders.list(
-Creates a `PurchaseOrder` object with the given values. +Returns a `File` object with the given `id`.
@@ -59267,16 +55736,15 @@ Creates a `PurchaseOrder` object with the given values. ```python from merge import Merge -from merge.resources.accounting import PurchaseOrderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.create( - is_debug_mode=True, - run_async=True, - model=PurchaseOrderRequest(), +client.filestorage.files.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -59293,7 +55761,7 @@ client.accounting.purchase_orders.create(
-**model:** `PurchaseOrderRequest` +**id:** `str`
@@ -59301,7 +55769,12 @@ client.accounting.purchase_orders.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**expand:** `typing.Optional[ + typing.Union[ + FilesRetrieveRequestExpandItem, + typing.Sequence[FilesRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -59309,7 +55782,15 @@ client.accounting.purchase_orders.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -59329,7 +55810,7 @@ client.accounting.purchase_orders.create(
-
client.accounting.purchase_orders.retrieve(...) +
client.filestorage.files.download_request_meta_retrieve(...)
@@ -59341,7 +55822,7 @@ client.accounting.purchase_orders.create(
-Returns a `PurchaseOrder` object with the given `id`. +Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our direct file download help center article.
@@ -59357,20 +55838,14 @@ Returns a `PurchaseOrder` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.retrieve( +client.filestorage.files.download_request_meta_retrieve( id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_remote_fields=True, - include_shell_data=True, + mime_type="mime_type", ) ``` @@ -59395,47 +55870,7 @@ client.accounting.purchase_orders.retrieve(
-**expand:** `typing.Optional[PurchaseOrdersRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - -
-
- -
-
- -**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
- -
-
- -**include_remote_fields:** `typing.Optional[bool]` — Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. - -
-
- -
-
- -**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - -
-
- -
-
- -**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. - -
-
- -
-
- -**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**mime_type:** `typing.Optional[str]` — If provided, specifies the export format of the file to be downloaded.
@@ -59455,7 +55890,7 @@ client.accounting.purchase_orders.retrieve(
-
client.accounting.purchase_orders.line_items_remote_field_classes_list(...) +
client.filestorage.files.download_request_meta_list(...)
@@ -59467,7 +55902,7 @@ client.accounting.purchase_orders.retrieve(
-Returns a list of `RemoteFieldClass` objects. +Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party.
@@ -59483,20 +55918,30 @@ Returns a list of `RemoteFieldClass` objects. ```python from merge import Merge +from merge.resources.filestorage.resources.files import ( + FilesDownloadRequestMetaListRequestOrderBy, +) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.line_items_remote_field_classes_list( +response = client.filestorage.files.download_request_meta_list( + created_after="created_after", + created_before="created_before", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, + mime_types="mime_types", + modified_after="modified_after", + modified_before="modified_before", + order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, page_size=1, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -59512,6 +55957,22 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
+**created_after:** `typing.Optional[str]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[str]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -59520,6 +55981,14 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
+**ids:** `typing.Optional[typing.Union[str, typing.Sequence[str]]]` — If provided, will only return objects with the given IDs. Comma-separated list of strings. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -59528,7 +55997,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**mime_types:** `typing.Optional[str]` — A comma-separated list of preferred MIME types in order of priority. If supported by the third-party provider, the file(s) will be returned in the first supported MIME type from the list. The default MIME type is PDF. To see supported MIME types by file type, refer to our export format help center article.
@@ -59536,7 +56005,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**modified_after:** `typing.Optional[str]` — If provided, will only return objects modified after this datetime.
@@ -59544,7 +56013,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_before:** `typing.Optional[str]` — If provided, will only return objects modified before this datetime.
@@ -59552,7 +56021,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**order_by:** `typing.Optional[FilesDownloadRequestMetaListRequestOrderBy]` — Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at.
@@ -59580,7 +56049,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-
client.accounting.purchase_orders.meta_post_retrieve() +
client.filestorage.files.meta_post_retrieve()
@@ -59592,7 +56061,7 @@ client.accounting.purchase_orders.line_items_remote_field_classes_list(
-Returns metadata for `PurchaseOrder` POSTs. +Returns metadata for `FileStorageFile` POSTs.
@@ -59613,7 +56082,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.meta_post_retrieve() +client.filestorage.files.meta_post_retrieve() ``` @@ -59641,7 +56110,8 @@ client.accounting.purchase_orders.meta_post_retrieve()
-
client.accounting.purchase_orders.remote_field_classes_list(...) +## Filestorage Folders +
client.filestorage.folders.list(...)
@@ -59653,7 +56123,7 @@ client.accounting.purchase_orders.meta_post_retrieve()
-Returns a list of `RemoteFieldClass` objects. +Returns a list of `Folder` objects.
@@ -59668,21 +56138,42 @@ Returns a list of `RemoteFieldClass` objects.
```python +import datetime + from merge import Merge client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.purchase_orders.remote_field_classes_list( +response = client.filestorage.folders.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + drive_id="drive_id", include_deleted_data=True, include_remote_data=True, include_shell_data=True, - is_common_model_field=True, - is_custom=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + name="name", page_size=1, + parent_folder_id="parent_folder_id", + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -59698,6 +56189,22 @@ client.accounting.purchase_orders.remote_field_classes_list(
+**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. + +
+
+ +
+
+ +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. + +
+
+ +
+
+ **cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -59706,6 +56213,27 @@ client.accounting.purchase_orders.remote_field_classes_list(
+**drive_id:** `typing.Optional[str]` — If provided, will only return folders in this drive. + +
+
+ +
+
+ +**expand:** `typing.Optional[ + typing.Union[ + FoldersListRequestExpandItem, + typing.Sequence[FoldersListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ **include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
@@ -59730,7 +56258,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-**is_common_model_field:** `typing.Optional[bool]` — If provided, will only return remote field classes with this is_common_model_field value +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -59738,7 +56266,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-**is_custom:** `typing.Optional[bool]` — If provided, will only return remote fields classes with this is_custom value +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -59746,7 +56274,31 @@ client.accounting.purchase_orders.remote_field_classes_list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**name:** `typing.Optional[str]` — If provided, will only return folders with this name. This performs an exact match. + +
+
+ +
+
+ +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100. + +
+
+ +
+
+ +**parent_folder_id:** `typing.Optional[str]` — If provided, will only return folders in this parent folder. If null, will return folders in root directory. + +
+
+ +
+
+ +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -59766,8 +56318,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-## Accounting RegenerateKey -
client.accounting.regenerate_key.create(...) +
client.filestorage.folders.create(...)
@@ -59779,7 +56330,7 @@ client.accounting.purchase_orders.remote_field_classes_list(
-Exchange remote keys. +Creates a `Folder` object with the given values.
@@ -59795,13 +56346,16 @@ Exchange remote keys. ```python from merge import Merge +from merge.resources.filestorage import FolderRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.regenerate_key.create( - name="Remote Deployment Key 1", +client.filestorage.folders.create( + is_debug_mode=True, + run_async=True, + model=FolderRequest(), ) ``` @@ -59818,7 +56372,23 @@ client.accounting.regenerate_key.create(
-**name:** `str` — The name of the remote key +**model:** `FolderRequest` + +
+
+ +
+
+ +**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. + +
+
+ +
+
+ +**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously.
@@ -59838,8 +56408,7 @@ client.accounting.regenerate_key.create(
-## Accounting SyncStatus -
client.accounting.sync_status.list(...) +
client.filestorage.folders.retrieve(...)
@@ -59851,7 +56420,7 @@ client.accounting.regenerate_key.create(
-Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). +Returns a `Folder` object with the given `id`.
@@ -59872,9 +56441,10 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, +client.filestorage.folders.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, ) ``` @@ -59891,7 +56461,7 @@ client.accounting.sync_status.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**id:** `str`
@@ -59899,7 +56469,28 @@ client.accounting.sync_status.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**expand:** `typing.Optional[ + typing.Union[ + FoldersRetrieveRequestExpandItem, + typing.Sequence[FoldersRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
@@ -59919,8 +56510,7 @@ client.accounting.sync_status.list(
-## Accounting ForceResync -
client.accounting.force_resync.sync_status_resync_create() +
client.filestorage.folders.meta_post_retrieve()
@@ -59932,7 +56522,7 @@ client.accounting.sync_status.list(
-Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. +Returns metadata for `FileStorageFolder` POSTs.
@@ -59953,7 +56543,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.force_resync.sync_status_resync_create() +client.filestorage.folders.meta_post_retrieve() ``` @@ -59981,8 +56571,8 @@ client.accounting.force_resync.sync_status_resync_create()
-## Accounting TaxRates -
client.accounting.tax_rates.list(...) +## Filestorage GenerateKey +
client.filestorage.generate_key.create(...)
@@ -59994,7 +56584,79 @@ client.accounting.force_resync.sync_status_resync_create()
-Returns a list of `TaxRate` objects. +Create a remote key. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.generate_key.create( + name="Remote Deployment Key 1", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — The name of the remote key + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. + +
+
+
+
+ + + + +
+ +## Filestorage Groups +
client.filestorage.groups.list(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Returns a list of `Group` objects.
@@ -60017,8 +56679,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tax_rates.list( - company_id="company_id", +response = client.filestorage.groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -60035,10 +56696,14 @@ client.accounting.tax_rates.list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", page_size=1, remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -60054,14 +56719,6 @@ client.accounting.tax_rates.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return tax rates for this company. - -
-
- -
-
- **created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -60086,7 +56743,12 @@ client.accounting.tax_rates.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GroupsListRequestExpandItem, + typing.Sequence[GroupsListRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -60134,15 +56796,7 @@ client.accounting.tax_rates.list(
-**name:** `typing.Optional[str]` — If provided, will only return TaxRates with this name. - -
-
- -
-
- -**page_size:** `typing.Optional[int]` — Number of results to return per page. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -60170,7 +56824,7 @@ client.accounting.tax_rates.list(
-
client.accounting.tax_rates.retrieve(...) +
client.filestorage.groups.retrieve(...)
@@ -60182,7 +56836,7 @@ client.accounting.tax_rates.list(
-Returns a `TaxRate` object with the given `id`. +Returns a `Group` object with the given `id`.
@@ -60203,7 +56857,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tax_rates.retrieve( +client.filestorage.groups.retrieve( id="id", include_remote_data=True, include_shell_data=True, @@ -60231,7 +56885,12 @@ client.accounting.tax_rates.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**expand:** `typing.Optional[ + typing.Union[ + GroupsRetrieveRequestExpandItem, + typing.Sequence[GroupsRetrieveRequestExpandItem], + ] +]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
@@ -60267,8 +56926,8 @@ client.accounting.tax_rates.retrieve(
-## Accounting TrackingCategories -
client.accounting.tracking_categories.list(...) +## Filestorage Issues +
client.filestorage.issues.list(...)
@@ -60280,7 +56939,7 @@ client.accounting.tax_rates.retrieve(
-Returns a list of `TrackingCategory` objects. +Gets all issues for Organization.
@@ -60298,39 +56957,41 @@ Returns a list of `TrackingCategory` objects. import datetime from merge import Merge -from merge.resources.accounting.resources.tracking_categories import ( - TrackingCategoriesListRequestCategoryType, - TrackingCategoriesListRequestStatus, -) +from merge.resources.filestorage.resources.issues import IssuesListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tracking_categories.list( - category_type=TrackingCategoriesListRequestCategoryType.EMPTY, - company_id="company_id", - created_after=datetime.datetime.fromisoformat( +response = client.filestorage.issues.list( + account_token="account_token", + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + end_date="end_date", + end_user_organization_name="end_user_organization_name", + first_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - created_before=datetime.datetime.fromisoformat( + first_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( + include_muted="include_muted", + integration_name="integration_name", + last_incident_time_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - modified_before=datetime.datetime.fromisoformat( + last_incident_time_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - name="name", + linked_account_id="linked_account_id", page_size=1, - remote_id="remote_id", - status=TrackingCategoriesListRequestStatus.EMPTY, + start_date="start_date", + status=IssuesListRequestStatus.ONGOING, ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ``` @@ -60346,7 +57007,7 @@ client.accounting.tracking_categories.list(
-**category_type:** `typing.Optional[TrackingCategoriesListRequestCategoryType]` — If provided, will only return tracking categories with this type. +**account_token:** `typing.Optional[str]`
@@ -60354,7 +57015,7 @@ client.accounting.tracking_categories.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return tracking categories for this company. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -60362,7 +57023,7 @@ client.accounting.tracking_categories.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**end_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred before this time
@@ -60370,7 +57031,7 @@ client.accounting.tracking_categories.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**end_user_organization_name:** `typing.Optional[str]`
@@ -60378,7 +57039,7 @@ client.accounting.tracking_categories.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**first_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was after this datetime.
@@ -60386,7 +57047,7 @@ client.accounting.tracking_categories.list(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**first_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose first incident time was before this datetime.
@@ -60394,7 +57055,7 @@ client.accounting.tracking_categories.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**include_muted:** `typing.Optional[str]` — If true, will include muted issues
@@ -60402,7 +57063,7 @@ client.accounting.tracking_categories.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**integration_name:** `typing.Optional[str]`
@@ -60410,7 +57071,7 @@ client.accounting.tracking_categories.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**last_incident_time_after:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was after this datetime.
@@ -60418,7 +57079,7 @@ client.accounting.tracking_categories.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**last_incident_time_before:** `typing.Optional[dt.datetime]` — If provided, will only return issues whose last incident time was before this datetime.
@@ -60426,7 +57087,7 @@ client.accounting.tracking_categories.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**linked_account_id:** `typing.Optional[str]` — If provided, will only include issues pertaining to the linked account passed in.
@@ -60434,7 +57095,7 @@ client.accounting.tracking_categories.list(
-**name:** `typing.Optional[str]` — If provided, will only return tracking categories with this name. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -60442,7 +57103,7 @@ client.accounting.tracking_categories.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**start_date:** `typing.Optional[str]` — If included, will only include issues whose most recent action occurred after this time
@@ -60450,31 +57111,83 @@ client.accounting.tracking_categories.list(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**status:** `typing.Optional[IssuesListRequestStatus]` + +Status of the issue. Options: ('ONGOING', 'RESOLVED') + +* `ONGOING` - ONGOING +* `RESOLVED` - RESOLVED + +
+
+ +
+
+ +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. -
+ + +
+
+ +
client.filestorage.issues.retrieve(...) +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Get a specific issue. +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.issues.retrieve( + id="id", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters +
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) - -
-
-
-**status:** `typing.Optional[TrackingCategoriesListRequestStatus]` — If provided, will only return tracking categories with this status. +**id:** `str`
@@ -60494,7 +57207,8 @@ client.accounting.tracking_categories.list(
-
client.accounting.tracking_categories.retrieve(...) +## Filestorage LinkToken +
client.filestorage.link_token.create(...)
@@ -60506,7 +57220,7 @@ client.accounting.tracking_categories.list(
-Returns a `TrackingCategory` object with the given `id`. +Creates a link token to be used when linking a new end user. The link token expires after single use.
@@ -60522,15 +57236,17 @@ Returns a `TrackingCategory` object with the given `id`. ```python from merge import Merge +from merge.resources.filestorage import CategoriesEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.tracking_categories.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, +client.filestorage.link_token.create( + end_user_email_address="example@gmail.com", + end_user_organization_name="Test Organization", + end_user_origin_id="12345", + categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], ) ``` @@ -60547,7 +57263,7 @@ client.accounting.tracking_categories.retrieve(
-**id:** `str` +**end_user_email_address:** `str` — Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent.
@@ -60555,7 +57271,7 @@ client.accounting.tracking_categories.retrieve(
-**expand:** `typing.Optional[typing.Literal["company"]]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_user_organization_name:** `str` — Your end user's organization.
@@ -60563,7 +57279,7 @@ client.accounting.tracking_categories.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_origin_id:** `str` — This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers.
@@ -60571,7 +57287,7 @@ client.accounting.tracking_categories.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**categories:** `typing.Sequence[CategoriesEnum]` — The integration categories to show in Merge Link.
@@ -60579,7 +57295,7 @@ client.accounting.tracking_categories.retrieve(
-**remote_fields:** `typing.Optional[typing.Literal["status"]]` — Deprecated. Use show_enum_origins. +**integration:** `typing.Optional[str]` — The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/.
@@ -60587,7 +57303,75 @@ client.accounting.tracking_categories.retrieve(
-**show_enum_origins:** `typing.Optional[typing.Literal["status"]]` — A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) +**link_expiry_mins:** `typing.Optional[int]` — An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. + +
+
+ +
+
+ +**should_create_magic_link_url:** `typing.Optional[bool]` — Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+ +
+
+ +**hide_admin_magic_link:** `typing.Optional[bool]` — Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + +
+
+ +
+
+ +**common_models:** `typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]]` — An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. + +
+
+ +
+
+ +**category_common_model_scopes:** `typing.Optional[ + typing.Dict[ + str, + typing.Optional[ + typing.Sequence[IndividualCommonModelScopeDeserializerRequest] + ], + ] +]` — When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. + +
+
+ +
+
+ +**language:** `typing.Optional[EndUserDetailsRequestLanguage]` + +The following subset of IETF language tags can be used to configure localization. + +* `en` - en +* `de` - de + +
+
+ +
+
+ +**are_syncs_disabled:** `typing.Optional[bool]` — The boolean that indicates whether initial, periodic, and force syncs will be disabled. + +
+
+ +
+
+ +**integration_specific_config:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — A JSON object containing integration-specific configuration options.
@@ -60607,8 +57391,8 @@ client.accounting.tracking_categories.retrieve(
-## Accounting Transactions -
client.accounting.transactions.list(...) +## Filestorage LinkedAccounts +
client.filestorage.linked_accounts.list(...)
@@ -60620,7 +57404,7 @@ client.accounting.tracking_categories.retrieve(
-Returns a list of `Transaction` objects. +List linked accounts for your organization.
@@ -60635,45 +57419,35 @@ Returns a list of `Transaction` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, +from merge.resources.filestorage.resources.linked_accounts import ( + LinkedAccountsListRequestCategory, ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.transactions.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.filestorage.linked_accounts.list( + category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + end_user_email_address="end_user_email_address", + end_user_organization_name="end_user_organization_name", + end_user_origin_id="end_user_origin_id", + end_user_origin_ids="end_user_origin_ids", + id="id", + ids="ids", + include_duplicates=True, + integration_name="integration_name", + is_test_account="is_test_account", page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), + status="status", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -60689,15 +57463,17 @@ client.accounting.transactions.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return accounting transactions for this company. - -
-
+**category:** `typing.Optional[LinkedAccountsListRequestCategory]` -
-
+Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` -**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +* `hris` - hris +* `ats` - ats +* `accounting` - accounting +* `ticketing` - ticketing +* `crm` - crm +* `mktg` - mktg +* `filestorage` - filestorage
@@ -60705,7 +57481,7 @@ client.accounting.transactions.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -60713,7 +57489,7 @@ client.accounting.transactions.list(
-**cursor:** `typing.Optional[str]` — The pagination cursor value. +**end_user_email_address:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given email address.
@@ -60721,7 +57497,7 @@ client.accounting.transactions.list(
-**expand:** `typing.Optional[TransactionsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**end_user_organization_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given organization name.
@@ -60729,7 +57505,7 @@ client.accounting.transactions.list(
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +**end_user_origin_id:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given origin ID.
@@ -60737,7 +57513,7 @@ client.accounting.transactions.list(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**end_user_origin_ids:** `typing.Optional[str]` — Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
@@ -60745,7 +57521,7 @@ client.accounting.transactions.list(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**id:** `typing.Optional[str]`
@@ -60753,7 +57529,7 @@ client.accounting.transactions.list(
-**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. +**ids:** `typing.Optional[str]` — Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
@@ -60761,7 +57537,7 @@ client.accounting.transactions.list(
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. +**include_duplicates:** `typing.Optional[bool]` — If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
@@ -60769,7 +57545,7 @@ client.accounting.transactions.list(
-**page_size:** `typing.Optional[int]` — Number of results to return per page. +**integration_name:** `typing.Optional[str]` — If provided, will only return linked accounts associated with the given integration name.
@@ -60777,7 +57553,7 @@ client.accounting.transactions.list(
-**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. +**is_test_account:** `typing.Optional[str]` — If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
@@ -60785,7 +57561,7 @@ client.accounting.transactions.list(
-**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -60793,7 +57569,7 @@ client.accounting.transactions.list(
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**status:** `typing.Optional[str]` — Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED`
@@ -60813,7 +57589,8 @@ client.accounting.transactions.list(
-
client.accounting.transactions.retrieve(...) +## Filestorage Passthrough +
client.filestorage.passthrough.create(...)
@@ -60825,7 +57602,7 @@ client.accounting.transactions.list(
-Returns a `Transaction` object with the given `id`. +Pull data from an endpoint not currently supported by Merge.
@@ -60841,19 +57618,17 @@ Returns a `Transaction` object with the given `id`. ```python from merge import Merge -from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, -) +from merge.resources.filestorage import DataPassthroughRequest, MethodEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.transactions.retrieve( - id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, - include_remote_data=True, - include_shell_data=True, +client.filestorage.passthrough.create( + request=DataPassthroughRequest( + method=MethodEnum.GET, + path="/scooters", + ), ) ``` @@ -60870,7 +57645,7 @@ client.accounting.transactions.retrieve(
-**id:** `str` +**request:** `DataPassthroughRequest`
@@ -60878,23 +57653,71 @@ client.accounting.transactions.retrieve(
-**expand:** `typing.Optional[TransactionsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
+ +
+ + + + +
+## Filestorage RegenerateKey +
client.filestorage.regenerate_key.create(...)
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - +#### 📝 Description + +
+
+ +
+
+ +Exchange remote keys.
+
+
+ +#### 🔌 Usage
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
+
+ +```python +from merge import Merge + +client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.regenerate_key.create( + name="Remote Deployment Key 1", +) + +``` +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**name:** `str` — The name of the remote key
@@ -60914,8 +57737,8 @@ client.accounting.transactions.retrieve(
-## Accounting VendorCredits -
client.accounting.vendor_credits.list(...) +## Filestorage SyncStatus +
client.filestorage.sync_status.list(...)
@@ -60927,7 +57750,7 @@ client.accounting.transactions.retrieve(
-Returns a list of `VendorCredit` objects. +Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
@@ -60942,45 +57765,21 @@ Returns a list of `VendorCredit` objects.
```python -import datetime - from merge import Merge -from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, -) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.list( - company_id="company_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), +response = client.filestorage.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), page_size=1, - remote_id="remote_id", - transaction_date_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - transaction_date_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -60996,7 +57795,7 @@ client.accounting.vendor_credits.list(
-**company_id:** `typing.Optional[str]` — If provided, will only return vendor credits for this company. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -61004,7 +57803,7 @@ client.accounting.vendor_credits.list(
-**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -61012,99 +57811,65 @@ client.accounting.vendor_credits.list(
-**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. +**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
- -
-
- -**cursor:** `typing.Optional[str]` — The pagination cursor value. -
-
-
-**expand:** `typing.Optional[VendorCreditsListRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. -
+
+## Filestorage ForceResync +
client.filestorage.force_resync.sync_status_resync_create()
-**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - -
-
+#### 📝 Description
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. - -
-
-
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - +Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers.
- -
-
- -**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned. -
+#### 🔌 Usage +
-**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned. - -
-
-
-**page_size:** `typing.Optional[int]` — Number of results to return per page. - -
-
+```python +from merge import Merge -
-
+client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", +) +client.filestorage.force_resync.sync_status_resync_create() -**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object. - +```
- -
-
- -**transaction_date_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime. -
+#### ⚙️ Parameters +
-**transaction_date_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime. - -
-
-
@@ -61120,7 +57885,8 @@ client.accounting.vendor_credits.list(
-
client.accounting.vendor_credits.create(...) +## Filestorage Users +
client.filestorage.users.list(...)
@@ -61132,7 +57898,7 @@ client.accounting.vendor_credits.list(
-Creates a `VendorCredit` object with the given values. +Returns a list of `User` objects.
@@ -61147,18 +57913,41 @@ Creates a `VendorCredit` object with the given values.
```python +import datetime + from merge import Merge -from merge.resources.accounting import VendorCreditRequest client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.create( - is_debug_mode=True, - run_async=True, - model=VendorCreditRequest(), +response = client.filestorage.users.list( + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_address="email_address", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_me="is_me", + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", ) +for item in response: + yield item +# alternatively, you can paginate page-by-page +for page in response.iter_pages(): + yield page ```
@@ -61174,7 +57963,7 @@ client.accounting.vendor_credits.create(
-**model:** `VendorCreditRequest` +**created_after:** `typing.Optional[dt.datetime]` — If provided, will only return objects created after this datetime.
@@ -61182,7 +57971,7 @@ client.accounting.vendor_credits.create(
-**is_debug_mode:** `typing.Optional[bool]` — Whether to include debug fields (such as log file links) in the response. +**created_before:** `typing.Optional[dt.datetime]` — If provided, will only return objects created before this datetime.
@@ -61190,7 +57979,7 @@ client.accounting.vendor_credits.create(
-**run_async:** `typing.Optional[bool]` — Whether or not third-party updates should be run asynchronously. +**cursor:** `typing.Optional[str]` — The pagination cursor value.
@@ -61198,76 +57987,47 @@ client.accounting.vendor_credits.create(
-**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. +**email_address:** `typing.Optional[str]` — If provided, will only return users with emails equal to this value (case insensitive).
- -
+
+
+**include_deleted_data:** `typing.Optional[bool]` — Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). +
-
-
client.accounting.vendor_credits.retrieve(...)
-#### 📝 Description - -
-
+**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
-Returns a `VendorCredit` object with the given `id`. -
-
+**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +
-#### 🔌 Usage - -
-
-
-```python -from merge import Merge -from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, -) - -client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", -) -client.accounting.vendor_credits.retrieve( - id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, - include_remote_data=True, - include_shell_data=True, -) - -``` -
-
+**is_me:** `typing.Optional[str]` — If provided, will only return the user object for requestor. +
-#### ⚙️ Parameters - -
-
-
-**id:** `str` +**modified_after:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge after this date time will be returned.
@@ -61275,7 +58035,7 @@ client.accounting.vendor_credits.retrieve(
-**expand:** `typing.Optional[VendorCreditsRetrieveRequestExpand]` — Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. +**modified_before:** `typing.Optional[dt.datetime]` — If provided, only objects synced by Merge before this date time will be returned.
@@ -61283,7 +58043,7 @@ client.accounting.vendor_credits.retrieve(
-**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. +**page_size:** `typing.Optional[int]` — Number of results to return per page. The maximum limit is 100.
@@ -61291,7 +58051,7 @@ client.accounting.vendor_credits.retrieve(
-**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). +**remote_id:** `typing.Optional[str]` — The API provider's ID for the given object.
@@ -61311,7 +58071,7 @@ client.accounting.vendor_credits.retrieve(
-
client.accounting.vendor_credits.meta_post_retrieve() +
client.filestorage.users.retrieve(...)
@@ -61323,7 +58083,7 @@ client.accounting.vendor_credits.retrieve(
-Returns metadata for `VendorCredit` POSTs. +Returns a `User` object with the given `id`.
@@ -61344,7 +58104,11 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.vendor_credits.meta_post_retrieve() +client.filestorage.users.retrieve( + id="id", + include_remote_data=True, + include_shell_data=True, +) ``` @@ -61360,6 +58124,30 @@ client.accounting.vendor_credits.meta_post_retrieve()
+**id:** `str` + +
+
+ +
+
+ +**include_remote_data:** `typing.Optional[bool]` — Whether to include the original data Merge fetched from the third-party to produce these models. + +
+
+ +
+
+ +**include_shell_data:** `typing.Optional[bool]` — Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + +
+
+ +
+
+ **request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
@@ -61372,8 +58160,8 @@ client.accounting.vendor_credits.meta_post_retrieve()
-## Accounting WebhookReceivers -
client.accounting.webhook_receivers.list() +## Filestorage WebhookReceivers +
client.filestorage.webhook_receivers.list()
@@ -61406,7 +58194,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.webhook_receivers.list() +client.filestorage.webhook_receivers.list() ```
@@ -61434,7 +58222,7 @@ client.accounting.webhook_receivers.list()
-
client.accounting.webhook_receivers.create(...) +
client.filestorage.webhook_receivers.create(...)
@@ -61467,7 +58255,7 @@ client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) -client.accounting.webhook_receivers.create( +client.filestorage.webhook_receivers.create( event="event", is_active=True, ) diff --git a/src/merge/__init__.py b/src/merge/__init__.py index 91011bdf..3a9ef08f 100644 --- a/src/merge/__init__.py +++ b/src/merge/__init__.py @@ -6,7 +6,7 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .resources import accounting, ats, chat, crm, filestorage, hris, knowledgebase, ticketing + from .resources import accounting, ats, crm, filestorage, hris, ticketing from .client import AsyncMerge, Merge from .environment import MergeEnvironment from .version import __version__ @@ -17,11 +17,9 @@ "__version__": ".version", "accounting": ".resources", "ats": ".resources", - "chat": ".resources", "crm": ".resources", "filestorage": ".resources", "hris": ".resources", - "knowledgebase": ".resources", "ticketing": ".resources", } @@ -52,10 +50,8 @@ def __dir__(): "__version__", "accounting", "ats", - "chat", "crm", "filestorage", "hris", - "knowledgebase", "ticketing", ] diff --git a/src/merge/client.py b/src/merge/client.py index ff255527..d6384705 100644 --- a/src/merge/client.py +++ b/src/merge/client.py @@ -11,11 +11,9 @@ if typing.TYPE_CHECKING: from .resources.accounting.client import AccountingClient, AsyncAccountingClient from .resources.ats.client import AsyncAtsClient, AtsClient - from .resources.chat.client import AsyncChatClient, ChatClient from .resources.crm.client import AsyncCrmClient, CrmClient from .resources.filestorage.client import AsyncFilestorageClient, FilestorageClient from .resources.hris.client import AsyncHrisClient, HrisClient - from .resources.knowledgebase.client import AsyncKnowledgebaseClient, KnowledgebaseClient from .resources.ticketing.client import AsyncTicketingClient, TicketingClient @@ -88,22 +86,12 @@ def __init__( else httpx.Client(timeout=_defaulted_timeout), timeout=_defaulted_timeout, ) - self._chat: typing.Optional[ChatClient] = None self._ats: typing.Optional[AtsClient] = None + self._accounting: typing.Optional[AccountingClient] = None self._crm: typing.Optional[CrmClient] = None self._hris: typing.Optional[HrisClient] = None - self._knowledgebase: typing.Optional[KnowledgebaseClient] = None self._ticketing: typing.Optional[TicketingClient] = None self._filestorage: typing.Optional[FilestorageClient] = None - self._accounting: typing.Optional[AccountingClient] = None - - @property - def chat(self): - if self._chat is None: - from .resources.chat.client import ChatClient # noqa: E402 - - self._chat = ChatClient(client_wrapper=self._client_wrapper) - return self._chat @property def ats(self): @@ -113,6 +101,14 @@ def ats(self): self._ats = AtsClient(client_wrapper=self._client_wrapper) return self._ats + @property + def accounting(self): + if self._accounting is None: + from .resources.accounting.client import AccountingClient # noqa: E402 + + self._accounting = AccountingClient(client_wrapper=self._client_wrapper) + return self._accounting + @property def crm(self): if self._crm is None: @@ -129,14 +125,6 @@ def hris(self): self._hris = HrisClient(client_wrapper=self._client_wrapper) return self._hris - @property - def knowledgebase(self): - if self._knowledgebase is None: - from .resources.knowledgebase.client import KnowledgebaseClient # noqa: E402 - - self._knowledgebase = KnowledgebaseClient(client_wrapper=self._client_wrapper) - return self._knowledgebase - @property def ticketing(self): if self._ticketing is None: @@ -153,14 +141,6 @@ def filestorage(self): self._filestorage = FilestorageClient(client_wrapper=self._client_wrapper) return self._filestorage - @property - def accounting(self): - if self._accounting is None: - from .resources.accounting.client import AccountingClient # noqa: E402 - - self._accounting = AccountingClient(client_wrapper=self._client_wrapper) - return self._accounting - class AsyncMerge: """ @@ -231,22 +211,12 @@ def __init__( else httpx.AsyncClient(timeout=_defaulted_timeout), timeout=_defaulted_timeout, ) - self._chat: typing.Optional[AsyncChatClient] = None self._ats: typing.Optional[AsyncAtsClient] = None + self._accounting: typing.Optional[AsyncAccountingClient] = None self._crm: typing.Optional[AsyncCrmClient] = None self._hris: typing.Optional[AsyncHrisClient] = None - self._knowledgebase: typing.Optional[AsyncKnowledgebaseClient] = None self._ticketing: typing.Optional[AsyncTicketingClient] = None self._filestorage: typing.Optional[AsyncFilestorageClient] = None - self._accounting: typing.Optional[AsyncAccountingClient] = None - - @property - def chat(self): - if self._chat is None: - from .resources.chat.client import AsyncChatClient # noqa: E402 - - self._chat = AsyncChatClient(client_wrapper=self._client_wrapper) - return self._chat @property def ats(self): @@ -256,6 +226,14 @@ def ats(self): self._ats = AsyncAtsClient(client_wrapper=self._client_wrapper) return self._ats + @property + def accounting(self): + if self._accounting is None: + from .resources.accounting.client import AsyncAccountingClient # noqa: E402 + + self._accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper) + return self._accounting + @property def crm(self): if self._crm is None: @@ -272,14 +250,6 @@ def hris(self): self._hris = AsyncHrisClient(client_wrapper=self._client_wrapper) return self._hris - @property - def knowledgebase(self): - if self._knowledgebase is None: - from .resources.knowledgebase.client import AsyncKnowledgebaseClient # noqa: E402 - - self._knowledgebase = AsyncKnowledgebaseClient(client_wrapper=self._client_wrapper) - return self._knowledgebase - @property def ticketing(self): if self._ticketing is None: @@ -296,14 +266,6 @@ def filestorage(self): self._filestorage = AsyncFilestorageClient(client_wrapper=self._client_wrapper) return self._filestorage - @property - def accounting(self): - if self._accounting is None: - from .resources.accounting.client import AsyncAccountingClient # noqa: E402 - - self._accounting = AsyncAccountingClient(client_wrapper=self._client_wrapper) - return self._accounting - def _get_base_url(*, base_url: typing.Optional[str] = None, environment: MergeEnvironment) -> str: if base_url is not None: diff --git a/src/merge/core/__init__.py b/src/merge/core/__init__.py index 18228526..5134f31b 100644 --- a/src/merge/core/__init__.py +++ b/src/merge/core/__init__.py @@ -13,6 +13,7 @@ from .http_client import AsyncHttpClient, HttpClient from .http_response import AsyncHttpResponse, HttpResponse from .jsonable_encoder import jsonable_encoder + from .pagination import AsyncPager, SyncPager from .pydantic_utilities import ( IS_PYDANTIC_V2, UniversalBaseModel, @@ -32,6 +33,7 @@ "AsyncClientWrapper": ".client_wrapper", "AsyncHttpClient": ".http_client", "AsyncHttpResponse": ".http_response", + "AsyncPager": ".pagination", "BaseClientWrapper": ".client_wrapper", "FieldMetadata": ".serialization", "File": ".file", @@ -40,6 +42,7 @@ "IS_PYDANTIC_V2": ".pydantic_utilities", "RequestOptions": ".request_options", "SyncClientWrapper": ".client_wrapper", + "SyncPager": ".pagination", "UncheckedBaseModel": ".unchecked_base_model", "UnionMetadata": ".unchecked_base_model", "UniversalBaseModel": ".pydantic_utilities", @@ -83,6 +86,7 @@ def __dir__(): "AsyncClientWrapper", "AsyncHttpClient", "AsyncHttpResponse", + "AsyncPager", "BaseClientWrapper", "FieldMetadata", "File", @@ -91,6 +95,7 @@ def __dir__(): "IS_PYDANTIC_V2", "RequestOptions", "SyncClientWrapper", + "SyncPager", "UncheckedBaseModel", "UnionMetadata", "UniversalBaseModel", diff --git a/src/merge/core/client_wrapper.py b/src/merge/core/client_wrapper.py index 3b87debd..bf291996 100644 --- a/src/merge/core/client_wrapper.py +++ b/src/merge/core/client_wrapper.py @@ -24,10 +24,10 @@ def __init__( def get_headers(self) -> typing.Dict[str, str]: headers: typing.Dict[str, str] = { - "User-Agent": "MergePythonClient/2.6.3", + "User-Agent": "MergePythonClient/3.0.0", "X-Fern-Language": "Python", "X-Fern-SDK-Name": "MergePythonClient", - "X-Fern-SDK-Version": "2.6.3", + "X-Fern-SDK-Version": "3.0.0", **(self.get_custom_headers() or {}), } if self._account_token is not None: diff --git a/src/merge/core/pagination.py b/src/merge/core/pagination.py new file mode 100644 index 00000000..97bcb645 --- /dev/null +++ b/src/merge/core/pagination.py @@ -0,0 +1,82 @@ +# This file was auto-generated by Fern from our API Definition. + +from __future__ import annotations + +from dataclasses import dataclass +from typing import AsyncIterator, Awaitable, Callable, Generic, Iterator, List, Optional, TypeVar + +from .http_response import BaseHttpResponse + +# Generic to represent the underlying type of the results within a page +T = TypeVar("T") + + +# SDKs implement a Page ABC per-pagination request, the endpoint then returns a pager that wraps this type +# for example, an endpoint will return SyncPager[UserPage] where UserPage implements the Page ABC. ex: +# +# SyncPager( +# has_next=response.list_metadata.after is not None, +# items=response.data, +# # This should be the outer function that returns the SyncPager again +# get_next=lambda: list(..., cursor: response.cursor) (or list(..., offset: offset + 1)) +# ) + + +@dataclass(frozen=True) +class SyncPager(Generic[T]): + get_next: Optional[Callable[[], Optional[SyncPager[T]]]] + has_next: bool + items: Optional[List[T]] + response: Optional[BaseHttpResponse] + + # Here we type ignore the iterator to avoid a mypy error + # caused by the type conflict with Pydanitc's __iter__ method + # brought in by extending the base model + def __iter__(self) -> Iterator[T]: # type: ignore[override] + for page in self.iter_pages(): + if page.items is not None: + yield from page.items + + def iter_pages(self) -> Iterator[SyncPager[T]]: + page: Optional[SyncPager[T]] = self + while page is not None: + yield page + + if not page.has_next or page.get_next is None: + return + + page = page.get_next() + if page is None or page.items is None or len(page.items) == 0: + return + + def next_page(self) -> Optional[SyncPager[T]]: + return self.get_next() if self.get_next is not None else None + + +@dataclass(frozen=True) +class AsyncPager(Generic[T]): + get_next: Optional[Callable[[], Awaitable[Optional[AsyncPager[T]]]]] + has_next: bool + items: Optional[List[T]] + response: Optional[BaseHttpResponse] + + async def __aiter__(self) -> AsyncIterator[T]: + async for page in self.iter_pages(): + if page.items is not None: + for item in page.items: + yield item + + async def iter_pages(self) -> AsyncIterator[AsyncPager[T]]: + page: Optional[AsyncPager[T]] = self + while page is not None: + yield page + + if not page.has_next or page.get_next is None: + return + + page = await page.get_next() + if page is None or page.items is None or len(page.items) == 0: + return + + async def next_page(self) -> Optional[AsyncPager[T]]: + return await self.get_next() if self.get_next is not None else None diff --git a/src/merge/environment.py b/src/merge/environment.py index 499dced1..40aae945 100644 --- a/src/merge/environment.py +++ b/src/merge/environment.py @@ -5,5 +5,5 @@ class MergeEnvironment(enum.Enum): PRODUCTION = "https://api.merge.dev/api" - SANDBOX = "https://api-sandbox.merge.dev/api" PRODUCTION_EU = "https://api-eu.merge.dev/api" + SANDBOX = "https://api-sandbox.merge.dev/api" diff --git a/src/merge/resources/__init__.py b/src/merge/resources/__init__.py index 7fdb8ad9..b431f719 100644 --- a/src/merge/resources/__init__.py +++ b/src/merge/resources/__init__.py @@ -6,15 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from . import accounting, ats, chat, crm, filestorage, hris, knowledgebase, ticketing + from . import accounting, ats, crm, filestorage, hris, ticketing _dynamic_imports: typing.Dict[str, str] = { "accounting": ".", "ats": ".", - "chat": ".", "crm": ".", "filestorage": ".", "hris": ".", - "knowledgebase": ".", "ticketing": ".", } @@ -38,4 +36,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["accounting", "ats", "chat", "crm", "filestorage", "hris", "knowledgebase", "ticketing"] +__all__ = ["accounting", "ats", "crm", "filestorage", "hris", "ticketing"] diff --git a/src/merge/resources/accounting/__init__.py b/src/merge/resources/accounting/__init__.py index 119d224a..e78d37d0 100644 --- a/src/merge/resources/accounting/__init__.py +++ b/src/merge/resources/accounting/__init__.py @@ -11,6 +11,7 @@ AccountAccountType, AccountAccountTypeEnum, AccountClassification, + AccountCompany, AccountCurrency, AccountDetails, AccountDetailsAndActions, @@ -23,6 +24,7 @@ AccountRequest, AccountRequestAccountType, AccountRequestClassification, + AccountRequestCompany, AccountRequestCurrency, AccountRequestStatus, AccountResponse, @@ -44,6 +46,7 @@ AddressType, AddressTypeEnum, AdvancedMetadata, + AsyncBulkCreateResponse, AsyncPassthroughReciept, AsyncPostTask, AsyncPostTaskResult, @@ -73,6 +76,13 @@ BankFeedTransactionRequestRequestBankFeedAccount, BankFeedTransactionRequestRequestCreditOrDebit, BankFeedTransactionResponse, + BatchObject, + BatchObjectItemResponse, + BatchObjectStatus, + BatchObjectStatusEnum, + BatchObjectsResponse, + BatchObjectsResponseStatus, + BatchObjectsResponseStatusEnum, CashFlowStatement, CashFlowStatementCompany, CashFlowStatementCurrency, @@ -83,12 +93,19 @@ CommonModelScopeApi, CommonModelScopesBodyRequest, CompanyInfo, + CompanyInfoAddressesItem, CompanyInfoCurrency, + CompanyInfoPhoneNumbersItem, + CompletedAccountInitialScreenEnum, ComponentTypeEnum, Contact, ContactAddressesItem, + ContactCompany, + ContactPhoneNumbersItem, ContactRequest, ContactRequestAddressesItem, + ContactRequestCompany, + ContactRequestPhoneNumbersItem, ContactRequestStatus, ContactResponse, ContactStatus, @@ -115,6 +132,7 @@ CreditNoteLineItemRequestContact, CreditNoteLineItemRequestItem, CreditNoteLineItemRequestProject, + CreditNoteLineItemsItem, CreditNotePaymentsItem, CreditNoteRequest, CreditNoteRequestAccountingPeriod, @@ -132,7 +150,6 @@ CreditNoteTrackingCategoriesItem, CreditOrDebitEnum, DataPassthroughRequest, - DataPassthroughRequestMethod, DebugModeLog, DebugModelLogSummary, Employee, @@ -145,6 +162,7 @@ Expense, ExpenseAccount, ExpenseAccountingPeriod, + ExpenseBatchItemRequest, ExpenseCompany, ExpenseContact, ExpenseCurrency, @@ -168,25 +186,33 @@ ExpenseLineTrackingCategoriesItem, ExpenseLineTrackingCategory, ExpenseReport, + ExpenseReportAccountingPeriod, ExpenseReportCompany, + ExpenseReportCurrency, + ExpenseReportEmployee, ExpenseReportLine, ExpenseReportLineAccount, ExpenseReportLineCompany, ExpenseReportLineContact, + ExpenseReportLineCurrency, ExpenseReportLineEmployee, ExpenseReportLineProject, ExpenseReportLineRequest, ExpenseReportLineRequestAccount, ExpenseReportLineRequestCompany, ExpenseReportLineRequestContact, + ExpenseReportLineRequestCurrency, ExpenseReportLineRequestEmployee, ExpenseReportLineRequestProject, ExpenseReportLineRequestTaxRate, ExpenseReportLineTaxRate, + ExpenseReportLinesItem, ExpenseReportRequest, ExpenseReportRequestAccountingPeriod, ExpenseReportRequestCompany, + ExpenseReportRequestCurrency, ExpenseReportRequestEmployee, + ExpenseReportRequestStatus, ExpenseReportResponse, ExpenseReportStatus, ExpenseReportStatusEnum, @@ -225,7 +251,6 @@ GeneralLedgerTransactionLineEmployee, GeneralLedgerTransactionLineItem, GeneralLedgerTransactionLineProject, - GeneralLedgerTransactionLineTrackingCategoriesItem, GeneralLedgerTransactionLineTransactionCurrency, GeneralLedgerTransactionTrackingCategoriesItem, GeneralLedgerTransactionUnderlyingTransactionType, @@ -239,6 +264,7 @@ InvoiceAppliedCreditNotesItem, InvoiceAppliedPaymentsItem, InvoiceAppliedVendorCreditsItem, + InvoiceBatchItemRequest, InvoiceCompany, InvoiceContact, InvoiceCurrency, @@ -247,28 +273,29 @@ InvoiceLineItemAccount, InvoiceLineItemContact, InvoiceLineItemCurrency, - InvoiceLineItemEmployee, InvoiceLineItemItem, InvoiceLineItemProject, InvoiceLineItemRequest, InvoiceLineItemRequestAccount, InvoiceLineItemRequestContact, InvoiceLineItemRequestCurrency, - InvoiceLineItemRequestEmployee, InvoiceLineItemRequestItem, InvoiceLineItemRequestProject, InvoiceLineItemRequestTrackingCategoriesItem, InvoiceLineItemRequestTrackingCategory, InvoiceLineItemTrackingCategoriesItem, InvoiceLineItemTrackingCategory, + InvoiceLineItemsItem, InvoicePaymentTerm, InvoicePaymentsItem, InvoicePurchaseOrdersItem, InvoiceRequest, + InvoiceRequestAccountingPeriod, InvoiceRequestCompany, InvoiceRequestContact, InvoiceRequestCurrency, InvoiceRequestEmployee, + InvoiceRequestLineItemsItem, InvoiceRequestPaymentTerm, InvoiceRequestPaymentsItem, InvoiceRequestPurchaseOrdersItem, @@ -276,6 +303,7 @@ InvoiceRequestTrackingCategoriesItem, InvoiceRequestType, InvoiceResponse, + InvoiceSalesOrdersItem, InvoiceStatus, InvoiceStatusEnum, InvoiceTrackingCategoriesItem, @@ -287,6 +315,29 @@ Item, ItemCompany, ItemFormatEnum, + ItemFulfillment, + ItemFulfillmentBatchItemRequest, + ItemFulfillmentCompany, + ItemFulfillmentCustomer, + ItemFulfillmentLine, + ItemFulfillmentLineItem, + ItemFulfillmentLineRequest, + ItemFulfillmentLineRequestItem, + ItemFulfillmentLineRequestSalesOrderLine, + ItemFulfillmentLineRequestTrackingCategoriesItem, + ItemFulfillmentLineSalesOrderLine, + ItemFulfillmentLineTrackingCategoriesItem, + ItemFulfillmentLinesItem, + ItemFulfillmentRequestRequest, + ItemFulfillmentRequestRequestCompany, + ItemFulfillmentRequestRequestCustomer, + ItemFulfillmentRequestRequestLinesItem, + ItemFulfillmentRequestRequestSalesOrder, + ItemFulfillmentRequestRequestStatus, + ItemFulfillmentResponse, + ItemFulfillmentSalesOrder, + ItemFulfillmentStatus, + ItemFulfillmentStatusEnum, ItemPurchaseAccount, ItemPurchaseTaxRate, ItemRequestRequest, @@ -309,11 +360,13 @@ JournalEntryAppliedPaymentsItem, JournalEntryCompany, JournalEntryCurrency, + JournalEntryLinesItem, JournalEntryPaymentsItem, JournalEntryPostingStatus, JournalEntryRequest, JournalEntryRequestCompany, JournalEntryRequestCurrency, + JournalEntryRequestLinesItem, JournalEntryRequestPaymentsItem, JournalEntryRequestPostingStatus, JournalEntryRequestTrackingCategoriesItem, @@ -363,6 +416,7 @@ PaginatedIncomeStatementList, PaginatedInvoiceList, PaginatedIssueList, + PaginatedItemFulfillmentList, PaginatedItemList, PaginatedJournalEntryList, PaginatedPaymentList, @@ -371,26 +425,22 @@ PaginatedProjectList, PaginatedPurchaseOrderList, PaginatedRemoteFieldClassList, + PaginatedSalesOrderList, PaginatedSyncStatusList, PaginatedTaxRateList, PaginatedTrackingCategoryList, PaginatedTransactionList, PaginatedVendorCreditList, PatchedContactRequest, - PatchedContactRequestAddressesItem, + PatchedContactRequestStatus, PatchedItemRequestRequest, PatchedItemRequestRequestStatus, PatchedItemRequestRequestType, PatchedPaymentRequest, - PatchedPaymentRequestAccount, - PatchedPaymentRequestAccountingPeriod, - PatchedPaymentRequestAppliedToLinesItem, - PatchedPaymentRequestCompany, - PatchedPaymentRequestContact, PatchedPaymentRequestCurrency, - PatchedPaymentRequestPaymentMethod, - PatchedPaymentRequestTrackingCategoriesItem, PatchedPaymentRequestType, + PatchedVendorCreditRequest, + PatchedVendorCreditRequestCurrency, Payment, PaymentAccount, PaymentAccountingPeriod, @@ -434,11 +484,13 @@ PurchaseOrderLineItemRequest, PurchaseOrderLineItemRequestCurrency, PurchaseOrderLineItemRequestItem, + PurchaseOrderLineItemsItem, PurchaseOrderPaymentTerm, PurchaseOrderRequest, PurchaseOrderRequestCompany, PurchaseOrderRequestCurrency, PurchaseOrderRequestDeliveryAddress, + PurchaseOrderRequestLineItemsItem, PurchaseOrderRequestPaymentTerm, PurchaseOrderRequestStatus, PurchaseOrderRequestTrackingCategoriesItem, @@ -448,6 +500,7 @@ PurchaseOrderStatusEnum, PurchaseOrderTrackingCategoriesItem, PurchaseOrderVendor, + RegenerateAccountToken, RemoteData, RemoteEndpointInfo, RemoteField, @@ -455,27 +508,57 @@ RemoteFieldApiCoverage, RemoteFieldApiResponse, RemoteFieldClass, - RemoteFieldRemoteFieldClass, RemoteFieldRequest, - RemoteFieldRequestRemoteFieldClass, RemoteKey, RemoteResponse, + RemoteResponseResponseType, ReportItem, RequestFormatEnum, ResponseTypeEnum, RoleEnum, + SalesOrder, + SalesOrderBatchItemRequest, + SalesOrderCompany, + SalesOrderCurrency, + SalesOrderCustomer, + SalesOrderLine, + SalesOrderLineCompany, + SalesOrderLineItem, + SalesOrderLineRequest, + SalesOrderLineRequestCompany, + SalesOrderLineRequestItem, + SalesOrderLineRequestTaxRate, + SalesOrderLineRequestTrackingCategoriesItem, + SalesOrderLineTaxRate, + SalesOrderLineTrackingCategoriesItem, + SalesOrderLinesItem, + SalesOrderPaymentTerm, + SalesOrderRequestRequest, + SalesOrderRequestRequestCompany, + SalesOrderRequestRequestCurrency, + SalesOrderRequestRequestCustomer, + SalesOrderRequestRequestLinesItem, + SalesOrderRequestRequestPaymentTerm, + SalesOrderRequestRequestShippingAddress, + SalesOrderRequestRequestStatus, + SalesOrderRequestRequestTrackingCategoriesItem, + SalesOrderResponse, + SalesOrderShippingAddress, + SalesOrderStatus, + SalesOrderStatusEnum, + SalesOrderTrackingCategoriesItem, SelectiveSyncConfigurationsUsageEnum, Status7D1Enum, Status895Enum, StatusFd5Enum, SyncStatus, + SyncStatusLastSyncResult, SyncStatusStatus, TaxComponent, TaxComponentComponentType, TaxRate, TaxRateCompany, TaxRateStatus, - TaxRateTaxComponentsItem, TrackingCategory, TrackingCategoryCategoryType, TrackingCategoryCompany, @@ -483,12 +566,14 @@ Transaction, TransactionAccount, TransactionAccountingPeriod, + TransactionCompany, TransactionContact, TransactionCurrency, TransactionCurrencyEnum, TransactionLineItem, TransactionLineItemCurrency, TransactionLineItemItem, + TransactionLineItemsItem, TransactionTrackingCategoriesItem, Type2BbEnum, UnderlyingTransactionTypeEnum, @@ -511,6 +596,7 @@ VendorCreditLineRequestAccount, VendorCreditLineRequestContact, VendorCreditLineRequestProject, + VendorCreditLinesItem, VendorCreditRequest, VendorCreditRequestAccountingPeriod, VendorCreditRequestCompany, @@ -531,47 +617,52 @@ AccountsRetrieveRequestRemoteFields, AccountsRetrieveRequestShowEnumOrigins, AsyncPassthroughRetrieveResponse, - CompanyInfoListRequestExpand, - CompanyInfoRetrieveRequestExpand, - ContactsListRequestExpand, + CompanyInfoListRequestExpandItem, + CompanyInfoRetrieveRequestExpandItem, + ContactsListRequestExpandItem, ContactsListRequestStatus, - ContactsRetrieveRequestExpand, - CreditNotesListRequestExpand, + ContactsRetrieveRequestExpandItem, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, + EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage, - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, - ExpensesListRequestExpand, - ExpensesRetrieveRequestExpand, - GeneralLedgerTransactionsListRequestExpand, - GeneralLedgerTransactionsRetrieveRequestExpand, - InvoicesListRequestExpand, + ExpenseReportsLinesListRequestExpandItem, + ExpenseReportsListRequestExpandItem, + ExpenseReportsRetrieveRequestExpandItem, + ExpensesListRequestExpandItem, + ExpensesRetrieveRequestExpandItem, + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, + InvoicesListRequestExpandItem, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, IssuesListRequestStatus, - ItemsListRequestExpand, - ItemsRetrieveRequestExpand, - JournalEntriesListRequestExpand, - JournalEntriesRetrieveRequestExpand, + ItemFulfillmentsListRequestExpandItem, + ItemFulfillmentsRetrieveRequestExpandItem, + ItemsListRequestExpandItem, + ItemsRetrieveRequestExpandItem, + JournalEntriesListRequestExpandItem, + JournalEntriesRetrieveRequestExpandItem, LinkedAccountsListRequestCategory, - PaymentsListRequestExpand, - PaymentsRetrieveRequestExpand, - ProjectsListRequestExpand, - ProjectsRetrieveRequestExpand, - PurchaseOrdersListRequestExpand, - PurchaseOrdersRetrieveRequestExpand, + PaymentsListRequestExpandItem, + PaymentsRetrieveRequestExpandItem, + ProjectsListRequestExpandItem, + ProjectsRetrieveRequestExpandItem, + PurchaseOrdersListRequestExpandItem, + PurchaseOrdersRetrieveRequestExpandItem, + SalesOrdersListRequestExpandItem, + SalesOrdersRetrieveRequestExpandItem, TrackingCategoriesListRequestCategoryType, TrackingCategoriesListRequestStatus, - TransactionsListRequestExpand, - TransactionsRetrieveRequestExpand, - VendorCreditsListRequestExpand, - VendorCreditsRetrieveRequestExpand, + TransactionsListRequestExpandItem, + TransactionsRetrieveRequestExpandItem, + VendorCreditsListRequestExpandItem, + VendorCreditsRetrieveRequestExpandItem, account_details, account_token, accounting_periods, @@ -600,6 +691,7 @@ income_statements, invoices, issues, + item_fulfillments, items, journal_entries, link_token, @@ -612,6 +704,7 @@ projects, purchase_orders, regenerate_key, + sales_orders, scopes, sync_status, tax_rates, @@ -625,6 +718,7 @@ "AccountAccountType": ".types", "AccountAccountTypeEnum": ".types", "AccountClassification": ".types", + "AccountCompany": ".types", "AccountCurrency": ".types", "AccountDetails": ".types", "AccountDetailsAndActions": ".types", @@ -637,6 +731,7 @@ "AccountRequest": ".types", "AccountRequestAccountType": ".types", "AccountRequestClassification": ".types", + "AccountRequestCompany": ".types", "AccountRequestCurrency": ".types", "AccountRequestStatus": ".types", "AccountResponse": ".types", @@ -664,6 +759,7 @@ "AddressType": ".types", "AddressTypeEnum": ".types", "AdvancedMetadata": ".types", + "AsyncBulkCreateResponse": ".types", "AsyncPassthroughReciept": ".types", "AsyncPassthroughRetrieveResponse": ".resources", "AsyncPostTask": ".types", @@ -694,6 +790,13 @@ "BankFeedTransactionRequestRequestBankFeedAccount": ".types", "BankFeedTransactionRequestRequestCreditOrDebit": ".types", "BankFeedTransactionResponse": ".types", + "BatchObject": ".types", + "BatchObjectItemResponse": ".types", + "BatchObjectStatus": ".types", + "BatchObjectStatusEnum": ".types", + "BatchObjectsResponse": ".types", + "BatchObjectsResponseStatus": ".types", + "BatchObjectsResponseStatusEnum": ".types", "CashFlowStatement": ".types", "CashFlowStatementCompany": ".types", "CashFlowStatementCurrency": ".types", @@ -704,20 +807,27 @@ "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", "CompanyInfo": ".types", + "CompanyInfoAddressesItem": ".types", "CompanyInfoCurrency": ".types", - "CompanyInfoListRequestExpand": ".resources", - "CompanyInfoRetrieveRequestExpand": ".resources", + "CompanyInfoListRequestExpandItem": ".resources", + "CompanyInfoPhoneNumbersItem": ".types", + "CompanyInfoRetrieveRequestExpandItem": ".resources", + "CompletedAccountInitialScreenEnum": ".types", "ComponentTypeEnum": ".types", "Contact": ".types", "ContactAddressesItem": ".types", + "ContactCompany": ".types", + "ContactPhoneNumbersItem": ".types", "ContactRequest": ".types", "ContactRequestAddressesItem": ".types", + "ContactRequestCompany": ".types", + "ContactRequestPhoneNumbersItem": ".types", "ContactRequestStatus": ".types", "ContactResponse": ".types", "ContactStatus": ".types", - "ContactsListRequestExpand": ".resources", + "ContactsListRequestExpandItem": ".resources", "ContactsListRequestStatus": ".resources", - "ContactsRetrieveRequestExpand": ".resources", + "ContactsRetrieveRequestExpandItem": ".resources", "CountryEnum": ".types", "CreditNote": ".types", "CreditNoteAccountingPeriod": ".types", @@ -741,6 +851,7 @@ "CreditNoteLineItemRequestContact": ".types", "CreditNoteLineItemRequestItem": ".types", "CreditNoteLineItemRequestProject": ".types", + "CreditNoteLineItemsItem": ".types", "CreditNotePaymentsItem": ".types", "CreditNoteRequest": ".types", "CreditNoteRequestAccountingPeriod": ".types", @@ -756,15 +867,14 @@ "CreditNoteStatus": ".types", "CreditNoteStatusEnum": ".types", "CreditNoteTrackingCategoriesItem": ".types", - "CreditNotesListRequestExpand": ".resources", + "CreditNotesListRequestExpandItem": ".resources", "CreditNotesListRequestRemoteFields": ".resources", "CreditNotesListRequestShowEnumOrigins": ".resources", - "CreditNotesRetrieveRequestExpand": ".resources", + "CreditNotesRetrieveRequestExpandItem": ".resources", "CreditNotesRetrieveRequestRemoteFields": ".resources", "CreditNotesRetrieveRequestShowEnumOrigins": ".resources", "CreditOrDebitEnum": ".types", "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", "DebugModeLog": ".types", "DebugModelLogSummary": ".types", "Employee": ".types", @@ -772,12 +882,14 @@ "EmployeeStatus": ".types", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", + "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", "Expense": ".types", "ExpenseAccount": ".types", "ExpenseAccountingPeriod": ".types", + "ExpenseBatchItemRequest": ".types", "ExpenseCompany": ".types", "ExpenseContact": ".types", "ExpenseCurrency": ".types", @@ -801,31 +913,39 @@ "ExpenseLineTrackingCategoriesItem": ".types", "ExpenseLineTrackingCategory": ".types", "ExpenseReport": ".types", + "ExpenseReportAccountingPeriod": ".types", "ExpenseReportCompany": ".types", + "ExpenseReportCurrency": ".types", + "ExpenseReportEmployee": ".types", "ExpenseReportLine": ".types", "ExpenseReportLineAccount": ".types", "ExpenseReportLineCompany": ".types", "ExpenseReportLineContact": ".types", + "ExpenseReportLineCurrency": ".types", "ExpenseReportLineEmployee": ".types", "ExpenseReportLineProject": ".types", "ExpenseReportLineRequest": ".types", "ExpenseReportLineRequestAccount": ".types", "ExpenseReportLineRequestCompany": ".types", "ExpenseReportLineRequestContact": ".types", + "ExpenseReportLineRequestCurrency": ".types", "ExpenseReportLineRequestEmployee": ".types", "ExpenseReportLineRequestProject": ".types", "ExpenseReportLineRequestTaxRate": ".types", "ExpenseReportLineTaxRate": ".types", + "ExpenseReportLinesItem": ".types", "ExpenseReportRequest": ".types", "ExpenseReportRequestAccountingPeriod": ".types", "ExpenseReportRequestCompany": ".types", + "ExpenseReportRequestCurrency": ".types", "ExpenseReportRequestEmployee": ".types", + "ExpenseReportRequestStatus": ".types", "ExpenseReportResponse": ".types", "ExpenseReportStatus": ".types", "ExpenseReportStatusEnum": ".types", - "ExpenseReportsLinesListRequestExpand": ".resources", - "ExpenseReportsListRequestExpand": ".resources", - "ExpenseReportsRetrieveRequestExpand": ".resources", + "ExpenseReportsLinesListRequestExpandItem": ".resources", + "ExpenseReportsListRequestExpandItem": ".resources", + "ExpenseReportsRetrieveRequestExpandItem": ".resources", "ExpenseRequest": ".types", "ExpenseRequestAccount": ".types", "ExpenseRequestAccountingPeriod": ".types", @@ -836,8 +956,8 @@ "ExpenseRequestTrackingCategoriesItem": ".types", "ExpenseResponse": ".types", "ExpenseTrackingCategoriesItem": ".types", - "ExpensesListRequestExpand": ".resources", - "ExpensesRetrieveRequestExpand": ".resources", + "ExpensesListRequestExpandItem": ".resources", + "ExpensesRetrieveRequestExpandItem": ".resources", "ExternalTargetFieldApi": ".types", "ExternalTargetFieldApiResponse": ".types", "FeedStatusEnum": ".types", @@ -863,12 +983,11 @@ "GeneralLedgerTransactionLineEmployee": ".types", "GeneralLedgerTransactionLineItem": ".types", "GeneralLedgerTransactionLineProject": ".types", - "GeneralLedgerTransactionLineTrackingCategoriesItem": ".types", "GeneralLedgerTransactionLineTransactionCurrency": ".types", "GeneralLedgerTransactionTrackingCategoriesItem": ".types", "GeneralLedgerTransactionUnderlyingTransactionType": ".types", - "GeneralLedgerTransactionsListRequestExpand": ".resources", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".resources", + "GeneralLedgerTransactionsListRequestExpandItem": ".resources", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".resources", "IncomeStatement": ".types", "IncomeStatementCompany": ".types", "IncomeStatementCurrency": ".types", @@ -879,6 +998,7 @@ "InvoiceAppliedCreditNotesItem": ".types", "InvoiceAppliedPaymentsItem": ".types", "InvoiceAppliedVendorCreditsItem": ".types", + "InvoiceBatchItemRequest": ".types", "InvoiceCompany": ".types", "InvoiceContact": ".types", "InvoiceCurrency": ".types", @@ -887,28 +1007,29 @@ "InvoiceLineItemAccount": ".types", "InvoiceLineItemContact": ".types", "InvoiceLineItemCurrency": ".types", - "InvoiceLineItemEmployee": ".types", "InvoiceLineItemItem": ".types", "InvoiceLineItemProject": ".types", "InvoiceLineItemRequest": ".types", "InvoiceLineItemRequestAccount": ".types", "InvoiceLineItemRequestContact": ".types", "InvoiceLineItemRequestCurrency": ".types", - "InvoiceLineItemRequestEmployee": ".types", "InvoiceLineItemRequestItem": ".types", "InvoiceLineItemRequestProject": ".types", "InvoiceLineItemRequestTrackingCategoriesItem": ".types", "InvoiceLineItemRequestTrackingCategory": ".types", "InvoiceLineItemTrackingCategoriesItem": ".types", "InvoiceLineItemTrackingCategory": ".types", + "InvoiceLineItemsItem": ".types", "InvoicePaymentTerm": ".types", "InvoicePaymentsItem": ".types", "InvoicePurchaseOrdersItem": ".types", "InvoiceRequest": ".types", + "InvoiceRequestAccountingPeriod": ".types", "InvoiceRequestCompany": ".types", "InvoiceRequestContact": ".types", "InvoiceRequestCurrency": ".types", "InvoiceRequestEmployee": ".types", + "InvoiceRequestLineItemsItem": ".types", "InvoiceRequestPaymentTerm": ".types", "InvoiceRequestPaymentsItem": ".types", "InvoiceRequestPurchaseOrdersItem": ".types", @@ -916,15 +1037,16 @@ "InvoiceRequestTrackingCategoriesItem": ".types", "InvoiceRequestType": ".types", "InvoiceResponse": ".types", + "InvoiceSalesOrdersItem": ".types", "InvoiceStatus": ".types", "InvoiceStatusEnum": ".types", "InvoiceTrackingCategoriesItem": ".types", "InvoiceType": ".types", "InvoiceTypeEnum": ".types", - "InvoicesListRequestExpand": ".resources", + "InvoicesListRequestExpandItem": ".resources", "InvoicesListRequestStatus": ".resources", "InvoicesListRequestType": ".resources", - "InvoicesRetrieveRequestExpand": ".resources", + "InvoicesRetrieveRequestExpandItem": ".resources", "Issue": ".types", "IssueStatus": ".types", "IssueStatusEnum": ".types", @@ -932,6 +1054,31 @@ "Item": ".types", "ItemCompany": ".types", "ItemFormatEnum": ".types", + "ItemFulfillment": ".types", + "ItemFulfillmentBatchItemRequest": ".types", + "ItemFulfillmentCompany": ".types", + "ItemFulfillmentCustomer": ".types", + "ItemFulfillmentLine": ".types", + "ItemFulfillmentLineItem": ".types", + "ItemFulfillmentLineRequest": ".types", + "ItemFulfillmentLineRequestItem": ".types", + "ItemFulfillmentLineRequestSalesOrderLine": ".types", + "ItemFulfillmentLineRequestTrackingCategoriesItem": ".types", + "ItemFulfillmentLineSalesOrderLine": ".types", + "ItemFulfillmentLineTrackingCategoriesItem": ".types", + "ItemFulfillmentLinesItem": ".types", + "ItemFulfillmentRequestRequest": ".types", + "ItemFulfillmentRequestRequestCompany": ".types", + "ItemFulfillmentRequestRequestCustomer": ".types", + "ItemFulfillmentRequestRequestLinesItem": ".types", + "ItemFulfillmentRequestRequestSalesOrder": ".types", + "ItemFulfillmentRequestRequestStatus": ".types", + "ItemFulfillmentResponse": ".types", + "ItemFulfillmentSalesOrder": ".types", + "ItemFulfillmentStatus": ".types", + "ItemFulfillmentStatusEnum": ".types", + "ItemFulfillmentsListRequestExpandItem": ".resources", + "ItemFulfillmentsRetrieveRequestExpandItem": ".resources", "ItemPurchaseAccount": ".types", "ItemPurchaseTaxRate": ".types", "ItemRequestRequest": ".types", @@ -949,20 +1096,22 @@ "ItemStatus": ".types", "ItemType": ".types", "ItemTypeEnum": ".types", - "ItemsListRequestExpand": ".resources", - "ItemsRetrieveRequestExpand": ".resources", - "JournalEntriesListRequestExpand": ".resources", - "JournalEntriesRetrieveRequestExpand": ".resources", + "ItemsListRequestExpandItem": ".resources", + "ItemsRetrieveRequestExpandItem": ".resources", + "JournalEntriesListRequestExpandItem": ".resources", + "JournalEntriesRetrieveRequestExpandItem": ".resources", "JournalEntry": ".types", "JournalEntryAccountingPeriod": ".types", "JournalEntryAppliedPaymentsItem": ".types", "JournalEntryCompany": ".types", "JournalEntryCurrency": ".types", + "JournalEntryLinesItem": ".types", "JournalEntryPaymentsItem": ".types", "JournalEntryPostingStatus": ".types", "JournalEntryRequest": ".types", "JournalEntryRequestCompany": ".types", "JournalEntryRequestCurrency": ".types", + "JournalEntryRequestLinesItem": ".types", "JournalEntryRequestPaymentsItem": ".types", "JournalEntryRequestPostingStatus": ".types", "JournalEntryRequestTrackingCategoriesItem": ".types", @@ -1013,6 +1162,7 @@ "PaginatedIncomeStatementList": ".types", "PaginatedInvoiceList": ".types", "PaginatedIssueList": ".types", + "PaginatedItemFulfillmentList": ".types", "PaginatedItemList": ".types", "PaginatedJournalEntryList": ".types", "PaginatedPaymentList": ".types", @@ -1021,26 +1171,22 @@ "PaginatedProjectList": ".types", "PaginatedPurchaseOrderList": ".types", "PaginatedRemoteFieldClassList": ".types", + "PaginatedSalesOrderList": ".types", "PaginatedSyncStatusList": ".types", "PaginatedTaxRateList": ".types", "PaginatedTrackingCategoryList": ".types", "PaginatedTransactionList": ".types", "PaginatedVendorCreditList": ".types", "PatchedContactRequest": ".types", - "PatchedContactRequestAddressesItem": ".types", + "PatchedContactRequestStatus": ".types", "PatchedItemRequestRequest": ".types", "PatchedItemRequestRequestStatus": ".types", "PatchedItemRequestRequestType": ".types", "PatchedPaymentRequest": ".types", - "PatchedPaymentRequestAccount": ".types", - "PatchedPaymentRequestAccountingPeriod": ".types", - "PatchedPaymentRequestAppliedToLinesItem": ".types", - "PatchedPaymentRequestCompany": ".types", - "PatchedPaymentRequestContact": ".types", "PatchedPaymentRequestCurrency": ".types", - "PatchedPaymentRequestPaymentMethod": ".types", - "PatchedPaymentRequestTrackingCategoriesItem": ".types", "PatchedPaymentRequestType": ".types", + "PatchedVendorCreditRequest": ".types", + "PatchedVendorCreditRequestCurrency": ".types", "Payment": ".types", "PaymentAccount": ".types", "PaymentAccountingPeriod": ".types", @@ -1069,14 +1215,14 @@ "PaymentTrackingCategoriesItem": ".types", "PaymentType": ".types", "PaymentTypeEnum": ".types", - "PaymentsListRequestExpand": ".resources", - "PaymentsRetrieveRequestExpand": ".resources", + "PaymentsListRequestExpandItem": ".resources", + "PaymentsRetrieveRequestExpandItem": ".resources", "PostingStatusEnum": ".types", "Project": ".types", "ProjectCompany": ".types", "ProjectContact": ".types", - "ProjectsListRequestExpand": ".resources", - "ProjectsRetrieveRequestExpand": ".resources", + "ProjectsListRequestExpandItem": ".resources", + "ProjectsRetrieveRequestExpandItem": ".resources", "PurchaseOrder": ".types", "PurchaseOrderAccountingPeriod": ".types", "PurchaseOrderCompany": ".types", @@ -1088,11 +1234,13 @@ "PurchaseOrderLineItemRequest": ".types", "PurchaseOrderLineItemRequestCurrency": ".types", "PurchaseOrderLineItemRequestItem": ".types", + "PurchaseOrderLineItemsItem": ".types", "PurchaseOrderPaymentTerm": ".types", "PurchaseOrderRequest": ".types", "PurchaseOrderRequestCompany": ".types", "PurchaseOrderRequestCurrency": ".types", "PurchaseOrderRequestDeliveryAddress": ".types", + "PurchaseOrderRequestLineItemsItem": ".types", "PurchaseOrderRequestPaymentTerm": ".types", "PurchaseOrderRequestStatus": ".types", "PurchaseOrderRequestTrackingCategoriesItem": ".types", @@ -1102,8 +1250,9 @@ "PurchaseOrderStatusEnum": ".types", "PurchaseOrderTrackingCategoriesItem": ".types", "PurchaseOrderVendor": ".types", - "PurchaseOrdersListRequestExpand": ".resources", - "PurchaseOrdersRetrieveRequestExpand": ".resources", + "PurchaseOrdersListRequestExpandItem": ".resources", + "PurchaseOrdersRetrieveRequestExpandItem": ".resources", + "RegenerateAccountToken": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteField": ".types", @@ -1111,27 +1260,59 @@ "RemoteFieldApiCoverage": ".types", "RemoteFieldApiResponse": ".types", "RemoteFieldClass": ".types", - "RemoteFieldRemoteFieldClass": ".types", "RemoteFieldRequest": ".types", - "RemoteFieldRequestRemoteFieldClass": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "ReportItem": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "RoleEnum": ".types", + "SalesOrder": ".types", + "SalesOrderBatchItemRequest": ".types", + "SalesOrderCompany": ".types", + "SalesOrderCurrency": ".types", + "SalesOrderCustomer": ".types", + "SalesOrderLine": ".types", + "SalesOrderLineCompany": ".types", + "SalesOrderLineItem": ".types", + "SalesOrderLineRequest": ".types", + "SalesOrderLineRequestCompany": ".types", + "SalesOrderLineRequestItem": ".types", + "SalesOrderLineRequestTaxRate": ".types", + "SalesOrderLineRequestTrackingCategoriesItem": ".types", + "SalesOrderLineTaxRate": ".types", + "SalesOrderLineTrackingCategoriesItem": ".types", + "SalesOrderLinesItem": ".types", + "SalesOrderPaymentTerm": ".types", + "SalesOrderRequestRequest": ".types", + "SalesOrderRequestRequestCompany": ".types", + "SalesOrderRequestRequestCurrency": ".types", + "SalesOrderRequestRequestCustomer": ".types", + "SalesOrderRequestRequestLinesItem": ".types", + "SalesOrderRequestRequestPaymentTerm": ".types", + "SalesOrderRequestRequestShippingAddress": ".types", + "SalesOrderRequestRequestStatus": ".types", + "SalesOrderRequestRequestTrackingCategoriesItem": ".types", + "SalesOrderResponse": ".types", + "SalesOrderShippingAddress": ".types", + "SalesOrderStatus": ".types", + "SalesOrderStatusEnum": ".types", + "SalesOrderTrackingCategoriesItem": ".types", + "SalesOrdersListRequestExpandItem": ".resources", + "SalesOrdersRetrieveRequestExpandItem": ".resources", "SelectiveSyncConfigurationsUsageEnum": ".types", "Status7D1Enum": ".types", "Status895Enum": ".types", "StatusFd5Enum": ".types", "SyncStatus": ".types", + "SyncStatusLastSyncResult": ".types", "SyncStatusStatus": ".types", "TaxComponent": ".types", "TaxComponentComponentType": ".types", "TaxRate": ".types", "TaxRateCompany": ".types", "TaxRateStatus": ".types", - "TaxRateTaxComponentsItem": ".types", "TrackingCategoriesListRequestCategoryType": ".resources", "TrackingCategoriesListRequestStatus": ".resources", "TrackingCategory": ".types", @@ -1141,15 +1322,17 @@ "Transaction": ".types", "TransactionAccount": ".types", "TransactionAccountingPeriod": ".types", + "TransactionCompany": ".types", "TransactionContact": ".types", "TransactionCurrency": ".types", "TransactionCurrencyEnum": ".types", "TransactionLineItem": ".types", "TransactionLineItemCurrency": ".types", "TransactionLineItemItem": ".types", + "TransactionLineItemsItem": ".types", "TransactionTrackingCategoriesItem": ".types", - "TransactionsListRequestExpand": ".resources", - "TransactionsRetrieveRequestExpand": ".resources", + "TransactionsListRequestExpandItem": ".resources", + "TransactionsRetrieveRequestExpandItem": ".resources", "Type2BbEnum": ".types", "UnderlyingTransactionTypeEnum": ".types", "ValidationProblemSource": ".types", @@ -1171,6 +1354,7 @@ "VendorCreditLineRequestAccount": ".types", "VendorCreditLineRequestContact": ".types", "VendorCreditLineRequestProject": ".types", + "VendorCreditLinesItem": ".types", "VendorCreditRequest": ".types", "VendorCreditRequestAccountingPeriod": ".types", "VendorCreditRequestCompany": ".types", @@ -1180,8 +1364,8 @@ "VendorCreditResponse": ".types", "VendorCreditTrackingCategoriesItem": ".types", "VendorCreditVendor": ".types", - "VendorCreditsListRequestExpand": ".resources", - "VendorCreditsRetrieveRequestExpand": ".resources", + "VendorCreditsListRequestExpandItem": ".resources", + "VendorCreditsRetrieveRequestExpandItem": ".resources", "WarningValidationProblem": ".types", "WebhookReceiver": ".types", "account_details": ".resources", @@ -1212,6 +1396,7 @@ "income_statements": ".resources", "invoices": ".resources", "issues": ".resources", + "item_fulfillments": ".resources", "items": ".resources", "journal_entries": ".resources", "link_token": ".resources", @@ -1224,6 +1409,7 @@ "projects": ".resources", "purchase_orders": ".resources", "regenerate_key": ".resources", + "sales_orders": ".resources", "scopes": ".resources", "sync_status": ".resources", "tax_rates": ".resources", @@ -1258,6 +1444,7 @@ def __dir__(): "AccountAccountType", "AccountAccountTypeEnum", "AccountClassification", + "AccountCompany", "AccountCurrency", "AccountDetails", "AccountDetailsAndActions", @@ -1270,6 +1457,7 @@ def __dir__(): "AccountRequest", "AccountRequestAccountType", "AccountRequestClassification", + "AccountRequestCompany", "AccountRequestCurrency", "AccountRequestStatus", "AccountResponse", @@ -1297,6 +1485,7 @@ def __dir__(): "AddressType", "AddressTypeEnum", "AdvancedMetadata", + "AsyncBulkCreateResponse", "AsyncPassthroughReciept", "AsyncPassthroughRetrieveResponse", "AsyncPostTask", @@ -1327,6 +1516,13 @@ def __dir__(): "BankFeedTransactionRequestRequestBankFeedAccount", "BankFeedTransactionRequestRequestCreditOrDebit", "BankFeedTransactionResponse", + "BatchObject", + "BatchObjectItemResponse", + "BatchObjectStatus", + "BatchObjectStatusEnum", + "BatchObjectsResponse", + "BatchObjectsResponseStatus", + "BatchObjectsResponseStatusEnum", "CashFlowStatement", "CashFlowStatementCompany", "CashFlowStatementCurrency", @@ -1337,20 +1533,27 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "CompanyInfo", + "CompanyInfoAddressesItem", "CompanyInfoCurrency", - "CompanyInfoListRequestExpand", - "CompanyInfoRetrieveRequestExpand", + "CompanyInfoListRequestExpandItem", + "CompanyInfoPhoneNumbersItem", + "CompanyInfoRetrieveRequestExpandItem", + "CompletedAccountInitialScreenEnum", "ComponentTypeEnum", "Contact", "ContactAddressesItem", + "ContactCompany", + "ContactPhoneNumbersItem", "ContactRequest", "ContactRequestAddressesItem", + "ContactRequestCompany", + "ContactRequestPhoneNumbersItem", "ContactRequestStatus", "ContactResponse", "ContactStatus", - "ContactsListRequestExpand", + "ContactsListRequestExpandItem", "ContactsListRequestStatus", - "ContactsRetrieveRequestExpand", + "ContactsRetrieveRequestExpandItem", "CountryEnum", "CreditNote", "CreditNoteAccountingPeriod", @@ -1374,6 +1577,7 @@ def __dir__(): "CreditNoteLineItemRequestContact", "CreditNoteLineItemRequestItem", "CreditNoteLineItemRequestProject", + "CreditNoteLineItemsItem", "CreditNotePaymentsItem", "CreditNoteRequest", "CreditNoteRequestAccountingPeriod", @@ -1389,15 +1593,14 @@ def __dir__(): "CreditNoteStatus", "CreditNoteStatusEnum", "CreditNoteTrackingCategoriesItem", - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", "CreditOrDebitEnum", "DataPassthroughRequest", - "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", @@ -1405,12 +1608,14 @@ def __dir__(): "EmployeeStatus", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", "Expense", "ExpenseAccount", "ExpenseAccountingPeriod", + "ExpenseBatchItemRequest", "ExpenseCompany", "ExpenseContact", "ExpenseCurrency", @@ -1434,31 +1639,39 @@ def __dir__(): "ExpenseLineTrackingCategoriesItem", "ExpenseLineTrackingCategory", "ExpenseReport", + "ExpenseReportAccountingPeriod", "ExpenseReportCompany", + "ExpenseReportCurrency", + "ExpenseReportEmployee", "ExpenseReportLine", "ExpenseReportLineAccount", "ExpenseReportLineCompany", "ExpenseReportLineContact", + "ExpenseReportLineCurrency", "ExpenseReportLineEmployee", "ExpenseReportLineProject", "ExpenseReportLineRequest", "ExpenseReportLineRequestAccount", "ExpenseReportLineRequestCompany", "ExpenseReportLineRequestContact", + "ExpenseReportLineRequestCurrency", "ExpenseReportLineRequestEmployee", "ExpenseReportLineRequestProject", "ExpenseReportLineRequestTaxRate", "ExpenseReportLineTaxRate", + "ExpenseReportLinesItem", "ExpenseReportRequest", "ExpenseReportRequestAccountingPeriod", "ExpenseReportRequestCompany", + "ExpenseReportRequestCurrency", "ExpenseReportRequestEmployee", + "ExpenseReportRequestStatus", "ExpenseReportResponse", "ExpenseReportStatus", "ExpenseReportStatusEnum", - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", + "ExpenseReportsLinesListRequestExpandItem", + "ExpenseReportsListRequestExpandItem", + "ExpenseReportsRetrieveRequestExpandItem", "ExpenseRequest", "ExpenseRequestAccount", "ExpenseRequestAccountingPeriod", @@ -1469,8 +1682,8 @@ def __dir__(): "ExpenseRequestTrackingCategoriesItem", "ExpenseResponse", "ExpenseTrackingCategoriesItem", - "ExpensesListRequestExpand", - "ExpensesRetrieveRequestExpand", + "ExpensesListRequestExpandItem", + "ExpensesRetrieveRequestExpandItem", "ExternalTargetFieldApi", "ExternalTargetFieldApiResponse", "FeedStatusEnum", @@ -1496,12 +1709,11 @@ def __dir__(): "GeneralLedgerTransactionLineEmployee", "GeneralLedgerTransactionLineItem", "GeneralLedgerTransactionLineProject", - "GeneralLedgerTransactionLineTrackingCategoriesItem", "GeneralLedgerTransactionLineTransactionCurrency", "GeneralLedgerTransactionTrackingCategoriesItem", "GeneralLedgerTransactionUnderlyingTransactionType", - "GeneralLedgerTransactionsListRequestExpand", - "GeneralLedgerTransactionsRetrieveRequestExpand", + "GeneralLedgerTransactionsListRequestExpandItem", + "GeneralLedgerTransactionsRetrieveRequestExpandItem", "IncomeStatement", "IncomeStatementCompany", "IncomeStatementCurrency", @@ -1512,6 +1724,7 @@ def __dir__(): "InvoiceAppliedCreditNotesItem", "InvoiceAppliedPaymentsItem", "InvoiceAppliedVendorCreditsItem", + "InvoiceBatchItemRequest", "InvoiceCompany", "InvoiceContact", "InvoiceCurrency", @@ -1520,28 +1733,29 @@ def __dir__(): "InvoiceLineItemAccount", "InvoiceLineItemContact", "InvoiceLineItemCurrency", - "InvoiceLineItemEmployee", "InvoiceLineItemItem", "InvoiceLineItemProject", "InvoiceLineItemRequest", "InvoiceLineItemRequestAccount", "InvoiceLineItemRequestContact", "InvoiceLineItemRequestCurrency", - "InvoiceLineItemRequestEmployee", "InvoiceLineItemRequestItem", "InvoiceLineItemRequestProject", "InvoiceLineItemRequestTrackingCategoriesItem", "InvoiceLineItemRequestTrackingCategory", "InvoiceLineItemTrackingCategoriesItem", "InvoiceLineItemTrackingCategory", + "InvoiceLineItemsItem", "InvoicePaymentTerm", "InvoicePaymentsItem", "InvoicePurchaseOrdersItem", "InvoiceRequest", + "InvoiceRequestAccountingPeriod", "InvoiceRequestCompany", "InvoiceRequestContact", "InvoiceRequestCurrency", "InvoiceRequestEmployee", + "InvoiceRequestLineItemsItem", "InvoiceRequestPaymentTerm", "InvoiceRequestPaymentsItem", "InvoiceRequestPurchaseOrdersItem", @@ -1549,15 +1763,16 @@ def __dir__(): "InvoiceRequestTrackingCategoriesItem", "InvoiceRequestType", "InvoiceResponse", + "InvoiceSalesOrdersItem", "InvoiceStatus", "InvoiceStatusEnum", "InvoiceTrackingCategoriesItem", "InvoiceType", "InvoiceTypeEnum", - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", "Issue", "IssueStatus", "IssueStatusEnum", @@ -1565,6 +1780,31 @@ def __dir__(): "Item", "ItemCompany", "ItemFormatEnum", + "ItemFulfillment", + "ItemFulfillmentBatchItemRequest", + "ItemFulfillmentCompany", + "ItemFulfillmentCustomer", + "ItemFulfillmentLine", + "ItemFulfillmentLineItem", + "ItemFulfillmentLineRequest", + "ItemFulfillmentLineRequestItem", + "ItemFulfillmentLineRequestSalesOrderLine", + "ItemFulfillmentLineRequestTrackingCategoriesItem", + "ItemFulfillmentLineSalesOrderLine", + "ItemFulfillmentLineTrackingCategoriesItem", + "ItemFulfillmentLinesItem", + "ItemFulfillmentRequestRequest", + "ItemFulfillmentRequestRequestCompany", + "ItemFulfillmentRequestRequestCustomer", + "ItemFulfillmentRequestRequestLinesItem", + "ItemFulfillmentRequestRequestSalesOrder", + "ItemFulfillmentRequestRequestStatus", + "ItemFulfillmentResponse", + "ItemFulfillmentSalesOrder", + "ItemFulfillmentStatus", + "ItemFulfillmentStatusEnum", + "ItemFulfillmentsListRequestExpandItem", + "ItemFulfillmentsRetrieveRequestExpandItem", "ItemPurchaseAccount", "ItemPurchaseTaxRate", "ItemRequestRequest", @@ -1582,20 +1822,22 @@ def __dir__(): "ItemStatus", "ItemType", "ItemTypeEnum", - "ItemsListRequestExpand", - "ItemsRetrieveRequestExpand", - "JournalEntriesListRequestExpand", - "JournalEntriesRetrieveRequestExpand", + "ItemsListRequestExpandItem", + "ItemsRetrieveRequestExpandItem", + "JournalEntriesListRequestExpandItem", + "JournalEntriesRetrieveRequestExpandItem", "JournalEntry", "JournalEntryAccountingPeriod", "JournalEntryAppliedPaymentsItem", "JournalEntryCompany", "JournalEntryCurrency", + "JournalEntryLinesItem", "JournalEntryPaymentsItem", "JournalEntryPostingStatus", "JournalEntryRequest", "JournalEntryRequestCompany", "JournalEntryRequestCurrency", + "JournalEntryRequestLinesItem", "JournalEntryRequestPaymentsItem", "JournalEntryRequestPostingStatus", "JournalEntryRequestTrackingCategoriesItem", @@ -1646,6 +1888,7 @@ def __dir__(): "PaginatedIncomeStatementList", "PaginatedInvoiceList", "PaginatedIssueList", + "PaginatedItemFulfillmentList", "PaginatedItemList", "PaginatedJournalEntryList", "PaginatedPaymentList", @@ -1654,26 +1897,22 @@ def __dir__(): "PaginatedProjectList", "PaginatedPurchaseOrderList", "PaginatedRemoteFieldClassList", + "PaginatedSalesOrderList", "PaginatedSyncStatusList", "PaginatedTaxRateList", "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", "PatchedContactRequest", - "PatchedContactRequestAddressesItem", + "PatchedContactRequestStatus", "PatchedItemRequestRequest", "PatchedItemRequestRequestStatus", "PatchedItemRequestRequestType", "PatchedPaymentRequest", - "PatchedPaymentRequestAccount", - "PatchedPaymentRequestAccountingPeriod", - "PatchedPaymentRequestAppliedToLinesItem", - "PatchedPaymentRequestCompany", - "PatchedPaymentRequestContact", "PatchedPaymentRequestCurrency", - "PatchedPaymentRequestPaymentMethod", - "PatchedPaymentRequestTrackingCategoriesItem", "PatchedPaymentRequestType", + "PatchedVendorCreditRequest", + "PatchedVendorCreditRequestCurrency", "Payment", "PaymentAccount", "PaymentAccountingPeriod", @@ -1702,14 +1941,14 @@ def __dir__(): "PaymentTrackingCategoriesItem", "PaymentType", "PaymentTypeEnum", - "PaymentsListRequestExpand", - "PaymentsRetrieveRequestExpand", + "PaymentsListRequestExpandItem", + "PaymentsRetrieveRequestExpandItem", "PostingStatusEnum", "Project", "ProjectCompany", "ProjectContact", - "ProjectsListRequestExpand", - "ProjectsRetrieveRequestExpand", + "ProjectsListRequestExpandItem", + "ProjectsRetrieveRequestExpandItem", "PurchaseOrder", "PurchaseOrderAccountingPeriod", "PurchaseOrderCompany", @@ -1721,11 +1960,13 @@ def __dir__(): "PurchaseOrderLineItemRequest", "PurchaseOrderLineItemRequestCurrency", "PurchaseOrderLineItemRequestItem", + "PurchaseOrderLineItemsItem", "PurchaseOrderPaymentTerm", "PurchaseOrderRequest", "PurchaseOrderRequestCompany", "PurchaseOrderRequestCurrency", "PurchaseOrderRequestDeliveryAddress", + "PurchaseOrderRequestLineItemsItem", "PurchaseOrderRequestPaymentTerm", "PurchaseOrderRequestStatus", "PurchaseOrderRequestTrackingCategoriesItem", @@ -1735,8 +1976,9 @@ def __dir__(): "PurchaseOrderStatusEnum", "PurchaseOrderTrackingCategoriesItem", "PurchaseOrderVendor", - "PurchaseOrdersListRequestExpand", - "PurchaseOrdersRetrieveRequestExpand", + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersRetrieveRequestExpandItem", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -1744,27 +1986,59 @@ def __dir__(): "RemoteFieldApiCoverage", "RemoteFieldApiResponse", "RemoteFieldClass", - "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", - "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "ReportItem", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", + "SalesOrder", + "SalesOrderBatchItemRequest", + "SalesOrderCompany", + "SalesOrderCurrency", + "SalesOrderCustomer", + "SalesOrderLine", + "SalesOrderLineCompany", + "SalesOrderLineItem", + "SalesOrderLineRequest", + "SalesOrderLineRequestCompany", + "SalesOrderLineRequestItem", + "SalesOrderLineRequestTaxRate", + "SalesOrderLineRequestTrackingCategoriesItem", + "SalesOrderLineTaxRate", + "SalesOrderLineTrackingCategoriesItem", + "SalesOrderLinesItem", + "SalesOrderPaymentTerm", + "SalesOrderRequestRequest", + "SalesOrderRequestRequestCompany", + "SalesOrderRequestRequestCurrency", + "SalesOrderRequestRequestCustomer", + "SalesOrderRequestRequestLinesItem", + "SalesOrderRequestRequestPaymentTerm", + "SalesOrderRequestRequestShippingAddress", + "SalesOrderRequestRequestStatus", + "SalesOrderRequestRequestTrackingCategoriesItem", + "SalesOrderResponse", + "SalesOrderShippingAddress", + "SalesOrderStatus", + "SalesOrderStatusEnum", + "SalesOrderTrackingCategoriesItem", + "SalesOrdersListRequestExpandItem", + "SalesOrdersRetrieveRequestExpandItem", "SelectiveSyncConfigurationsUsageEnum", "Status7D1Enum", "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", "TaxRate", "TaxRateCompany", "TaxRateStatus", - "TaxRateTaxComponentsItem", "TrackingCategoriesListRequestCategoryType", "TrackingCategoriesListRequestStatus", "TrackingCategory", @@ -1774,15 +2048,17 @@ def __dir__(): "Transaction", "TransactionAccount", "TransactionAccountingPeriod", + "TransactionCompany", "TransactionContact", "TransactionCurrency", "TransactionCurrencyEnum", "TransactionLineItem", "TransactionLineItemCurrency", "TransactionLineItemItem", + "TransactionLineItemsItem", "TransactionTrackingCategoriesItem", - "TransactionsListRequestExpand", - "TransactionsRetrieveRequestExpand", + "TransactionsListRequestExpandItem", + "TransactionsRetrieveRequestExpandItem", "Type2BbEnum", "UnderlyingTransactionTypeEnum", "ValidationProblemSource", @@ -1804,6 +2080,7 @@ def __dir__(): "VendorCreditLineRequestAccount", "VendorCreditLineRequestContact", "VendorCreditLineRequestProject", + "VendorCreditLinesItem", "VendorCreditRequest", "VendorCreditRequestAccountingPeriod", "VendorCreditRequestCompany", @@ -1813,8 +2090,8 @@ def __dir__(): "VendorCreditResponse", "VendorCreditTrackingCategoriesItem", "VendorCreditVendor", - "VendorCreditsListRequestExpand", - "VendorCreditsRetrieveRequestExpand", + "VendorCreditsListRequestExpandItem", + "VendorCreditsRetrieveRequestExpandItem", "WarningValidationProblem", "WebhookReceiver", "account_details", @@ -1845,6 +2122,7 @@ def __dir__(): "income_statements", "invoices", "issues", + "item_fulfillments", "items", "journal_entries", "link_token", @@ -1857,6 +2135,7 @@ def __dir__(): "projects", "purchase_orders", "regenerate_key", + "sales_orders", "scopes", "sync_status", "tax_rates", diff --git a/src/merge/resources/accounting/client.py b/src/merge/resources/accounting/client.py index fcf4a37c..d9f97d91 100644 --- a/src/merge/resources/accounting/client.py +++ b/src/merge/resources/accounting/client.py @@ -42,6 +42,7 @@ from .resources.income_statements.client import AsyncIncomeStatementsClient, IncomeStatementsClient from .resources.invoices.client import AsyncInvoicesClient, InvoicesClient from .resources.issues.client import AsyncIssuesClient, IssuesClient + from .resources.item_fulfillments.client import AsyncItemFulfillmentsClient, ItemFulfillmentsClient from .resources.items.client import AsyncItemsClient, ItemsClient from .resources.journal_entries.client import AsyncJournalEntriesClient, JournalEntriesClient from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient @@ -57,6 +58,7 @@ from .resources.projects.client import AsyncProjectsClient, ProjectsClient from .resources.purchase_orders.client import AsyncPurchaseOrdersClient, PurchaseOrdersClient from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient + from .resources.sales_orders.client import AsyncSalesOrdersClient, SalesOrdersClient from .resources.scopes.client import AsyncScopesClient, ScopesClient from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient from .resources.tax_rates.client import AsyncTaxRatesClient, TaxRatesClient @@ -100,6 +102,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._income_statements: typing.Optional[IncomeStatementsClient] = None self._invoices: typing.Optional[InvoicesClient] = None self._issues: typing.Optional[IssuesClient] = None + self._item_fulfillments: typing.Optional[ItemFulfillmentsClient] = None self._items: typing.Optional[ItemsClient] = None self._journal_entries: typing.Optional[JournalEntriesClient] = None self._link_token: typing.Optional[LinkTokenClient] = None @@ -112,6 +115,7 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): self._projects: typing.Optional[ProjectsClient] = None self._purchase_orders: typing.Optional[PurchaseOrdersClient] = None self._regenerate_key: typing.Optional[RegenerateKeyClient] = None + self._sales_orders: typing.Optional[SalesOrdersClient] = None self._sync_status: typing.Optional[SyncStatusClient] = None self._force_resync: typing.Optional[ForceResyncClient] = None self._tax_rates: typing.Optional[TaxRatesClient] = None @@ -359,6 +363,14 @@ def issues(self): self._issues = IssuesClient(client_wrapper=self._client_wrapper) return self._issues + @property + def item_fulfillments(self): + if self._item_fulfillments is None: + from .resources.item_fulfillments.client import ItemFulfillmentsClient # noqa: E402 + + self._item_fulfillments = ItemFulfillmentsClient(client_wrapper=self._client_wrapper) + return self._item_fulfillments + @property def items(self): if self._items is None: @@ -455,6 +467,14 @@ def regenerate_key(self): self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) return self._regenerate_key + @property + def sales_orders(self): + if self._sales_orders is None: + from .resources.sales_orders.client import SalesOrdersClient # noqa: E402 + + self._sales_orders = SalesOrdersClient(client_wrapper=self._client_wrapper) + return self._sales_orders + @property def sync_status(self): if self._sync_status is None: @@ -544,6 +564,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._income_statements: typing.Optional[AsyncIncomeStatementsClient] = None self._invoices: typing.Optional[AsyncInvoicesClient] = None self._issues: typing.Optional[AsyncIssuesClient] = None + self._item_fulfillments: typing.Optional[AsyncItemFulfillmentsClient] = None self._items: typing.Optional[AsyncItemsClient] = None self._journal_entries: typing.Optional[AsyncJournalEntriesClient] = None self._link_token: typing.Optional[AsyncLinkTokenClient] = None @@ -558,6 +579,7 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): self._projects: typing.Optional[AsyncProjectsClient] = None self._purchase_orders: typing.Optional[AsyncPurchaseOrdersClient] = None self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None + self._sales_orders: typing.Optional[AsyncSalesOrdersClient] = None self._sync_status: typing.Optional[AsyncSyncStatusClient] = None self._force_resync: typing.Optional[AsyncForceResyncClient] = None self._tax_rates: typing.Optional[AsyncTaxRatesClient] = None @@ -803,6 +825,14 @@ def issues(self): self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) return self._issues + @property + def item_fulfillments(self): + if self._item_fulfillments is None: + from .resources.item_fulfillments.client import AsyncItemFulfillmentsClient # noqa: E402 + + self._item_fulfillments = AsyncItemFulfillmentsClient(client_wrapper=self._client_wrapper) + return self._item_fulfillments + @property def items(self): if self._items is None: @@ -903,6 +933,14 @@ def regenerate_key(self): self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) return self._regenerate_key + @property + def sales_orders(self): + if self._sales_orders is None: + from .resources.sales_orders.client import AsyncSalesOrdersClient # noqa: E402 + + self._sales_orders = AsyncSalesOrdersClient(client_wrapper=self._client_wrapper) + return self._sales_orders + @property def sync_status(self): if self._sync_status is None: diff --git a/src/merge/resources/accounting/resources/__init__.py b/src/merge/resources/accounting/resources/__init__.py index 46b82e29..c7eebe10 100644 --- a/src/merge/resources/accounting/resources/__init__.py +++ b/src/merge/resources/accounting/resources/__init__.py @@ -35,6 +35,7 @@ income_statements, invoices, issues, + item_fulfillments, items, journal_entries, link_token, @@ -47,6 +48,7 @@ projects, purchase_orders, regenerate_key, + sales_orders, scopes, sync_status, tax_rates, @@ -64,43 +66,45 @@ AccountsRetrieveRequestShowEnumOrigins, ) from .async_passthrough import AsyncPassthroughRetrieveResponse - from .company_info import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand - from .contacts import ContactsListRequestExpand, ContactsListRequestStatus, ContactsRetrieveRequestExpand + from .company_info import CompanyInfoListRequestExpandItem, CompanyInfoRetrieveRequestExpandItem + from .contacts import ContactsListRequestExpandItem, ContactsListRequestStatus, ContactsRetrieveRequestExpandItem from .credit_notes import ( - CreditNotesListRequestExpand, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) from .expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, + ExpenseReportsLinesListRequestExpandItem, + ExpenseReportsListRequestExpandItem, + ExpenseReportsRetrieveRequestExpandItem, ) - from .expenses import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand + from .expenses import ExpensesListRequestExpandItem, ExpensesRetrieveRequestExpandItem from .general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - GeneralLedgerTransactionsRetrieveRequestExpand, + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, ) from .invoices import ( - InvoicesListRequestExpand, + InvoicesListRequestExpandItem, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, ) from .issues import IssuesListRequestStatus - from .items import ItemsListRequestExpand, ItemsRetrieveRequestExpand - from .journal_entries import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand - from .link_token import EndUserDetailsRequestLanguage + from .item_fulfillments import ItemFulfillmentsListRequestExpandItem, ItemFulfillmentsRetrieveRequestExpandItem + from .items import ItemsListRequestExpandItem, ItemsRetrieveRequestExpandItem + from .journal_entries import JournalEntriesListRequestExpandItem, JournalEntriesRetrieveRequestExpandItem + from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .payments import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand - from .projects import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand - from .purchase_orders import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand + from .payments import PaymentsListRequestExpandItem, PaymentsRetrieveRequestExpandItem + from .projects import ProjectsListRequestExpandItem, ProjectsRetrieveRequestExpandItem + from .purchase_orders import PurchaseOrdersListRequestExpandItem, PurchaseOrdersRetrieveRequestExpandItem + from .sales_orders import SalesOrdersListRequestExpandItem, SalesOrdersRetrieveRequestExpandItem from .tracking_categories import TrackingCategoriesListRequestCategoryType, TrackingCategoriesListRequestStatus - from .transactions import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand - from .vendor_credits import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand + from .transactions import TransactionsListRequestExpandItem, TransactionsRetrieveRequestExpandItem + from .vendor_credits import VendorCreditsListRequestExpandItem, VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "AccountsListRequestClassification": ".accounts", "AccountsListRequestRemoteFields": ".accounts", @@ -109,47 +113,52 @@ "AccountsRetrieveRequestRemoteFields": ".accounts", "AccountsRetrieveRequestShowEnumOrigins": ".accounts", "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "CompanyInfoListRequestExpand": ".company_info", - "CompanyInfoRetrieveRequestExpand": ".company_info", - "ContactsListRequestExpand": ".contacts", + "CompanyInfoListRequestExpandItem": ".company_info", + "CompanyInfoRetrieveRequestExpandItem": ".company_info", + "ContactsListRequestExpandItem": ".contacts", "ContactsListRequestStatus": ".contacts", - "ContactsRetrieveRequestExpand": ".contacts", - "CreditNotesListRequestExpand": ".credit_notes", + "ContactsRetrieveRequestExpandItem": ".contacts", + "CreditNotesListRequestExpandItem": ".credit_notes", "CreditNotesListRequestRemoteFields": ".credit_notes", "CreditNotesListRequestShowEnumOrigins": ".credit_notes", - "CreditNotesRetrieveRequestExpand": ".credit_notes", + "CreditNotesRetrieveRequestExpandItem": ".credit_notes", "CreditNotesRetrieveRequestRemoteFields": ".credit_notes", "CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes", + "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", "EndUserDetailsRequestLanguage": ".link_token", - "ExpenseReportsLinesListRequestExpand": ".expense_reports", - "ExpenseReportsListRequestExpand": ".expense_reports", - "ExpenseReportsRetrieveRequestExpand": ".expense_reports", - "ExpensesListRequestExpand": ".expenses", - "ExpensesRetrieveRequestExpand": ".expenses", - "GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions", - "InvoicesListRequestExpand": ".invoices", + "ExpenseReportsLinesListRequestExpandItem": ".expense_reports", + "ExpenseReportsListRequestExpandItem": ".expense_reports", + "ExpenseReportsRetrieveRequestExpandItem": ".expense_reports", + "ExpensesListRequestExpandItem": ".expenses", + "ExpensesRetrieveRequestExpandItem": ".expenses", + "GeneralLedgerTransactionsListRequestExpandItem": ".general_ledger_transactions", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".general_ledger_transactions", + "InvoicesListRequestExpandItem": ".invoices", "InvoicesListRequestStatus": ".invoices", "InvoicesListRequestType": ".invoices", - "InvoicesRetrieveRequestExpand": ".invoices", + "InvoicesRetrieveRequestExpandItem": ".invoices", "IssuesListRequestStatus": ".issues", - "ItemsListRequestExpand": ".items", - "ItemsRetrieveRequestExpand": ".items", - "JournalEntriesListRequestExpand": ".journal_entries", - "JournalEntriesRetrieveRequestExpand": ".journal_entries", + "ItemFulfillmentsListRequestExpandItem": ".item_fulfillments", + "ItemFulfillmentsRetrieveRequestExpandItem": ".item_fulfillments", + "ItemsListRequestExpandItem": ".items", + "ItemsRetrieveRequestExpandItem": ".items", + "JournalEntriesListRequestExpandItem": ".journal_entries", + "JournalEntriesRetrieveRequestExpandItem": ".journal_entries", "LinkedAccountsListRequestCategory": ".linked_accounts", - "PaymentsListRequestExpand": ".payments", - "PaymentsRetrieveRequestExpand": ".payments", - "ProjectsListRequestExpand": ".projects", - "ProjectsRetrieveRequestExpand": ".projects", - "PurchaseOrdersListRequestExpand": ".purchase_orders", - "PurchaseOrdersRetrieveRequestExpand": ".purchase_orders", + "PaymentsListRequestExpandItem": ".payments", + "PaymentsRetrieveRequestExpandItem": ".payments", + "ProjectsListRequestExpandItem": ".projects", + "ProjectsRetrieveRequestExpandItem": ".projects", + "PurchaseOrdersListRequestExpandItem": ".purchase_orders", + "PurchaseOrdersRetrieveRequestExpandItem": ".purchase_orders", + "SalesOrdersListRequestExpandItem": ".sales_orders", + "SalesOrdersRetrieveRequestExpandItem": ".sales_orders", "TrackingCategoriesListRequestCategoryType": ".tracking_categories", "TrackingCategoriesListRequestStatus": ".tracking_categories", - "TransactionsListRequestExpand": ".transactions", - "TransactionsRetrieveRequestExpand": ".transactions", - "VendorCreditsListRequestExpand": ".vendor_credits", - "VendorCreditsRetrieveRequestExpand": ".vendor_credits", + "TransactionsListRequestExpandItem": ".transactions", + "TransactionsRetrieveRequestExpandItem": ".transactions", + "VendorCreditsListRequestExpandItem": ".vendor_credits", + "VendorCreditsRetrieveRequestExpandItem": ".vendor_credits", "account_details": ".", "account_token": ".", "accounting_periods": ".", @@ -178,6 +187,7 @@ "income_statements": ".", "invoices": ".", "issues": ".", + "item_fulfillments": ".", "items": ".", "journal_entries": ".", "link_token": ".", @@ -190,6 +200,7 @@ "projects": ".", "purchase_orders": ".", "regenerate_key": ".", + "sales_orders": ".", "scopes": ".", "sync_status": ".", "tax_rates": ".", @@ -227,47 +238,52 @@ def __dir__(): "AccountsRetrieveRequestRemoteFields", "AccountsRetrieveRequestShowEnumOrigins", "AsyncPassthroughRetrieveResponse", - "CompanyInfoListRequestExpand", - "CompanyInfoRetrieveRequestExpand", - "ContactsListRequestExpand", + "CompanyInfoListRequestExpandItem", + "CompanyInfoRetrieveRequestExpandItem", + "ContactsListRequestExpandItem", "ContactsListRequestStatus", - "ContactsRetrieveRequestExpand", - "CreditNotesListRequestExpand", + "ContactsRetrieveRequestExpandItem", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", + "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", - "ExpensesListRequestExpand", - "ExpensesRetrieveRequestExpand", - "GeneralLedgerTransactionsListRequestExpand", - "GeneralLedgerTransactionsRetrieveRequestExpand", - "InvoicesListRequestExpand", + "ExpenseReportsLinesListRequestExpandItem", + "ExpenseReportsListRequestExpandItem", + "ExpenseReportsRetrieveRequestExpandItem", + "ExpensesListRequestExpandItem", + "ExpensesRetrieveRequestExpandItem", + "GeneralLedgerTransactionsListRequestExpandItem", + "GeneralLedgerTransactionsRetrieveRequestExpandItem", + "InvoicesListRequestExpandItem", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", "IssuesListRequestStatus", - "ItemsListRequestExpand", - "ItemsRetrieveRequestExpand", - "JournalEntriesListRequestExpand", - "JournalEntriesRetrieveRequestExpand", + "ItemFulfillmentsListRequestExpandItem", + "ItemFulfillmentsRetrieveRequestExpandItem", + "ItemsListRequestExpandItem", + "ItemsRetrieveRequestExpandItem", + "JournalEntriesListRequestExpandItem", + "JournalEntriesRetrieveRequestExpandItem", "LinkedAccountsListRequestCategory", - "PaymentsListRequestExpand", - "PaymentsRetrieveRequestExpand", - "ProjectsListRequestExpand", - "ProjectsRetrieveRequestExpand", - "PurchaseOrdersListRequestExpand", - "PurchaseOrdersRetrieveRequestExpand", + "PaymentsListRequestExpandItem", + "PaymentsRetrieveRequestExpandItem", + "ProjectsListRequestExpandItem", + "ProjectsRetrieveRequestExpandItem", + "PurchaseOrdersListRequestExpandItem", + "PurchaseOrdersRetrieveRequestExpandItem", + "SalesOrdersListRequestExpandItem", + "SalesOrdersRetrieveRequestExpandItem", "TrackingCategoriesListRequestCategoryType", "TrackingCategoriesListRequestStatus", - "TransactionsListRequestExpand", - "TransactionsRetrieveRequestExpand", - "VendorCreditsListRequestExpand", - "VendorCreditsRetrieveRequestExpand", + "TransactionsListRequestExpandItem", + "TransactionsRetrieveRequestExpandItem", + "VendorCreditsListRequestExpandItem", + "VendorCreditsRetrieveRequestExpandItem", "account_details", "account_token", "accounting_periods", @@ -296,6 +312,7 @@ def __dir__(): "income_statements", "invoices", "issues", + "item_fulfillments", "items", "journal_entries", "link_token", @@ -308,6 +325,7 @@ def __dir__(): "projects", "purchase_orders", "regenerate_key", + "sales_orders", "scopes", "sync_status", "tax_rates", diff --git a/src/merge/resources/accounting/resources/account_token/client.py b/src/merge/resources/accounting/resources/account_token/client.py index d48bdcfd..6e0672f2 100644 --- a/src/merge/resources/accounting/resources/account_token/client.py +++ b/src/merge/resources/accounting/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/accounting/resources/account_token/raw_client.py b/src/merge/resources/accounting/resources/account_token/raw_client.py index a788d970..619b7dd9 100644 --- a/src/merge/resources/accounting/resources/account_token/raw_client.py +++ b/src/merge/resources/accounting/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/accounting/resources/accounting_periods/client.py b/src/merge/resources/accounting/resources/accounting_periods/client.py index 6bf4adb9..35fbf215 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/client.py @@ -3,9 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.accounting_period import AccountingPeriod -from ...types.paginated_accounting_period_list import PaginatedAccountingPeriodList from .raw_client import AsyncRawAccountingPeriodsClient, RawAccountingPeriodsClient @@ -33,7 +33,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingPeriodList: + ) -> SyncPager[AccountingPeriod]: """ Returns a list of `AccountingPeriod` objects. @@ -52,14 +52,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedAccountingPeriodList + SyncPager[AccountingPeriod] Examples @@ -70,15 +70,20 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.accounting_periods.list( + response = client.accounting.accounting_periods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -86,7 +91,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, @@ -164,7 +168,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingPeriodList: + ) -> AsyncPager[AccountingPeriod]: """ Returns a list of `AccountingPeriod` objects. @@ -183,14 +187,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedAccountingPeriodList + AsyncPager[AccountingPeriod] Examples @@ -206,18 +210,24 @@ async def list( async def main() -> None: - await client.accounting.accounting_periods.list( + response = await client.accounting.accounting_periods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -225,7 +235,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/accounting/resources/accounting_periods/raw_client.py b/src/merge/resources/accounting/resources/accounting_periods/raw_client.py index 08e2b4e3..667b5c27 100644 --- a/src/merge/resources/accounting/resources/accounting_periods/raw_client.py +++ b/src/merge/resources/accounting/resources/accounting_periods/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.accounting_period import AccountingPeriod @@ -26,7 +27,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountingPeriodList]: + ) -> SyncPager[AccountingPeriod]: """ Returns a list of `AccountingPeriod` objects. @@ -45,14 +46,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedAccountingPeriodList] + SyncPager[AccountingPeriod] """ _response = self._client_wrapper.httpx_client.request( @@ -69,14 +70,27 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingPeriodList, construct_type( type_=PaginatedAccountingPeriodList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -149,7 +163,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountingPeriodList]: + ) -> AsyncPager[AccountingPeriod]: """ Returns a list of `AccountingPeriod` objects. @@ -168,14 +182,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedAccountingPeriodList] + AsyncPager[AccountingPeriod] """ _response = await self._client_wrapper.httpx_client.request( @@ -192,14 +206,30 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingPeriodList, construct_type( type_=PaginatedAccountingPeriodList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/accounts/client.py b/src/merge/resources/accounting/resources/accounts/client.py index e0354f59..05e8754c 100644 --- a/src/merge/resources/accounting/resources/accounts/client.py +++ b/src/merge/resources/accounting/resources/accounts/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account from ...types.account_request import AccountRequest from ...types.account_response import AccountResponse from ...types.meta_response import MetaResponse -from ...types.paginated_account_list import PaginatedAccountList from .raw_client import AsyncRawAccountsClient, RawAccountsClient from .types.accounts_list_request_classification import AccountsListRequestClassification from .types.accounts_list_request_remote_fields import AccountsListRequestRemoteFields @@ -46,7 +46,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -59,7 +61,7 @@ def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -83,7 +85,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -105,7 +107,7 @@ def list( If provided, will only return Accounts with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -124,7 +126,7 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account] Examples @@ -143,7 +145,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.accounts.list( + response = client.accounting.accounts.list( account_type="account_type", classification=AccountsListRequestClassification.EMPTY, company_id="company_id", @@ -170,8 +172,13 @@ def list( show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, status=AccountsListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_type=account_type, classification=classification, company_id=company_id, @@ -192,7 +199,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -247,7 +253,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -261,7 +269,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -367,7 +375,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -380,7 +390,7 @@ async def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -404,7 +414,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -426,7 +436,7 @@ async def list( If provided, will only return Accounts with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -445,7 +455,7 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account] Examples @@ -468,7 +478,7 @@ async def list( async def main() -> None: - await client.accounting.accounts.list( + response = await client.accounting.accounts.list( account_type="account_type", classification=AccountsListRequestClassification.EMPTY, company_id="company_id", @@ -495,11 +505,17 @@ async def main() -> None: show_enum_origins=AccountsListRequestShowEnumOrigins.CLASSIFICATION, status=AccountsListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_type=account_type, classification=classification, company_id=company_id, @@ -520,7 +536,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -583,7 +598,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -597,7 +614,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/accounts/raw_client.py b/src/merge/resources/accounting/resources/accounts/raw_client.py index a2b127ea..0bef1036 100644 --- a/src/merge/resources/accounting/resources/accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -40,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +56,7 @@ def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -77,7 +80,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -99,7 +102,7 @@ def list( If provided, will only return Accounts with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -118,7 +121,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account] """ _response = self._client_wrapper.httpx_client.request( @@ -148,14 +151,40 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_type=account_type, + classification=classification, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -225,7 +254,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -239,7 +270,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -339,7 +370,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -352,7 +385,7 @@ async def list( show_enum_origins: typing.Optional[AccountsListRequestShowEnumOrigins] = None, status: typing.Optional[AccountsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -376,7 +409,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -398,7 +431,7 @@ async def list( If provided, will only return Accounts with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[AccountsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -417,7 +450,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account] """ _response = await self._client_wrapper.httpx_client.request( @@ -447,14 +480,43 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_type=account_type, + classification=classification, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -524,7 +586,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[AccountsRetrieveRequestRemoteFields] = None, @@ -538,7 +602,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/attachments/client.py b/src/merge/resources/accounting/resources/attachments/client.py index 15c46c56..ff348030 100644 --- a/src/merge/resources/accounting/resources/attachments/client.py +++ b/src/merge/resources/accounting/resources/attachments/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.accounting_attachment import AccountingAttachment from ...types.accounting_attachment_request import AccountingAttachmentRequest from ...types.accounting_attachment_response import AccountingAttachmentResponse from ...types.meta_response import MetaResponse -from ...types.paginated_accounting_attachment_list import PaginatedAccountingAttachmentList from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient # this is used as the default value for optional parameters @@ -46,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingAttachmentList: + ) -> SyncPager[AccountingAttachment]: """ Returns a list of `AccountingAttachment` objects. @@ -80,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -90,7 +90,7 @@ def list( Returns ------- - PaginatedAccountingAttachmentList + SyncPager[AccountingAttachment] Examples @@ -103,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.attachments.list( + response = client.accounting.attachments.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -124,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -139,7 +144,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -299,7 +303,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountingAttachmentList: + ) -> AsyncPager[AccountingAttachment]: """ Returns a list of `AccountingAttachment` objects. @@ -333,7 +337,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -343,7 +347,7 @@ async def list( Returns ------- - PaginatedAccountingAttachmentList + AsyncPager[AccountingAttachment] Examples @@ -360,7 +364,7 @@ async def list( async def main() -> None: - await client.accounting.attachments.list( + response = await client.accounting.attachments.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -381,11 +385,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -399,7 +409,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, diff --git a/src/merge/resources/accounting/resources/attachments/raw_client.py b/src/merge/resources/accounting/resources/attachments/raw_client.py index cd3fc403..d48376e4 100644 --- a/src/merge/resources/accounting/resources/attachments/raw_client.py +++ b/src/merge/resources/accounting/resources/attachments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.accounting_attachment import AccountingAttachment @@ -40,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountingAttachmentList]: + ) -> SyncPager[AccountingAttachment]: """ Returns a list of `AccountingAttachment` objects. @@ -74,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -84,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountingAttachmentList] + SyncPager[AccountingAttachment] """ _response = self._client_wrapper.httpx_client.request( @@ -107,14 +108,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingAttachmentList, construct_type( type_=PaginatedAccountingAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -289,7 +309,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountingAttachmentList]: + ) -> AsyncPager[AccountingAttachment]: """ Returns a list of `AccountingAttachment` objects. @@ -323,7 +343,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -333,7 +353,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountingAttachmentList] + AsyncPager[AccountingAttachment] """ _response = await self._client_wrapper.httpx_client.request( @@ -356,14 +376,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountingAttachmentList, construct_type( type_=PaginatedAccountingAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/audit_trail/client.py b/src/merge/resources/accounting/resources/audit_trail/client.py index 71f803da..a159b9c0 100644 --- a/src/merge/resources/accounting/resources/audit_trail/client.py +++ b/src/merge/resources/accounting/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -49,7 +50,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.audit_trail.list( + response = client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -135,7 +140,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.accounting.audit_trail.list( + response = await client.accounting.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/audit_trail/raw_client.py b/src/merge/resources/accounting/resources/audit_trail/raw_client.py index 02021d7c..55a720ae 100644 --- a/src/merge/resources/accounting/resources/audit_trail/raw_client.py +++ b/src/merge/resources/accounting/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -116,7 +131,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/balance_sheets/client.py b/src/merge/resources/accounting/resources/balance_sheets/client.py index 61fbf4a3..1560dd2a 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.balance_sheet import BalanceSheet -from ...types.paginated_balance_sheet_list import PaginatedBalanceSheetList from .raw_client import AsyncRawBalanceSheetsClient, RawBalanceSheetsClient @@ -32,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBalanceSheetList: + ) -> SyncPager[BalanceSheet]: """ Returns a list of `BalanceSheet` objects. @@ -59,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedBalanceSheetList + SyncPager[BalanceSheet] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.balance_sheets.list( + response = client.accounting.balance_sheets.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -122,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -219,7 +227,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBalanceSheetList: + ) -> AsyncPager[BalanceSheet]: """ Returns a list of `BalanceSheet` objects. @@ -246,7 +256,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +275,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedBalanceSheetList + AsyncPager[BalanceSheet] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.accounting.balance_sheets.list( + response = await client.accounting.balance_sheets.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -313,11 +323,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/balance_sheets/raw_client.py b/src/merge/resources/accounting/resources/balance_sheets/raw_client.py index b634d8d5..03f96dc2 100644 --- a/src/merge/resources/accounting/resources/balance_sheets/raw_client.py +++ b/src/merge/resources/accounting/resources/balance_sheets/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.balance_sheet import BalanceSheet @@ -26,7 +27,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBalanceSheetList]: + ) -> SyncPager[BalanceSheet]: """ Returns a list of `BalanceSheet` objects. @@ -53,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedBalanceSheetList] + SyncPager[BalanceSheet] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBalanceSheetList, construct_type( type_=PaginatedBalanceSheetList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBalanceSheetList]: + ) -> AsyncPager[BalanceSheet]: """ Returns a list of `BalanceSheet` objects. @@ -216,7 +243,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBalanceSheetList] + AsyncPager[BalanceSheet] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBalanceSheetList, construct_type( type_=PaginatedBalanceSheetList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/bank_feed_accounts/client.py b/src/merge/resources/accounting/resources/bank_feed_accounts/client.py index 5fa70be3..386177d0 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/client.py @@ -3,12 +3,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_feed_account import BankFeedAccount from ...types.bank_feed_account_request import BankFeedAccountRequest from ...types.bank_feed_account_response import BankFeedAccountResponse from ...types.meta_response import MetaResponse -from ...types.paginated_bank_feed_account_list import PaginatedBankFeedAccountList from .raw_client import AsyncRawBankFeedAccountsClient, RawBankFeedAccountsClient # this is used as the default value for optional parameters @@ -39,7 +39,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedAccountList: + ) -> SyncPager[BankFeedAccount]: """ Returns a list of `BankFeedAccount` objects. @@ -58,14 +58,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedBankFeedAccountList + SyncPager[BankFeedAccount] Examples @@ -76,15 +76,20 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.bank_feed_accounts.list( + response = client.accounting.bank_feed_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -92,7 +97,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def create( self, @@ -246,7 +250,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedAccountList: + ) -> AsyncPager[BankFeedAccount]: """ Returns a list of `BankFeedAccount` objects. @@ -265,14 +269,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedBankFeedAccountList + AsyncPager[BankFeedAccount] Examples @@ -288,18 +292,24 @@ async def list( async def main() -> None: - await client.accounting.bank_feed_accounts.list( + response = await client.accounting.bank_feed_accounts.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -307,7 +317,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def create( self, diff --git a/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py b/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py index 38da42e1..29291eaf 100644 --- a/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/bank_feed_accounts/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_feed_account import BankFeedAccount @@ -32,7 +33,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankFeedAccountList]: + ) -> SyncPager[BankFeedAccount]: """ Returns a list of `BankFeedAccount` objects. @@ -51,14 +52,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedBankFeedAccountList] + SyncPager[BankFeedAccount] """ _response = self._client_wrapper.httpx_client.request( @@ -75,14 +76,27 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedAccountList, construct_type( type_=PaginatedBankFeedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -251,7 +265,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankFeedAccountList]: + ) -> AsyncPager[BankFeedAccount]: """ Returns a list of `BankFeedAccount` objects. @@ -270,14 +284,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedBankFeedAccountList] + AsyncPager[BankFeedAccount] """ _response = await self._client_wrapper.httpx_client.request( @@ -294,14 +308,30 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedAccountList, construct_type( type_=PaginatedBankFeedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/client.py b/src/merge/resources/accounting/resources/bank_feed_transactions/client.py index 479ad363..b967391b 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/client.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_feed_transaction import BankFeedTransaction from ...types.bank_feed_transaction_request_request import BankFeedTransactionRequestRequest from ...types.bank_feed_transaction_response import BankFeedTransactionResponse from ...types.meta_response import MetaResponse -from ...types.paginated_bank_feed_transaction_list import PaginatedBankFeedTransactionList from .raw_client import AsyncRawBankFeedTransactionsClient, RawBankFeedTransactionsClient # this is used as the default value for optional parameters @@ -37,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +49,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedTransactionList: + ) -> SyncPager[BankFeedTransaction]: """ Returns a list of `BankFeedTransaction` objects. @@ -62,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -94,7 +96,7 @@ def list( Returns ------- - PaginatedBankFeedTransactionList + SyncPager[BankFeedTransaction] Examples @@ -107,7 +109,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.bank_feed_transactions.list( + response = client.accounting.bank_feed_transactions.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -128,8 +130,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +151,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -199,7 +205,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +219,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -300,7 +308,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +320,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankFeedTransactionList: + ) -> AsyncPager[BankFeedTransaction]: """ Returns a list of `BankFeedTransaction` objects. @@ -325,7 +335,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -347,7 +357,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -357,7 +367,7 @@ async def list( Returns ------- - PaginatedBankFeedTransactionList + AsyncPager[BankFeedTransaction] Examples @@ -374,7 +384,7 @@ async def list( async def main() -> None: - await client.accounting.bank_feed_transactions.list( + response = await client.accounting.bank_feed_transactions.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -395,11 +405,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -414,7 +430,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -477,7 +492,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -489,7 +506,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py b/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py index f10236a8..825995f8 100644 --- a/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/bank_feed_transactions/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_feed_transaction import BankFeedTransaction @@ -31,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +44,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankFeedTransactionList]: + ) -> SyncPager[BankFeedTransaction]: """ Returns a list of `BankFeedTransaction` objects. @@ -56,7 +59,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +81,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedBankFeedTransactionList] + SyncPager[BankFeedTransaction] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +115,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedTransactionList, construct_type( type_=PaginatedBankFeedTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_processed=is_processed, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -189,7 +212,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -201,7 +226,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -290,7 +315,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -300,7 +327,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankFeedTransactionList]: + ) -> AsyncPager[BankFeedTransaction]: """ Returns a list of `BankFeedTransaction` objects. @@ -315,7 +342,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -337,7 +364,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -347,7 +374,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBankFeedTransactionList] + AsyncPager[BankFeedTransaction] """ _response = await self._client_wrapper.httpx_client.request( @@ -371,14 +398,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankFeedTransactionList, construct_type( type_=PaginatedBankFeedTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_processed=is_processed, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -448,7 +498,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["bank_feed_account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -460,7 +512,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["bank_feed_account"]] + expand : typing.Optional[typing.Union[typing.Literal["bank_feed_account"], typing.Sequence[typing.Literal["bank_feed_account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/client.py b/src/merge/resources/accounting/resources/cash_flow_statements/client.py index c9d0f6d1..4f3ed958 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/client.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.cash_flow_statement import CashFlowStatement -from ...types.paginated_cash_flow_statement_list import PaginatedCashFlowStatementList from .raw_client import AsyncRawCashFlowStatementsClient, RawCashFlowStatementsClient @@ -32,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCashFlowStatementList: + ) -> SyncPager[CashFlowStatement]: """ Returns a list of `CashFlowStatement` objects. @@ -59,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedCashFlowStatementList + SyncPager[CashFlowStatement] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.cash_flow_statements.list( + response = client.accounting.cash_flow_statements.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -122,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -219,7 +227,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCashFlowStatementList: + ) -> AsyncPager[CashFlowStatement]: """ Returns a list of `CashFlowStatement` objects. @@ -246,7 +256,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +275,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedCashFlowStatementList + AsyncPager[CashFlowStatement] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.accounting.cash_flow_statements.list( + response = await client.accounting.cash_flow_statements.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -313,11 +323,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py b/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py index e5a9c0b6..e9a775c3 100644 --- a/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py +++ b/src/merge/resources/accounting/resources/cash_flow_statements/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.cash_flow_statement import CashFlowStatement @@ -26,7 +27,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCashFlowStatementList]: + ) -> SyncPager[CashFlowStatement]: """ Returns a list of `CashFlowStatement` objects. @@ -53,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedCashFlowStatementList] + SyncPager[CashFlowStatement] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCashFlowStatementList, construct_type( type_=PaginatedCashFlowStatementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCashFlowStatementList]: + ) -> AsyncPager[CashFlowStatement]: """ Returns a list of `CashFlowStatement` objects. @@ -216,7 +243,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCashFlowStatementList] + AsyncPager[CashFlowStatement] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCashFlowStatementList, construct_type( type_=PaginatedCashFlowStatementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/company_info/__init__.py b/src/merge/resources/accounting/resources/company_info/__init__.py index 5c52d18a..fa192fe1 100644 --- a/src/merge/resources/accounting/resources/company_info/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CompanyInfoListRequestExpand, CompanyInfoRetrieveRequestExpand + from .types import CompanyInfoListRequestExpandItem, CompanyInfoRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CompanyInfoListRequestExpand": ".types", - "CompanyInfoRetrieveRequestExpand": ".types", + "CompanyInfoListRequestExpandItem": ".types", + "CompanyInfoRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CompanyInfoListRequestExpand", "CompanyInfoRetrieveRequestExpand"] +__all__ = ["CompanyInfoListRequestExpandItem", "CompanyInfoRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/company_info/client.py b/src/merge/resources/accounting/resources/company_info/client.py index bdf7dc90..1dbc2e76 100644 --- a/src/merge/resources/accounting/resources/company_info/client.py +++ b/src/merge/resources/accounting/resources/company_info/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.company_info import CompanyInfo -from ...types.paginated_company_info_list import PaginatedCompanyInfoList from .raw_client import AsyncRawCompanyInfoClient, RawCompanyInfoClient -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand -from .types.company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand +from .types.company_info_list_request_expand_item import CompanyInfoListRequestExpandItem +from .types.company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem class CompanyInfoClient: @@ -33,16 +33,19 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyInfoList: + ) -> SyncPager[CompanyInfo]: """ Returns a list of `CompanyInfo` objects. @@ -57,7 +60,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -75,8 +78,11 @@ def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return CompanyInfo objects with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -86,7 +92,7 @@ def list( Returns ------- - PaginatedCompanyInfoList + SyncPager[CompanyInfo] Examples @@ -94,15 +100,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.company_info.list( + response = client.accounting.company_info.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -110,7 +113,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -120,11 +122,17 @@ def list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -134,17 +142,19 @@ def list( include_shell_data=include_shell_data, modified_after=modified_after, modified_before=modified_before, + name=name, page_size=page_size, remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +166,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -176,9 +186,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -186,7 +193,6 @@ def retrieve( ) client.accounting.company_info.retrieve( id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, include_remote_data=True, include_shell_data=True, ) @@ -222,16 +228,19 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyInfoList: + ) -> AsyncPager[CompanyInfo]: """ Returns a list of `CompanyInfo` objects. @@ -246,7 +255,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -264,8 +273,11 @@ async def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return CompanyInfo objects with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +287,7 @@ async def list( Returns ------- - PaginatedCompanyInfoList + AsyncPager[CompanyInfo] Examples @@ -284,9 +296,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -295,7 +304,7 @@ async def list( async def main() -> None: - await client.accounting.company_info.list( + response = await client.accounting.company_info.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -303,7 +312,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CompanyInfoListRequestExpand.ADDRESSES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -313,14 +321,21 @@ async def main() -> None: modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -330,17 +345,19 @@ async def main() -> None: include_shell_data=include_shell_data, modified_after=modified_after, modified_before=modified_before, + name=name, page_size=page_size, remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -352,7 +369,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -374,9 +391,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.company_info import ( - CompanyInfoRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -387,7 +401,6 @@ async def retrieve( async def main() -> None: await client.accounting.company_info.retrieve( id="id", - expand=CompanyInfoRetrieveRequestExpand.ADDRESSES, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/company_info/raw_client.py b/src/merge/resources/accounting/resources/company_info/raw_client.py index 4b04df8c..3d187a87 100644 --- a/src/merge/resources/accounting/resources/company_info/raw_client.py +++ b/src/merge/resources/accounting/resources/company_info/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.company_info import CompanyInfo from ...types.paginated_company_info_list import PaginatedCompanyInfoList -from .types.company_info_list_request_expand import CompanyInfoListRequestExpand -from .types.company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand +from .types.company_info_list_request_expand_item import CompanyInfoListRequestExpandItem +from .types.company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem class RawCompanyInfoClient: @@ -27,16 +28,19 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCompanyInfoList]: + ) -> SyncPager[CompanyInfo]: """ Returns a list of `CompanyInfo` objects. @@ -51,7 +55,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -69,8 +73,11 @@ def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return CompanyInfo objects with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedCompanyInfoList] + SyncPager[CompanyInfo] """ _response = self._client_wrapper.httpx_client.request( @@ -96,6 +103,7 @@ def list( "include_shell_data": include_shell_data, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, "page_size": page_size, "remote_id": remote_id, }, @@ -103,14 +111,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyInfoList, construct_type( type_=PaginatedCompanyInfoList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -120,7 +148,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -132,7 +162,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -185,16 +215,19 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CompanyInfoListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCompanyInfoList]: + ) -> AsyncPager[CompanyInfo]: """ Returns a list of `CompanyInfo` objects. @@ -209,7 +242,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CompanyInfoListRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoListRequestExpandItem, typing.Sequence[CompanyInfoListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -227,8 +260,11 @@ async def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return CompanyInfo objects with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -238,7 +274,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCompanyInfoList] + AsyncPager[CompanyInfo] """ _response = await self._client_wrapper.httpx_client.request( @@ -254,6 +290,7 @@ async def list( "include_shell_data": include_shell_data, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, "page_size": page_size, "remote_id": remote_id, }, @@ -261,14 +298,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyInfoList, construct_type( type_=PaginatedCompanyInfoList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -278,7 +338,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CompanyInfoRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -290,7 +352,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CompanyInfoRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CompanyInfoRetrieveRequestExpandItem, typing.Sequence[CompanyInfoRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/company_info/types/__init__.py b/src/merge/resources/accounting/resources/company_info/types/__init__.py index 838814e1..44e92ab2 100644 --- a/src/merge/resources/accounting/resources/company_info/types/__init__.py +++ b/src/merge/resources/accounting/resources/company_info/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .company_info_list_request_expand import CompanyInfoListRequestExpand - from .company_info_retrieve_request_expand import CompanyInfoRetrieveRequestExpand + from .company_info_list_request_expand_item import CompanyInfoListRequestExpandItem + from .company_info_retrieve_request_expand_item import CompanyInfoRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CompanyInfoListRequestExpand": ".company_info_list_request_expand", - "CompanyInfoRetrieveRequestExpand": ".company_info_retrieve_request_expand", + "CompanyInfoListRequestExpandItem": ".company_info_list_request_expand_item", + "CompanyInfoRetrieveRequestExpandItem": ".company_info_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CompanyInfoListRequestExpand", "CompanyInfoRetrieveRequestExpand"] +__all__ = ["CompanyInfoListRequestExpandItem", "CompanyInfoRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py b/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py new file mode 100644 index 00000000..fcd4b70b --- /dev/null +++ b/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CompanyInfoListRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + PHONE_NUMBERS = "phone_numbers" + + def visit(self, addresses: typing.Callable[[], T_Result], phone_numbers: typing.Callable[[], T_Result]) -> T_Result: + if self is CompanyInfoListRequestExpandItem.ADDRESSES: + return addresses() + if self is CompanyInfoListRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py deleted file mode 100644 index 07a88c17..00000000 --- a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CompanyInfoRetrieveRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - PHONE_NUMBERS = "phone_numbers" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CompanyInfoRetrieveRequestExpand.ADDRESSES: - return addresses() - if self is CompanyInfoRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is CompanyInfoRetrieveRequestExpand.PHONE_NUMBERS: - return phone_numbers() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py new file mode 100644 index 00000000..8ba3d646 --- /dev/null +++ b/src/merge/resources/accounting/resources/company_info/types/company_info_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CompanyInfoRetrieveRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + PHONE_NUMBERS = "phone_numbers" + + def visit(self, addresses: typing.Callable[[], T_Result], phone_numbers: typing.Callable[[], T_Result]) -> T_Result: + if self is CompanyInfoRetrieveRequestExpandItem.ADDRESSES: + return addresses() + if self is CompanyInfoRetrieveRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/contacts/__init__.py b/src/merge/resources/accounting/resources/contacts/__init__.py index 192f6977..525a6174 100644 --- a/src/merge/resources/accounting/resources/contacts/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ContactsListRequestExpand, ContactsListRequestStatus, ContactsRetrieveRequestExpand + from .types import ContactsListRequestExpandItem, ContactsListRequestStatus, ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".types", + "ContactsListRequestExpandItem": ".types", "ContactsListRequestStatus": ".types", - "ContactsRetrieveRequestExpand": ".types", + "ContactsRetrieveRequestExpandItem": ".types", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsListRequestStatus", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsListRequestStatus", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/contacts/client.py b/src/merge/resources/accounting/resources/contacts/client.py index b0c75ce4..68ab58db 100644 --- a/src/merge/resources/accounting/resources/contacts/client.py +++ b/src/merge/resources/accounting/resources/contacts/client.py @@ -4,18 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest from ...types.contact_response import ContactResponse from ...types.meta_response import MetaResponse -from ...types.paginated_contact_list import PaginatedContactList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawContactsClient, RawContactsClient -from .types.contacts_list_request_expand import ContactsListRequestExpand +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem from .types.contacts_list_request_status import ContactsListRequestStatus -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +44,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -60,7 +62,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -81,7 +83,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -112,7 +114,7 @@ def list( If provided, will only return Contacts that match this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -131,7 +133,7 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact] Examples @@ -140,7 +142,6 @@ def list( from merge import Merge from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, ContactsListRequestStatus, ) @@ -148,7 +149,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.contacts.list( + response = client.accounting.contacts.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -158,7 +159,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -176,8 +176,13 @@ def list( remote_id="remote_id", status=ContactsListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -200,7 +205,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -255,7 +259,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -270,7 +276,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -299,9 +305,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,7 +312,6 @@ def retrieve( ) client.accounting.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -449,7 +451,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -474,14 +476,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -492,7 +494,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.contacts.remote_field_classes_list( + response = client.accounting.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -501,8 +503,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -512,7 +519,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncContactsClient: @@ -538,7 +544,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -554,7 +562,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -575,7 +583,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -606,7 +614,7 @@ async def list( If provided, will only return Contacts that match this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -625,7 +633,7 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact] Examples @@ -635,7 +643,6 @@ async def list( from merge import AsyncMerge from merge.resources.accounting.resources.contacts import ( - ContactsListRequestExpand, ContactsListRequestStatus, ) @@ -646,7 +653,7 @@ async def list( async def main() -> None: - await client.accounting.contacts.list( + response = await client.accounting.contacts.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -656,7 +663,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_address="email_address", - expand=ContactsListRequestExpand.ADDRESSES, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -674,11 +680,17 @@ async def main() -> None: remote_id="remote_id", status=ContactsListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -701,7 +713,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -764,7 +775,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -779,7 +792,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -810,9 +823,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.contacts import ( - ContactsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -823,7 +833,6 @@ async def retrieve( async def main() -> None: await client.accounting.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ADDRESSES, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -992,7 +1001,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1017,14 +1026,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1040,7 +1049,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.contacts.remote_field_classes_list( + response = await client.accounting.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -1049,11 +1058,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1063,4 +1078,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/contacts/raw_client.py b/src/merge/resources/accounting/resources/contacts/raw_client.py index e27d1a5b..ca1d4aa4 100644 --- a/src/merge/resources/accounting/resources/contacts/raw_client.py +++ b/src/merge/resources/accounting/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -18,9 +19,10 @@ from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest -from .types.contacts_list_request_expand import ContactsListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem from .types.contacts_list_request_status import ContactsListRequestStatus -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -54,7 +58,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -75,7 +79,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -106,7 +110,7 @@ def list( If provided, will only return Contacts that match this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -125,7 +129,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact] """ _response = self._client_wrapper.httpx_client.request( @@ -157,14 +161,42 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_customer=is_customer, + is_supplier=is_supplier, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -234,7 +266,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -249,7 +283,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -451,7 +485,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -476,14 +510,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -502,14 +536,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -528,7 +577,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -544,7 +595,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[ContactsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -565,7 +616,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -596,7 +647,7 @@ async def list( If provided, will only return Contacts that match this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -615,7 +666,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact] """ _response = await self._client_wrapper.httpx_client.request( @@ -647,14 +698,45 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_customer=is_customer, + is_supplier=is_supplier, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -724,7 +806,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -739,7 +823,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -941,7 +1025,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -966,14 +1050,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -992,14 +1076,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/contacts/types/__init__.py b/src/merge/resources/accounting/resources/contacts/types/__init__.py index adab250c..0a474087 100644 --- a/src/merge/resources/accounting/resources/contacts/types/__init__.py +++ b/src/merge/resources/accounting/resources/contacts/types/__init__.py @@ -6,13 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .contacts_list_request_expand import ContactsListRequestExpand + from .contacts_list_request_expand_item import ContactsListRequestExpandItem from .contacts_list_request_status import ContactsListRequestStatus - from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand + from .contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".contacts_list_request_expand", + "ContactsListRequestExpandItem": ".contacts_list_request_expand_item", "ContactsListRequestStatus": ".contacts_list_request_status", - "ContactsRetrieveRequestExpand": ".contacts_retrieve_request_expand", + "ContactsRetrieveRequestExpandItem": ".contacts_retrieve_request_expand_item", } @@ -35,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsListRequestStatus", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsListRequestStatus", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py deleted file mode 100644 index 3d54ecdf..00000000 --- a/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsListRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_COMPANY = "addresses,company" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - ADDRESSES_PHONE_NUMBERS_COMPANY = "addresses,phone_numbers,company" - COMPANY = "company" - PHONE_NUMBERS = "phone_numbers" - PHONE_NUMBERS_COMPANY = "phone_numbers,company" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_company: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - addresses_phone_numbers_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - phone_numbers_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsListRequestExpand.ADDRESSES: - return addresses() - if self is ContactsListRequestExpand.ADDRESSES_COMPANY: - return addresses_company() - if self is ContactsListRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is ContactsListRequestExpand.ADDRESSES_PHONE_NUMBERS_COMPANY: - return addresses_phone_numbers_company() - if self is ContactsListRequestExpand.COMPANY: - return company() - if self is ContactsListRequestExpand.PHONE_NUMBERS: - return phone_numbers() - if self is ContactsListRequestExpand.PHONE_NUMBERS_COMPANY: - return phone_numbers_company() diff --git a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py similarity index 50% rename from src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py rename to src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py index 302a55cf..ae437e08 100644 --- a/src/merge/resources/accounting/resources/company_info/types/company_info_list_request_expand.py +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_list_request_expand_item.py @@ -6,20 +6,20 @@ T_Result = typing.TypeVar("T_Result") -class CompanyInfoListRequestExpand(str, enum.Enum): +class ContactsListRequestExpandItem(str, enum.Enum): ADDRESSES = "addresses" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" + COMPANY = "company" PHONE_NUMBERS = "phone_numbers" def visit( self, addresses: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], phone_numbers: typing.Callable[[], T_Result], ) -> T_Result: - if self is CompanyInfoListRequestExpand.ADDRESSES: + if self is ContactsListRequestExpandItem.ADDRESSES: return addresses() - if self is CompanyInfoListRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is CompanyInfoListRequestExpand.PHONE_NUMBERS: + if self is ContactsListRequestExpandItem.COMPANY: + return company() + if self is ContactsListRequestExpandItem.PHONE_NUMBERS: return phone_numbers() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py deleted file mode 100644 index 5725a706..00000000 --- a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContactsRetrieveRequestExpand(str, enum.Enum): - ADDRESSES = "addresses" - ADDRESSES_COMPANY = "addresses,company" - ADDRESSES_PHONE_NUMBERS = "addresses,phone_numbers" - ADDRESSES_PHONE_NUMBERS_COMPANY = "addresses,phone_numbers,company" - COMPANY = "company" - PHONE_NUMBERS = "phone_numbers" - PHONE_NUMBERS_COMPANY = "phone_numbers,company" - - def visit( - self, - addresses: typing.Callable[[], T_Result], - addresses_company: typing.Callable[[], T_Result], - addresses_phone_numbers: typing.Callable[[], T_Result], - addresses_phone_numbers_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - phone_numbers: typing.Callable[[], T_Result], - phone_numbers_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContactsRetrieveRequestExpand.ADDRESSES: - return addresses() - if self is ContactsRetrieveRequestExpand.ADDRESSES_COMPANY: - return addresses_company() - if self is ContactsRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS: - return addresses_phone_numbers() - if self is ContactsRetrieveRequestExpand.ADDRESSES_PHONE_NUMBERS_COMPANY: - return addresses_phone_numbers_company() - if self is ContactsRetrieveRequestExpand.COMPANY: - return company() - if self is ContactsRetrieveRequestExpand.PHONE_NUMBERS: - return phone_numbers() - if self is ContactsRetrieveRequestExpand.PHONE_NUMBERS_COMPANY: - return phone_numbers_company() diff --git a/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py new file mode 100644 index 00000000..f3879789 --- /dev/null +++ b/src/merge/resources/accounting/resources/contacts/types/contacts_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestExpandItem(str, enum.Enum): + ADDRESSES = "addresses" + COMPANY = "company" + PHONE_NUMBERS = "phone_numbers" + + def visit( + self, + addresses: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + phone_numbers: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ContactsRetrieveRequestExpandItem.ADDRESSES: + return addresses() + if self is ContactsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ContactsRetrieveRequestExpandItem.PHONE_NUMBERS: + return phone_numbers() diff --git a/src/merge/resources/accounting/resources/credit_notes/__init__.py b/src/merge/resources/accounting/resources/credit_notes/__init__.py index 09968bb0..138950fc 100644 --- a/src/merge/resources/accounting/resources/credit_notes/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/__init__.py @@ -7,18 +7,18 @@ if typing.TYPE_CHECKING: from .types import ( - CreditNotesListRequestExpand, + CreditNotesListRequestExpandItem, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, - CreditNotesRetrieveRequestExpand, + CreditNotesRetrieveRequestExpandItem, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "CreditNotesListRequestExpand": ".types", + "CreditNotesListRequestExpandItem": ".types", "CreditNotesListRequestRemoteFields": ".types", "CreditNotesListRequestShowEnumOrigins": ".types", - "CreditNotesRetrieveRequestExpand": ".types", + "CreditNotesRetrieveRequestExpandItem": ".types", "CreditNotesRetrieveRequestRemoteFields": ".types", "CreditNotesRetrieveRequestShowEnumOrigins": ".types", } @@ -44,10 +44,10 @@ def __dir__(): __all__ = [ - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/credit_notes/client.py b/src/merge/resources/accounting/resources/credit_notes/client.py index b31fb459..117d3749 100644 --- a/src/merge/resources/accounting/resources/credit_notes/client.py +++ b/src/merge/resources/accounting/resources/credit_notes/client.py @@ -4,17 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.credit_note import CreditNote from ...types.credit_note_request import CreditNoteRequest from ...types.credit_note_response import CreditNoteResponse from ...types.meta_response import MetaResponse -from ...types.paginated_credit_note_list import PaginatedCreditNoteList from .raw_client import AsyncRawCreditNotesClient, RawCreditNotesClient -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand +from .types.credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins -from .types.credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand +from .types.credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .types.credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins @@ -44,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -57,7 +59,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCreditNoteList: + ) -> SyncPager[CreditNote]: """ Returns a list of `CreditNote` objects. @@ -75,7 +77,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +96,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[CreditNotesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -116,7 +118,7 @@ def list( Returns ------- - PaginatedCreditNoteList + SyncPager[CreditNote] Examples @@ -125,7 +127,6 @@ def list( from merge import Merge from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, ) @@ -134,7 +135,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.credit_notes.list( + response = client.accounting.credit_notes.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -143,7 +144,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -164,8 +164,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -184,7 +189,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -239,7 +243,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -253,7 +259,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -280,7 +286,6 @@ def retrieve( -------- from merge import Merge from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) @@ -291,7 +296,6 @@ def retrieve( ) client.accounting.credit_notes.retrieve( id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, @@ -309,6 +313,162 @@ def retrieve( ) return _response.data + def partial_update( + self, + id: str, + *, + model: CreditNoteRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreditNoteResponse: + """ + Updates a `CreditNote` object with the given `id`. + + Parameters + ---------- + id : str + + model : CreditNoteRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreditNoteResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import CreditNoteRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.credit_notes.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=CreditNoteRequest(), + ) + """ + _response = self._raw_client.partial_update( + id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreditNoteResponse: + """ + Creates a new CreditNoteApplyLine to apply a credit note to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the credit note is applied to the invoice. + + applied_amount : str + The amount of credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the credit note to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreditNoteResponse + + + Examples + -------- + import datetime + + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.credit_notes.application_create( + id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + applied_amount="applied_amount", + ) + """ + _response = self._raw_client.application_create( + id, + applied_date=applied_date, + applied_amount=applied_amount, + is_debug_mode=is_debug_mode, + run_async=run_async, + invoice=invoice, + request_options=request_options, + ) + return _response.data + + def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `CreditNote` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.credit_notes.meta_patch_retrieve( + id="id", + ) + """ + _response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) + return _response.data + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `CreditNote` POSTs. @@ -359,7 +519,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -372,7 +534,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCreditNoteList: + ) -> AsyncPager[CreditNote]: """ Returns a list of `CreditNote` objects. @@ -390,7 +552,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -409,7 +571,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[CreditNotesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -431,7 +593,7 @@ async def list( Returns ------- - PaginatedCreditNoteList + AsyncPager[CreditNote] Examples @@ -441,7 +603,6 @@ async def list( from merge import AsyncMerge from merge.resources.accounting.resources.credit_notes import ( - CreditNotesListRequestExpand, CreditNotesListRequestRemoteFields, CreditNotesListRequestShowEnumOrigins, ) @@ -453,7 +614,7 @@ async def list( async def main() -> None: - await client.accounting.credit_notes.list( + response = await client.accounting.credit_notes.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -462,7 +623,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CreditNotesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -483,11 +643,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -506,7 +672,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -569,7 +734,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -583,7 +750,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -612,7 +779,6 @@ async def retrieve( from merge import AsyncMerge from merge.resources.accounting.resources.credit_notes import ( - CreditNotesRetrieveRequestExpand, CreditNotesRetrieveRequestRemoteFields, CreditNotesRetrieveRequestShowEnumOrigins, ) @@ -626,7 +792,6 @@ async def retrieve( async def main() -> None: await client.accounting.credit_notes.retrieve( id="id", - expand=CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, remote_fields=CreditNotesRetrieveRequestRemoteFields.STATUS, @@ -647,6 +812,187 @@ async def main() -> None: ) return _response.data + async def partial_update( + self, + id: str, + *, + model: CreditNoteRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreditNoteResponse: + """ + Updates a `CreditNote` object with the given `id`. + + Parameters + ---------- + id : str + + model : CreditNoteRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreditNoteResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import CreditNoteRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.credit_notes.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=CreditNoteRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.partial_update( + id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> CreditNoteResponse: + """ + Creates a new CreditNoteApplyLine to apply a credit note to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the credit note is applied to the invoice. + + applied_amount : str + The amount of credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the credit note to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + CreditNoteResponse + + + Examples + -------- + import asyncio + import datetime + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.credit_notes.application_create( + id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + applied_amount="applied_amount", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.application_create( + id, + applied_date=applied_date, + applied_amount=applied_amount, + is_debug_mode=is_debug_mode, + run_async=run_async, + invoice=invoice, + request_options=request_options, + ) + return _response.data + + async def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> MetaResponse: + """ + Returns metadata for `CreditNote` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.credit_notes.meta_patch_retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) + return _response.data + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `CreditNote` POSTs. diff --git a/src/merge/resources/accounting/resources/credit_notes/raw_client.py b/src/merge/resources/accounting/resources/credit_notes/raw_client.py index b92c04cb..b23b4e56 100644 --- a/src/merge/resources/accounting/resources/credit_notes/raw_client.py +++ b/src/merge/resources/accounting/resources/credit_notes/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.credit_note import CreditNote @@ -16,10 +17,10 @@ from ...types.credit_note_response import CreditNoteResponse from ...types.meta_response import MetaResponse from ...types.paginated_credit_note_list import PaginatedCreditNoteList -from .types.credit_notes_list_request_expand import CreditNotesListRequestExpand +from .types.credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .types.credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .types.credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins -from .types.credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand +from .types.credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .types.credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .types.credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins @@ -38,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCreditNoteList]: + ) -> SyncPager[CreditNote]: """ Returns a list of `CreditNote` objects. @@ -69,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +91,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[CreditNotesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -110,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedCreditNoteList] + SyncPager[CreditNote] """ _response = self._client_wrapper.httpx_client.request( @@ -142,14 +145,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCreditNoteList, construct_type( type_=PaginatedCreditNoteList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -219,7 +246,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -233,7 +262,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -283,6 +312,181 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def partial_update( + self, + id: str, + *, + model: CreditNoteRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreditNoteResponse]: + """ + Updates a `CreditNote` object with the given `id`. + + Parameters + ---------- + id : str + + model : CreditNoteRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreditNoteResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/{jsonable_encoder(id)}", + method="PATCH", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreditNoteResponse, + construct_type( + type_=CreditNoteResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[CreditNoteResponse]: + """ + Creates a new CreditNoteApplyLine to apply a credit note to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the credit note is applied to the invoice. + + applied_amount : str + The amount of credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the credit note to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[CreditNoteResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/{jsonable_encoder(id)}/application", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "invoice": invoice, + "applied_date": applied_date, + "applied_amount": applied_amount, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreditNoteResponse, + construct_type( + type_=CreditNoteResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `CreditNote` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/meta/patch/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[MetaResponse]: @@ -331,7 +535,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CreditNotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -344,7 +550,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCreditNoteList]: + ) -> AsyncPager[CreditNote]: """ Returns a list of `CreditNote` objects. @@ -362,7 +568,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CreditNotesListRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesListRequestExpandItem, typing.Sequence[CreditNotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -381,7 +587,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[CreditNotesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -403,7 +609,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCreditNoteList] + AsyncPager[CreditNote] """ _response = await self._client_wrapper.httpx_client.request( @@ -435,14 +641,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCreditNoteList, construct_type( type_=PaginatedCreditNoteList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -512,7 +745,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CreditNotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[CreditNotesRetrieveRequestRemoteFields] = None, @@ -526,7 +761,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CreditNotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CreditNotesRetrieveRequestExpandItem, typing.Sequence[CreditNotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -576,6 +811,181 @@ async def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def partial_update( + self, + id: str, + *, + model: CreditNoteRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreditNoteResponse]: + """ + Updates a `CreditNote` object with the given `id`. + + Parameters + ---------- + id : str + + model : CreditNoteRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreditNoteResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/{jsonable_encoder(id)}", + method="PATCH", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreditNoteResponse, + construct_type( + type_=CreditNoteResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[CreditNoteResponse]: + """ + Creates a new CreditNoteApplyLine to apply a credit note to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the credit note is applied to the invoice. + + applied_amount : str + The amount of credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the credit note to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[CreditNoteResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/{jsonable_encoder(id)}/application", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "invoice": invoice, + "applied_date": applied_date, + "applied_amount": applied_amount, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + CreditNoteResponse, + construct_type( + type_=CreditNoteResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `CreditNote` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/credit-notes/meta/patch/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[MetaResponse]: diff --git a/src/merge/resources/accounting/resources/credit_notes/types/__init__.py b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py index 41c0ba74..5072c1cc 100644 --- a/src/merge/resources/accounting/resources/credit_notes/types/__init__.py +++ b/src/merge/resources/accounting/resources/credit_notes/types/__init__.py @@ -6,17 +6,17 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .credit_notes_list_request_expand import CreditNotesListRequestExpand + from .credit_notes_list_request_expand_item import CreditNotesListRequestExpandItem from .credit_notes_list_request_remote_fields import CreditNotesListRequestRemoteFields from .credit_notes_list_request_show_enum_origins import CreditNotesListRequestShowEnumOrigins - from .credit_notes_retrieve_request_expand import CreditNotesRetrieveRequestExpand + from .credit_notes_retrieve_request_expand_item import CreditNotesRetrieveRequestExpandItem from .credit_notes_retrieve_request_remote_fields import CreditNotesRetrieveRequestRemoteFields from .credit_notes_retrieve_request_show_enum_origins import CreditNotesRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "CreditNotesListRequestExpand": ".credit_notes_list_request_expand", + "CreditNotesListRequestExpandItem": ".credit_notes_list_request_expand_item", "CreditNotesListRequestRemoteFields": ".credit_notes_list_request_remote_fields", "CreditNotesListRequestShowEnumOrigins": ".credit_notes_list_request_show_enum_origins", - "CreditNotesRetrieveRequestExpand": ".credit_notes_retrieve_request_expand", + "CreditNotesRetrieveRequestExpandItem": ".credit_notes_retrieve_request_expand_item", "CreditNotesRetrieveRequestRemoteFields": ".credit_notes_retrieve_request_remote_fields", "CreditNotesRetrieveRequestShowEnumOrigins": ".credit_notes_retrieve_request_show_enum_origins", } @@ -42,10 +42,10 @@ def __dir__(): __all__ = [ - "CreditNotesListRequestExpand", + "CreditNotesListRequestExpandItem", "CreditNotesListRequestRemoteFields", "CreditNotesListRequestShowEnumOrigins", - "CreditNotesRetrieveRequestExpand", + "CreditNotesRetrieveRequestExpandItem", "CreditNotesRetrieveRequestRemoteFields", "CreditNotesRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py deleted file mode 100644 index 9f3c85db..00000000 --- a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand.py +++ /dev/null @@ -1,627 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CreditNotesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CreditNotesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.COMPANY: - return company() - if self is CreditNotesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is CreditNotesListRequestExpand.CONTACT: - return contact() - if self is CreditNotesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is CreditNotesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is CreditNotesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS: - return line_items() - if self is CreditNotesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS: - return payments() - if self is CreditNotesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is CreditNotesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is CreditNotesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py new file mode 100644 index 00000000..74046e9b --- /dev/null +++ b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CreditNotesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CreditNotesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is CreditNotesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is CreditNotesListRequestExpandItem.COMPANY: + return company() + if self is CreditNotesListRequestExpandItem.CONTACT: + return contact() + if self is CreditNotesListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is CreditNotesListRequestExpandItem.PAYMENTS: + return payments() + if self is CreditNotesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py deleted file mode 100644 index 60a5d54c..00000000 --- a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand.py +++ /dev/null @@ -1,639 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CreditNotesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CreditNotesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.COMPANY: - return company() - if self is CreditNotesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.CONTACT: - return contact() - if self is CreditNotesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is CreditNotesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is CreditNotesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is CreditNotesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py new file mode 100644 index 00000000..b55f5a26 --- /dev/null +++ b/src/merge/resources/accounting/resources/credit_notes/types/credit_notes_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CreditNotesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CreditNotesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is CreditNotesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is CreditNotesRetrieveRequestExpandItem.COMPANY: + return company() + if self is CreditNotesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is CreditNotesRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is CreditNotesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is CreditNotesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/employees/client.py b/src/merge/resources/accounting/resources/employees/client.py index 113421fc..8413b76e 100644 --- a/src/merge/resources/accounting/resources/employees/client.py +++ b/src/merge/resources/accounting/resources/employees/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee import Employee -from ...types.paginated_employee_list import PaginatedEmployeeList from .raw_client import AsyncRawEmployeesClient, RawEmployeesClient @@ -32,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> SyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -59,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedEmployeeList + SyncPager[Employee] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.employees.list( + response = client.accounting.employees.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -122,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -219,7 +227,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> AsyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -246,7 +256,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +275,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedEmployeeList + AsyncPager[Employee] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.accounting.employees.list( + response = await client.accounting.employees.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -313,11 +323,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/employees/raw_client.py b/src/merge/resources/accounting/resources/employees/raw_client.py index 65ffab63..8181de5e 100644 --- a/src/merge/resources/accounting/resources/employees/raw_client.py +++ b/src/merge/resources/accounting/resources/employees/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee import Employee @@ -26,7 +27,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeeList]: + ) -> SyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -53,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployeeList] + SyncPager[Employee] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeeList]: + ) -> AsyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -216,7 +243,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployeeList] + AsyncPager[Employee] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/expense_reports/__init__.py b/src/merge/resources/accounting/resources/expense_reports/__init__.py index 30f8419e..c7de6440 100644 --- a/src/merge/resources/accounting/resources/expense_reports/__init__.py +++ b/src/merge/resources/accounting/resources/expense_reports/__init__.py @@ -7,14 +7,14 @@ if typing.TYPE_CHECKING: from .types import ( - ExpenseReportsLinesListRequestExpand, - ExpenseReportsListRequestExpand, - ExpenseReportsRetrieveRequestExpand, + ExpenseReportsLinesListRequestExpandItem, + ExpenseReportsListRequestExpandItem, + ExpenseReportsRetrieveRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "ExpenseReportsLinesListRequestExpand": ".types", - "ExpenseReportsListRequestExpand": ".types", - "ExpenseReportsRetrieveRequestExpand": ".types", + "ExpenseReportsLinesListRequestExpandItem": ".types", + "ExpenseReportsListRequestExpandItem": ".types", + "ExpenseReportsRetrieveRequestExpandItem": ".types", } @@ -38,7 +38,7 @@ def __dir__(): __all__ = [ - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", + "ExpenseReportsLinesListRequestExpandItem", + "ExpenseReportsListRequestExpandItem", + "ExpenseReportsRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/accounting/resources/expense_reports/client.py b/src/merge/resources/accounting/resources/expense_reports/client.py index 5f440172..7a03a275 100644 --- a/src/merge/resources/accounting/resources/expense_reports/client.py +++ b/src/merge/resources/accounting/resources/expense_reports/client.py @@ -4,18 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.expense_report import ExpenseReport +from ...types.expense_report_line import ExpenseReportLine from ...types.expense_report_request import ExpenseReportRequest from ...types.expense_report_response import ExpenseReportResponse from ...types.meta_response import MetaResponse -from ...types.paginated_expense_report_line_list import PaginatedExpenseReportLineList -from ...types.paginated_expense_report_list import PaginatedExpenseReportList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawExpenseReportsClient, RawExpenseReportsClient -from .types.expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand -from .types.expense_reports_list_request_expand import ExpenseReportsListRequestExpand -from .types.expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand +from .types.expense_reports_lines_list_request_expand_item import ExpenseReportsLinesListRequestExpandItem +from .types.expense_reports_list_request_expand_item import ExpenseReportsListRequestExpandItem +from .types.expense_reports_retrieve_request_expand_item import ExpenseReportsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -43,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +55,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportList: + ) -> SyncPager[ExpenseReport]: """ Returns a list of `ExpenseReport` objects. @@ -71,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,7 +95,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -103,7 +105,7 @@ def list( Returns ------- - PaginatedExpenseReportList + SyncPager[ExpenseReport] Examples @@ -111,15 +113,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expense_reports.list( + response = client.accounting.expense_reports.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -128,7 +127,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -142,8 +140,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -159,7 +162,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -220,14 +222,18 @@ def lines_list( expense_report_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportLineList: + ) -> SyncPager[ExpenseReportLine]: """ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. @@ -238,7 +244,7 @@ def lines_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -254,39 +260,40 @@ def lines_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedExpenseReportLineList + SyncPager[ExpenseReportLine] Examples -------- from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expense_reports.lines_list( + response = client.accounting.expense_reports.lines_list( expense_report_id="expense_report_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_list( + return self._raw_client.lines_list( expense_report_id, cursor=cursor, expand=expand, @@ -297,13 +304,16 @@ def lines_list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -316,7 +326,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -339,9 +349,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -349,7 +356,6 @@ def retrieve( ) client.accounting.expense_reports.retrieve( id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -376,7 +382,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -401,14 +407,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -419,7 +425,7 @@ def lines_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expense_reports.lines_remote_field_classes_list( + response = client.accounting.expense_reports.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -428,8 +434,13 @@ def lines_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_remote_field_classes_list( + return self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -439,7 +450,6 @@ def lines_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -479,7 +489,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -504,14 +514,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -522,7 +532,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expense_reports.remote_field_classes_list( + response = client.accounting.expense_reports.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -531,8 +541,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -542,7 +557,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncExpenseReportsClient: @@ -567,7 +581,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -577,7 +593,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportList: + ) -> AsyncPager[ExpenseReport]: """ Returns a list of `ExpenseReport` objects. @@ -595,7 +611,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -617,7 +633,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -627,7 +643,7 @@ async def list( Returns ------- - PaginatedExpenseReportList + AsyncPager[ExpenseReport] Examples @@ -636,9 +652,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -647,7 +660,7 @@ async def list( async def main() -> None: - await client.accounting.expense_reports.list( + response = await client.accounting.expense_reports.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -656,7 +669,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -670,11 +682,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -690,7 +708,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -759,14 +776,18 @@ async def lines_list( expense_report_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseReportLineList: + ) -> AsyncPager[ExpenseReportLine]: """ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. @@ -777,7 +798,7 @@ async def lines_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -793,14 +814,14 @@ async def lines_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedExpenseReportLineList + AsyncPager[ExpenseReportLine] Examples @@ -808,9 +829,6 @@ async def lines_list( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsLinesListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -819,21 +837,26 @@ async def lines_list( async def main() -> None: - await client.accounting.expense_reports.lines_list( + response = await client.accounting.expense_reports.lines_list( expense_report_id="expense_report_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpenseReportsLinesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_list( + return await self._raw_client.lines_list( expense_report_id, cursor=cursor, expand=expand, @@ -844,13 +867,16 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -863,7 +889,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -888,9 +914,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.expense_reports import ( - ExpenseReportsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -901,7 +924,6 @@ async def retrieve( async def main() -> None: await client.accounting.expense_reports.retrieve( id="id", - expand=ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -931,7 +953,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -956,14 +978,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -979,20 +1001,28 @@ async def lines_remote_field_classes_list( async def main() -> None: - await client.accounting.expense_reports.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.expense_reports.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_remote_field_classes_list( + return await self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1002,7 +1032,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -1050,7 +1079,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1075,14 +1104,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1098,20 +1127,28 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.expense_reports.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.expense_reports.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1121,4 +1158,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/expense_reports/raw_client.py b/src/merge/resources/accounting/resources/expense_reports/raw_client.py index 58bfec92..3c3b5ef8 100644 --- a/src/merge/resources/accounting/resources/expense_reports/raw_client.py +++ b/src/merge/resources/accounting/resources/expense_reports/raw_client.py @@ -9,18 +9,21 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.expense_report import ExpenseReport +from ...types.expense_report_line import ExpenseReportLine from ...types.expense_report_request import ExpenseReportRequest from ...types.expense_report_response import ExpenseReportResponse from ...types.meta_response import MetaResponse from ...types.paginated_expense_report_line_list import PaginatedExpenseReportLineList from ...types.paginated_expense_report_list import PaginatedExpenseReportList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand -from .types.expense_reports_list_request_expand import ExpenseReportsListRequestExpand -from .types.expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.expense_reports_lines_list_request_expand_item import ExpenseReportsLinesListRequestExpandItem +from .types.expense_reports_list_request_expand_item import ExpenseReportsListRequestExpandItem +from .types.expense_reports_retrieve_request_expand_item import ExpenseReportsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +52,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseReportList]: + ) -> SyncPager[ExpenseReport]: """ Returns a list of `ExpenseReport` objects. @@ -65,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,7 +92,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -97,7 +102,7 @@ def list( Returns ------- - HttpResponse[PaginatedExpenseReportList] + SyncPager[ExpenseReport] """ _response = self._client_wrapper.httpx_client.request( @@ -122,14 +127,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseReportList, construct_type( type_=PaginatedExpenseReportList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -200,14 +226,18 @@ def lines_list( expense_report_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseReportLineList]: + ) -> SyncPager[ExpenseReportLine]: """ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. @@ -218,7 +248,7 @@ def lines_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -234,14 +264,14 @@ def lines_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedExpenseReportLineList] + SyncPager[ExpenseReportLine] """ _response = self._client_wrapper.httpx_client.request( @@ -260,14 +290,30 @@ def lines_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseReportLineList, construct_type( type_=PaginatedExpenseReportLineList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_list( + expense_report_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -277,7 +323,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -290,7 +340,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -347,7 +397,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -372,14 +422,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -398,14 +448,29 @@ def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -458,7 +523,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -483,14 +548,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -509,14 +574,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -534,7 +614,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -544,7 +626,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseReportList]: + ) -> AsyncPager[ExpenseReport]: """ Returns a list of `ExpenseReport` objects. @@ -562,7 +644,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsListRequestExpandItem, typing.Sequence[ExpenseReportsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -584,7 +666,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -594,7 +676,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedExpenseReportList] + AsyncPager[ExpenseReport] """ _response = await self._client_wrapper.httpx_client.request( @@ -619,14 +701,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseReportList, construct_type( type_=PaginatedExpenseReportList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -697,14 +803,18 @@ async def lines_list( expense_report_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpenseReportsLinesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseReportLineList]: + ) -> AsyncPager[ExpenseReportLine]: """ Returns a list of `ExpenseReportLine` objects that point to a `ExpenseReport` with the given id. @@ -715,7 +825,7 @@ async def lines_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpenseReportsLinesListRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsLinesListRequestExpandItem, typing.Sequence[ExpenseReportsLinesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -731,14 +841,14 @@ async def lines_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedExpenseReportLineList] + AsyncPager[ExpenseReportLine] """ _response = await self._client_wrapper.httpx_client.request( @@ -757,14 +867,33 @@ async def lines_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseReportLineList, construct_type( type_=PaginatedExpenseReportLineList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_list( + expense_report_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -774,7 +903,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ExpenseReportsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -787,7 +920,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpenseReportsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpenseReportsRetrieveRequestExpandItem, typing.Sequence[ExpenseReportsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -844,7 +977,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -869,14 +1002,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -895,14 +1028,32 @@ async def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -955,7 +1106,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -980,14 +1131,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1006,14 +1157,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/expense_reports/types/__init__.py b/src/merge/resources/accounting/resources/expense_reports/types/__init__.py index 2686f197..7b3c8498 100644 --- a/src/merge/resources/accounting/resources/expense_reports/types/__init__.py +++ b/src/merge/resources/accounting/resources/expense_reports/types/__init__.py @@ -6,13 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .expense_reports_lines_list_request_expand import ExpenseReportsLinesListRequestExpand - from .expense_reports_list_request_expand import ExpenseReportsListRequestExpand - from .expense_reports_retrieve_request_expand import ExpenseReportsRetrieveRequestExpand + from .expense_reports_lines_list_request_expand_item import ExpenseReportsLinesListRequestExpandItem + from .expense_reports_list_request_expand_item import ExpenseReportsListRequestExpandItem + from .expense_reports_retrieve_request_expand_item import ExpenseReportsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ExpenseReportsLinesListRequestExpand": ".expense_reports_lines_list_request_expand", - "ExpenseReportsListRequestExpand": ".expense_reports_list_request_expand", - "ExpenseReportsRetrieveRequestExpand": ".expense_reports_retrieve_request_expand", + "ExpenseReportsLinesListRequestExpandItem": ".expense_reports_lines_list_request_expand_item", + "ExpenseReportsListRequestExpandItem": ".expense_reports_list_request_expand_item", + "ExpenseReportsRetrieveRequestExpandItem": ".expense_reports_retrieve_request_expand_item", } @@ -36,7 +36,7 @@ def __dir__(): __all__ = [ - "ExpenseReportsLinesListRequestExpand", - "ExpenseReportsListRequestExpand", - "ExpenseReportsRetrieveRequestExpand", + "ExpenseReportsLinesListRequestExpandItem", + "ExpenseReportsListRequestExpandItem", + "ExpenseReportsRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py deleted file mode 100644 index 792c010b..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand.py +++ /dev/null @@ -1,265 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsLinesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_CONTACT = "account,company,contact" - ACCOUNT_COMPANY_CONTACT_TAX_RATE = "account,company,contact,tax_rate" - ACCOUNT_COMPANY_TAX_RATE = "account,company,tax_rate" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_TAX_RATE = "account,contact,tax_rate" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_COMPANY = "account,employee,company" - ACCOUNT_EMPLOYEE_COMPANY_CONTACT = "account,employee,company,contact" - ACCOUNT_EMPLOYEE_COMPANY_CONTACT_TAX_RATE = "account,employee,company,contact,tax_rate" - ACCOUNT_EMPLOYEE_COMPANY_TAX_RATE = "account,employee,company,tax_rate" - ACCOUNT_EMPLOYEE_CONTACT = "account,employee,contact" - ACCOUNT_EMPLOYEE_CONTACT_TAX_RATE = "account,employee,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT = "account,employee,project" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY = "account,employee,project,company" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT = "account,employee,project,company,contact" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE = "account,employee,project,company,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_COMPANY_TAX_RATE = "account,employee,project,company,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_CONTACT = "account,employee,project,contact" - ACCOUNT_EMPLOYEE_PROJECT_CONTACT_TAX_RATE = "account,employee,project,contact,tax_rate" - ACCOUNT_EMPLOYEE_PROJECT_TAX_RATE = "account,employee,project,tax_rate" - ACCOUNT_EMPLOYEE_TAX_RATE = "account,employee,tax_rate" - ACCOUNT_PROJECT = "account,project" - ACCOUNT_PROJECT_COMPANY = "account,project,company" - ACCOUNT_PROJECT_COMPANY_CONTACT = "account,project,company,contact" - ACCOUNT_PROJECT_COMPANY_CONTACT_TAX_RATE = "account,project,company,contact,tax_rate" - ACCOUNT_PROJECT_COMPANY_TAX_RATE = "account,project,company,tax_rate" - ACCOUNT_PROJECT_CONTACT = "account,project,contact" - ACCOUNT_PROJECT_CONTACT_TAX_RATE = "account,project,contact,tax_rate" - ACCOUNT_PROJECT_TAX_RATE = "account,project,tax_rate" - ACCOUNT_TAX_RATE = "account,tax_rate" - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - COMPANY_CONTACT_TAX_RATE = "company,contact,tax_rate" - COMPANY_TAX_RATE = "company,tax_rate" - CONTACT = "contact" - CONTACT_TAX_RATE = "contact,tax_rate" - EMPLOYEE = "employee" - EMPLOYEE_COMPANY = "employee,company" - EMPLOYEE_COMPANY_CONTACT = "employee,company,contact" - EMPLOYEE_COMPANY_CONTACT_TAX_RATE = "employee,company,contact,tax_rate" - EMPLOYEE_COMPANY_TAX_RATE = "employee,company,tax_rate" - EMPLOYEE_CONTACT = "employee,contact" - EMPLOYEE_CONTACT_TAX_RATE = "employee,contact,tax_rate" - EMPLOYEE_PROJECT = "employee,project" - EMPLOYEE_PROJECT_COMPANY = "employee,project,company" - EMPLOYEE_PROJECT_COMPANY_CONTACT = "employee,project,company,contact" - EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE = "employee,project,company,contact,tax_rate" - EMPLOYEE_PROJECT_COMPANY_TAX_RATE = "employee,project,company,tax_rate" - EMPLOYEE_PROJECT_CONTACT = "employee,project,contact" - EMPLOYEE_PROJECT_CONTACT_TAX_RATE = "employee,project,contact,tax_rate" - EMPLOYEE_PROJECT_TAX_RATE = "employee,project,tax_rate" - EMPLOYEE_TAX_RATE = "employee,tax_rate" - PROJECT = "project" - PROJECT_COMPANY = "project,company" - PROJECT_COMPANY_CONTACT = "project,company,contact" - PROJECT_COMPANY_CONTACT_TAX_RATE = "project,company,contact,tax_rate" - PROJECT_COMPANY_TAX_RATE = "project,company,tax_rate" - PROJECT_CONTACT = "project,contact" - PROJECT_CONTACT_TAX_RATE = "project,contact,tax_rate" - PROJECT_TAX_RATE = "project,tax_rate" - TAX_RATE = "tax_rate" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_contact: typing.Callable[[], T_Result], - account_company_contact_tax_rate: typing.Callable[[], T_Result], - account_company_tax_rate: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_tax_rate: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_company: typing.Callable[[], T_Result], - account_employee_company_contact: typing.Callable[[], T_Result], - account_employee_company_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_company_tax_rate: typing.Callable[[], T_Result], - account_employee_contact: typing.Callable[[], T_Result], - account_employee_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project: typing.Callable[[], T_Result], - account_employee_project_company: typing.Callable[[], T_Result], - account_employee_project_company_contact: typing.Callable[[], T_Result], - account_employee_project_company_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project_company_tax_rate: typing.Callable[[], T_Result], - account_employee_project_contact: typing.Callable[[], T_Result], - account_employee_project_contact_tax_rate: typing.Callable[[], T_Result], - account_employee_project_tax_rate: typing.Callable[[], T_Result], - account_employee_tax_rate: typing.Callable[[], T_Result], - account_project: typing.Callable[[], T_Result], - account_project_company: typing.Callable[[], T_Result], - account_project_company_contact: typing.Callable[[], T_Result], - account_project_company_contact_tax_rate: typing.Callable[[], T_Result], - account_project_company_tax_rate: typing.Callable[[], T_Result], - account_project_contact: typing.Callable[[], T_Result], - account_project_contact_tax_rate: typing.Callable[[], T_Result], - account_project_tax_rate: typing.Callable[[], T_Result], - account_tax_rate: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - company_contact_tax_rate: typing.Callable[[], T_Result], - company_tax_rate: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_tax_rate: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - employee_company_contact: typing.Callable[[], T_Result], - employee_company_contact_tax_rate: typing.Callable[[], T_Result], - employee_company_tax_rate: typing.Callable[[], T_Result], - employee_contact: typing.Callable[[], T_Result], - employee_contact_tax_rate: typing.Callable[[], T_Result], - employee_project: typing.Callable[[], T_Result], - employee_project_company: typing.Callable[[], T_Result], - employee_project_company_contact: typing.Callable[[], T_Result], - employee_project_company_contact_tax_rate: typing.Callable[[], T_Result], - employee_project_company_tax_rate: typing.Callable[[], T_Result], - employee_project_contact: typing.Callable[[], T_Result], - employee_project_contact_tax_rate: typing.Callable[[], T_Result], - employee_project_tax_rate: typing.Callable[[], T_Result], - employee_tax_rate: typing.Callable[[], T_Result], - project: typing.Callable[[], T_Result], - project_company: typing.Callable[[], T_Result], - project_company_contact: typing.Callable[[], T_Result], - project_company_contact_tax_rate: typing.Callable[[], T_Result], - project_company_tax_rate: typing.Callable[[], T_Result], - project_contact: typing.Callable[[], T_Result], - project_contact_tax_rate: typing.Callable[[], T_Result], - project_tax_rate: typing.Callable[[], T_Result], - tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT: - return account() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_CONTACT: - return account_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_CONTACT_TAX_RATE: - return account_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_COMPANY_TAX_RATE: - return account_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_CONTACT_TAX_RATE: - return account_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY: - return account_employee_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_CONTACT: - return account_employee_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_CONTACT_TAX_RATE: - return account_employee_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_COMPANY_TAX_RATE: - return account_employee_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_CONTACT: - return account_employee_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_CONTACT_TAX_RATE: - return account_employee_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT: - return account_employee_project() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY: - return account_employee_project_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT: - return account_employee_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE: - return account_employee_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_COMPANY_TAX_RATE: - return account_employee_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_CONTACT: - return account_employee_project_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_CONTACT_TAX_RATE: - return account_employee_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_PROJECT_TAX_RATE: - return account_employee_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_EMPLOYEE_TAX_RATE: - return account_employee_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT: - return account_project() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY: - return account_project_company() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_CONTACT: - return account_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_CONTACT_TAX_RATE: - return account_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_COMPANY_TAX_RATE: - return account_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_CONTACT: - return account_project_contact() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_CONTACT_TAX_RATE: - return account_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_PROJECT_TAX_RATE: - return account_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.ACCOUNT_TAX_RATE: - return account_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.COMPANY: - return company() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_CONTACT_TAX_RATE: - return company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.COMPANY_TAX_RATE: - return company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.CONTACT: - return contact() - if self is ExpenseReportsLinesListRequestExpand.CONTACT_TAX_RATE: - return contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_CONTACT: - return employee_company_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_CONTACT_TAX_RATE: - return employee_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_COMPANY_TAX_RATE: - return employee_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_CONTACT: - return employee_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_CONTACT_TAX_RATE: - return employee_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT: - return employee_project() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY: - return employee_project_company() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_CONTACT: - return employee_project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_CONTACT_TAX_RATE: - return employee_project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_COMPANY_TAX_RATE: - return employee_project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_CONTACT: - return employee_project_contact() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_CONTACT_TAX_RATE: - return employee_project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_PROJECT_TAX_RATE: - return employee_project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.EMPLOYEE_TAX_RATE: - return employee_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT: - return project() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY: - return project_company() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_CONTACT: - return project_company_contact() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_CONTACT_TAX_RATE: - return project_company_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_COMPANY_TAX_RATE: - return project_company_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_CONTACT: - return project_contact() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_CONTACT_TAX_RATE: - return project_contact_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.PROJECT_TAX_RATE: - return project_tax_rate() - if self is ExpenseReportsLinesListRequestExpand.TAX_RATE: - return tax_rate() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand_item.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand_item.py new file mode 100644 index 00000000..7fed7333 --- /dev/null +++ b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_lines_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpenseReportsLinesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + PROJECT = "project" + TAX_RATE = "tax_rate" + + def visit( + self, + account: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + project: typing.Callable[[], T_Result], + tax_rate: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpenseReportsLinesListRequestExpandItem.ACCOUNT: + return account() + if self is ExpenseReportsLinesListRequestExpandItem.COMPANY: + return company() + if self is ExpenseReportsLinesListRequestExpandItem.CONTACT: + return contact() + if self is ExpenseReportsLinesListRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpenseReportsLinesListRequestExpandItem.PROJECT: + return project() + if self is ExpenseReportsLinesListRequestExpandItem.TAX_RATE: + return tax_rate() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py deleted file mode 100644 index fa1b24ce..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_COMPANY = "accounting_period,company" - COMPANY = "company" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "employee,accounting_period,company" - EMPLOYEE_COMPANY = "employee,company" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_ACCOUNTING_PERIOD_COMPANY = "lines,accounting_period,company" - LINES_COMPANY = "lines,company" - LINES_EMPLOYEE = "lines,employee" - LINES_EMPLOYEE_ACCOUNTING_PERIOD = "lines,employee,accounting_period" - LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "lines,employee,accounting_period,company" - LINES_EMPLOYEE_COMPANY = "lines,employee,company" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_company: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_accounting_period_company: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_employee: typing.Callable[[], T_Result], - lines_employee_accounting_period: typing.Callable[[], T_Result], - lines_employee_accounting_period_company: typing.Callable[[], T_Result], - lines_employee_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpenseReportsListRequestExpand.ACCOUNTING_PERIOD_COMPANY: - return accounting_period_company() - if self is ExpenseReportsListRequestExpand.COMPANY: - return company() - if self is ExpenseReportsListRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return employee_accounting_period_company() - if self is ExpenseReportsListRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsListRequestExpand.LINES: - return lines() - if self is ExpenseReportsListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is ExpenseReportsListRequestExpand.LINES_ACCOUNTING_PERIOD_COMPANY: - return lines_accounting_period_company() - if self is ExpenseReportsListRequestExpand.LINES_COMPANY: - return lines_company() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE: - return lines_employee() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD: - return lines_employee_accounting_period() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return lines_employee_accounting_period_company() - if self is ExpenseReportsListRequestExpand.LINES_EMPLOYEE_COMPANY: - return lines_employee_company() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand_item.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand_item.py new file mode 100644 index 00000000..7285f28f --- /dev/null +++ b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpenseReportsListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + EMPLOYEE = "employee" + LINES = "lines" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpenseReportsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpenseReportsListRequestExpandItem.COMPANY: + return company() + if self is ExpenseReportsListRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpenseReportsListRequestExpandItem.LINES: + return lines() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py deleted file mode 100644 index 5d56c2da..00000000 --- a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpenseReportsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_COMPANY = "accounting_period,company" - COMPANY = "company" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "employee,accounting_period,company" - EMPLOYEE_COMPANY = "employee,company" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_ACCOUNTING_PERIOD_COMPANY = "lines,accounting_period,company" - LINES_COMPANY = "lines,company" - LINES_EMPLOYEE = "lines,employee" - LINES_EMPLOYEE_ACCOUNTING_PERIOD = "lines,employee,accounting_period" - LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY = "lines,employee,accounting_period,company" - LINES_EMPLOYEE_COMPANY = "lines,employee,company" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_company: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_company: typing.Callable[[], T_Result], - employee_company: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_accounting_period_company: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_employee: typing.Callable[[], T_Result], - lines_employee_accounting_period: typing.Callable[[], T_Result], - lines_employee_accounting_period_company: typing.Callable[[], T_Result], - lines_employee_company: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.ACCOUNTING_PERIOD_COMPANY: - return accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.COMPANY: - return company() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return employee_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.EMPLOYEE_COMPANY: - return employee_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES: - return lines() - if self is ExpenseReportsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD_COMPANY: - return lines_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE: - return lines_employee() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD: - return lines_employee_accounting_period() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_ACCOUNTING_PERIOD_COMPANY: - return lines_employee_accounting_period_company() - if self is ExpenseReportsRetrieveRequestExpand.LINES_EMPLOYEE_COMPANY: - return lines_employee_company() diff --git a/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand_item.py new file mode 100644 index 00000000..7692f8d8 --- /dev/null +++ b/src/merge/resources/accounting/resources/expense_reports/types/expense_reports_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpenseReportsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + EMPLOYEE = "employee" + LINES = "lines" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpenseReportsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpenseReportsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ExpenseReportsRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpenseReportsRetrieveRequestExpandItem.LINES: + return lines() diff --git a/src/merge/resources/accounting/resources/expenses/__init__.py b/src/merge/resources/accounting/resources/expenses/__init__.py index acf1f1a7..50ac2fdf 100644 --- a/src/merge/resources/accounting/resources/expenses/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ExpensesListRequestExpand, ExpensesRetrieveRequestExpand + from .types import ExpensesListRequestExpandItem, ExpensesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ExpensesListRequestExpand": ".types", - "ExpensesRetrieveRequestExpand": ".types", + "ExpensesListRequestExpandItem": ".types", + "ExpensesRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"] +__all__ = ["ExpensesListRequestExpandItem", "ExpensesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/expenses/client.py b/src/merge/resources/accounting/resources/expenses/client.py index 8e4a205f..6584a68f 100644 --- a/src/merge/resources/accounting/resources/expenses/client.py +++ b/src/merge/resources/accounting/resources/expenses/client.py @@ -4,16 +4,19 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse from ...types.expense import Expense +from ...types.expense_batch_item_request import ExpenseBatchItemRequest from ...types.expense_request import ExpenseRequest from ...types.expense_response import ExpenseResponse from ...types.meta_response import MetaResponse -from ...types.paginated_expense_list import PaginatedExpenseList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawExpensesClient, RawExpensesClient -from .types.expenses_list_request_expand import ExpensesListRequestExpand -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand +from .types.expenses_list_request_expand_item import ExpensesListRequestExpandItem +from .types.expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +58,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseList: + ) -> SyncPager[Expense]: """ Returns a list of `Expense` objects. @@ -71,7 +76,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,7 +98,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -109,7 +114,7 @@ def list( Returns ------- - PaginatedExpenseList + SyncPager[Expense] Examples @@ -117,15 +122,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.list( + response = client.accounting.expenses.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -134,7 +136,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -154,8 +155,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -173,7 +179,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -228,7 +233,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +248,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,9 +271,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -274,7 +278,6 @@ def retrieve( ) client.accounting.expenses.retrieve( id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -290,6 +293,81 @@ def retrieve( ) return _response.data + def bulk_create( + self, + *, + batch_items: typing.Sequence[ExpenseBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `Expense` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ExpenseBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import ExpenseBatchItemRequest, ExpenseRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.expenses.bulk_create( + batch_items=[ + ExpenseBatchItemRequest( + item_id="item_id", + payload=ExpenseRequest(), + ) + ], + ) + """ + _response = self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `Expense` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.expenses.bulk_retrieve( + batch_id="batch_id", + ) + """ + _response = self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + def lines_remote_field_classes_list( self, *, @@ -301,7 +379,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -326,14 +404,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -344,7 +422,7 @@ def lines_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.lines_remote_field_classes_list( + response = client.accounting.expenses.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -353,8 +431,13 @@ def lines_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_remote_field_classes_list( + return self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -364,7 +447,6 @@ def lines_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -404,7 +486,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -429,14 +511,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -447,7 +529,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.expenses.remote_field_classes_list( + response = client.accounting.expenses.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -456,8 +538,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -467,7 +554,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncExpensesClient: @@ -492,7 +578,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -504,7 +592,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedExpenseList: + ) -> AsyncPager[Expense]: """ Returns a list of `Expense` objects. @@ -522,7 +610,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -544,7 +632,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -560,7 +648,7 @@ async def list( Returns ------- - PaginatedExpenseList + AsyncPager[Expense] Examples @@ -569,9 +657,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.expenses import ( - ExpensesListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -580,7 +665,7 @@ async def list( async def main() -> None: - await client.accounting.expenses.list( + response = await client.accounting.expenses.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -589,7 +674,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ExpensesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -609,11 +693,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -631,7 +721,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -694,7 +783,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -707,7 +798,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -732,9 +823,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.expenses import ( - ExpensesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -745,7 +833,6 @@ async def retrieve( async def main() -> None: await client.accounting.expenses.retrieve( id="id", - expand=ExpensesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -764,6 +851,97 @@ async def main() -> None: ) return _response.data + async def bulk_create( + self, + *, + batch_items: typing.Sequence[ExpenseBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `Expense` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ExpenseBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import ExpenseBatchItemRequest, ExpenseRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.expenses.bulk_create( + batch_items=[ + ExpenseBatchItemRequest( + item_id="item_id", + payload=ExpenseRequest(), + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `Expense` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.expenses.bulk_retrieve( + batch_id="batch_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + async def lines_remote_field_classes_list( self, *, @@ -775,7 +953,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -800,14 +978,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -823,7 +1001,7 @@ async def lines_remote_field_classes_list( async def main() -> None: - await client.accounting.expenses.lines_remote_field_classes_list( + response = await client.accounting.expenses.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -832,11 +1010,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_remote_field_classes_list( + return await self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -846,7 +1030,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -894,7 +1077,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -919,14 +1102,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -942,7 +1125,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.expenses.remote_field_classes_list( + response = await client.accounting.expenses.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -951,11 +1134,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -965,4 +1154,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/expenses/raw_client.py b/src/merge/resources/accounting/resources/expenses/raw_client.py index 6b2b2520..de453891 100644 --- a/src/merge/resources/accounting/resources/expenses/raw_client.py +++ b/src/merge/resources/accounting/resources/expenses/raw_client.py @@ -9,16 +9,21 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse from ...types.expense import Expense +from ...types.expense_batch_item_request import ExpenseBatchItemRequest from ...types.expense_request import ExpenseRequest from ...types.expense_response import ExpenseResponse from ...types.meta_response import MetaResponse from ...types.paginated_expense_list import PaginatedExpenseList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.expenses_list_request_expand import ExpensesListRequestExpand -from .types.expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.expenses_list_request_expand_item import ExpensesListRequestExpandItem +from .types.expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedExpenseList]: + ) -> SyncPager[Expense]: """ Returns a list of `Expense` objects. @@ -65,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,7 +94,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -103,7 +110,7 @@ def list( Returns ------- - HttpResponse[PaginatedExpenseList] + SyncPager[Expense] """ _response = self._client_wrapper.httpx_client.request( @@ -134,14 +141,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseList, construct_type( type_=PaginatedExpenseList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -211,7 +241,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +256,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -270,6 +302,92 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def bulk_create( + self, + *, + batch_items: typing.Sequence[ExpenseBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `Expense` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ExpenseBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AsyncBulkCreateResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/expenses/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `Expense` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[BatchObjectsResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/expenses/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def lines_remote_field_classes_list( self, *, @@ -281,7 +399,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -306,14 +424,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -332,14 +450,29 @@ def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -392,7 +525,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -417,14 +550,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -443,14 +576,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -468,7 +616,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ExpensesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -480,7 +630,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedExpenseList]: + ) -> AsyncPager[Expense]: """ Returns a list of `Expense` objects. @@ -498,7 +648,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ExpensesListRequestExpand] + expand : typing.Optional[typing.Union[ExpensesListRequestExpandItem, typing.Sequence[ExpensesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -520,7 +670,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -536,7 +686,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedExpenseList] + AsyncPager[Expense] """ _response = await self._client_wrapper.httpx_client.request( @@ -567,14 +717,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedExpenseList, construct_type( type_=PaginatedExpenseList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -644,7 +820,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ExpensesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -657,7 +835,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ExpensesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ExpensesRetrieveRequestExpandItem, typing.Sequence[ExpensesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -703,6 +881,92 @@ async def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def bulk_create( + self, + *, + batch_items: typing.Sequence[ExpenseBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `Expense` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ExpenseBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AsyncBulkCreateResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/expenses/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `Expense` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[BatchObjectsResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/expenses/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def lines_remote_field_classes_list( self, *, @@ -714,7 +978,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -739,14 +1003,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -765,14 +1029,32 @@ async def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -825,7 +1107,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -850,14 +1132,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -876,14 +1158,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/expenses/types/__init__.py b/src/merge/resources/accounting/resources/expenses/types/__init__.py index 108b87d5..d1ea4608 100644 --- a/src/merge/resources/accounting/resources/expenses/types/__init__.py +++ b/src/merge/resources/accounting/resources/expenses/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .expenses_list_request_expand import ExpensesListRequestExpand - from .expenses_retrieve_request_expand import ExpensesRetrieveRequestExpand + from .expenses_list_request_expand_item import ExpensesListRequestExpandItem + from .expenses_retrieve_request_expand_item import ExpensesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ExpensesListRequestExpand": ".expenses_list_request_expand", - "ExpensesRetrieveRequestExpand": ".expenses_retrieve_request_expand", + "ExpensesListRequestExpandItem": ".expenses_list_request_expand_item", + "ExpensesRetrieveRequestExpandItem": ".expenses_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ExpensesListRequestExpand", "ExpensesRetrieveRequestExpand"] +__all__ = ["ExpensesListRequestExpandItem", "ExpensesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py deleted file mode 100644 index 7b56e281..00000000 --- a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand.py +++ /dev/null @@ -1,275 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpensesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_EMPLOYEE = "account,company,employee" - ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,company,employee,accounting_period" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "account,contact,accounting_period" - ACCOUNT_CONTACT_COMPANY = "account,contact,company" - ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = "account,contact,company,accounting_period" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "account,contact,company,employee" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,company,employee,accounting_period" - ACCOUNT_CONTACT_EMPLOYEE = "account,contact,employee" - ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,employee,accounting_period" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "account,employee,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE = "tracking_categories,account,company,employee" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT = "tracking_categories,account,contact" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,account,contact,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY = "tracking_categories,account,contact,company" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,account,contact,company,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE = "tracking_categories,account,contact,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE = "tracking_categories,account,employee" - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,account,employee,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_employee: typing.Callable[[], T_Result], - account_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_accounting_period: typing.Callable[[], T_Result], - account_contact_company: typing.Callable[[], T_Result], - account_contact_company_accounting_period: typing.Callable[[], T_Result], - account_contact_company_employee: typing.Callable[[], T_Result], - account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact_employee: typing.Callable[[], T_Result], - account_contact_employee_accounting_period: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact: typing.Callable[[], T_Result], - tracking_categories_account_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_employee: typing.Callable[[], T_Result], - tracking_categories_account_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpensesListRequestExpand.ACCOUNT: - return account() - if self is ExpensesListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_EMPLOYEE: - return account_company_employee() - if self is ExpensesListRequestExpand.ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_company_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return account_contact_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY: - return account_contact_company() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return account_contact_company_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return account_contact_company_employee() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_EMPLOYEE: - return account_contact_employee() - if self is ExpensesListRequestExpand.ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpensesListRequestExpand.ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_employee_accounting_period() - if self is ExpensesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpensesListRequestExpand.COMPANY: - return company() - if self is ExpensesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is ExpensesListRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is ExpensesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is ExpensesListRequestExpand.CONTACT: - return contact() - if self is ExpensesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is ExpensesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is ExpensesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is ExpensesListRequestExpand.EMPLOYEE: - return employee() - if self is ExpensesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE: - return tracking_categories_account_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT: - return tracking_categories_account_contact() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY: - return tracking_categories_account_contact_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_account_contact_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE: - return tracking_categories_account_contact_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE: - return tracking_categories_account_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is ExpensesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py new file mode 100644 index 00000000..7e3f0793 --- /dev/null +++ b/src/merge/resources/accounting/resources/expenses/types/expenses_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpensesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpensesListRequestExpandItem.ACCOUNT: + return account() + if self is ExpensesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpensesListRequestExpandItem.COMPANY: + return company() + if self is ExpensesListRequestExpandItem.CONTACT: + return contact() + if self is ExpensesListRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpensesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py deleted file mode 100644 index 32222a7a..00000000 --- a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand.py +++ /dev/null @@ -1,275 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ExpensesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_EMPLOYEE = "account,company,employee" - ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,company,employee,accounting_period" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "account,contact,accounting_period" - ACCOUNT_CONTACT_COMPANY = "account,contact,company" - ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = "account,contact,company,accounting_period" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "account,contact,company,employee" - ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,company,employee,accounting_period" - ACCOUNT_CONTACT_EMPLOYEE = "account,contact,employee" - ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "account,contact,employee,accounting_period" - ACCOUNT_EMPLOYEE = "account,employee" - ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "account,employee,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE = "tracking_categories,account,company,employee" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT = "tracking_categories,account,contact" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,account,contact,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY = "tracking_categories,account,contact,company" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,account,contact,company,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE = "tracking_categories,account,contact,employee" - TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,account,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE = "tracking_categories,account,employee" - TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,account,employee,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_employee: typing.Callable[[], T_Result], - account_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_accounting_period: typing.Callable[[], T_Result], - account_contact_company: typing.Callable[[], T_Result], - account_contact_company_accounting_period: typing.Callable[[], T_Result], - account_contact_company_employee: typing.Callable[[], T_Result], - account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - account_contact_employee: typing.Callable[[], T_Result], - account_contact_employee_accounting_period: typing.Callable[[], T_Result], - account_employee: typing.Callable[[], T_Result], - account_employee_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact: typing.Callable[[], T_Result], - tracking_categories_account_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee: typing.Callable[[], T_Result], - tracking_categories_account_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_employee: typing.Callable[[], T_Result], - tracking_categories_account_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ExpensesRetrieveRequestExpand.ACCOUNT: - return account() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_EMPLOYEE: - return account_company_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return account_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY: - return account_contact_company() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return account_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return account_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_EMPLOYEE: - return account_contact_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_EMPLOYEE: - return account_employee() - if self is ExpensesRetrieveRequestExpand.ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return account_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is ExpensesRetrieveRequestExpand.COMPANY: - return company() - if self is ExpensesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is ExpensesRetrieveRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is ExpensesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT: - return contact() - if self is ExpensesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is ExpensesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is ExpensesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is ExpensesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE: - return tracking_categories_account_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT: - return tracking_categories_account_contact() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY: - return tracking_categories_account_contact_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_account_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE: - return tracking_categories_account_contact_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE: - return tracking_categories_account_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_account_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is ExpensesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() diff --git a/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py new file mode 100644 index 00000000..d496b015 --- /dev/null +++ b/src/merge/resources/accounting/resources/expenses/types/expenses_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ExpensesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ExpensesRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is ExpensesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is ExpensesRetrieveRequestExpandItem.COMPANY: + return company() + if self is ExpensesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is ExpensesRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is ExpensesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/field_mapping/client.py b/src/merge/resources/accounting/resources/field_mapping/client.py index feed925c..ced857d9 100644 --- a/src/merge/resources/accounting/resources/field_mapping/client.py +++ b/src/merge/resources/accounting/resources/field_mapping/client.py @@ -78,6 +78,9 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -106,6 +109,15 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -124,6 +136,7 @@ def field_mappings_create( ) client.accounting.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -140,6 +153,9 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, + advanced_mapping_expression=advanced_mapping_expression, request_options=request_options, ) return _response.data @@ -181,9 +197,12 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -193,6 +212,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -202,6 +224,12 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -220,13 +248,17 @@ def field_mappings_partial_update( ) client.accounting.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, + advanced_mapping_expression=advanced_mapping_expression, request_options=request_options, ) return _response.data @@ -377,6 +409,9 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -405,6 +440,15 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -428,6 +472,7 @@ async def field_mappings_create( async def main() -> None: await client.accounting.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -447,6 +492,9 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, + advanced_mapping_expression=advanced_mapping_expression, request_options=request_options, ) return _response.data @@ -496,9 +544,12 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -508,6 +559,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -517,6 +571,12 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -540,6 +600,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.accounting.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -547,9 +608,12 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, + advanced_mapping_expression=advanced_mapping_expression, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/accounting/resources/field_mapping/raw_client.py b/src/merge/resources/accounting/resources/field_mapping/raw_client.py index 1e90a8db..b9e9d8bc 100644 --- a/src/merge/resources/accounting/resources/field_mapping/raw_client.py +++ b/src/merge/resources/accounting/resources/field_mapping/raw_client.py @@ -77,6 +77,9 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -105,6 +108,15 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -118,6 +130,7 @@ def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -126,6 +139,8 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, + "advanced_mapping_expression": advanced_mapping_expression, }, headers={ "content-type": "application/json", @@ -190,9 +205,12 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -202,6 +220,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -211,6 +232,12 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -222,10 +249,15 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"accounting/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, + "advanced_mapping_expression": advanced_mapping_expression, }, headers={ "content-type": "application/json", @@ -394,6 +426,9 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -422,6 +457,15 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -435,6 +479,7 @@ async def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -443,6 +488,8 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, + "advanced_mapping_expression": advanced_mapping_expression, }, headers={ "content-type": "application/json", @@ -507,9 +554,12 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, + advanced_mapping_expression: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -519,6 +569,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -528,6 +581,12 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + DEPRECATED: Use 'advanced_mapping_expression' instead. + + advanced_mapping_expression : typing.Optional[str] + A JSONata expression used to transform the remote field data. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -539,10 +598,15 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"accounting/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, + "advanced_mapping_expression": advanced_mapping_expression, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py index 9b0229cd..f4b8e505 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/__init__.py @@ -6,10 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import GeneralLedgerTransactionsListRequestExpand, GeneralLedgerTransactionsRetrieveRequestExpand + from .types import ( + GeneralLedgerTransactionsListRequestExpandItem, + GeneralLedgerTransactionsRetrieveRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { - "GeneralLedgerTransactionsListRequestExpand": ".types", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".types", + "GeneralLedgerTransactionsListRequestExpandItem": ".types", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".types", } @@ -32,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"] +__all__ = ["GeneralLedgerTransactionsListRequestExpandItem", "GeneralLedgerTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/client.py b/src/merge/resources/accounting/resources/general_ledger_transactions/client.py index 377163ab..8a4aa13b 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/client.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/client.py @@ -4,12 +4,14 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.general_ledger_transaction import GeneralLedgerTransaction -from ...types.paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList from .raw_client import AsyncRawGeneralLedgerTransactionsClient, RawGeneralLedgerTransactionsClient -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand -from .types.general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand +from .types.general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem +from .types.general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, +) class GeneralLedgerTransactionsClient: @@ -34,7 +36,12 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +52,7 @@ def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGeneralLedgerTransactionList: + ) -> SyncPager[GeneralLedgerTransaction]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -63,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +89,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. posted_date_after : typing.Optional[dt.datetime] If provided, will only return objects posted after this datetime. @@ -98,7 +105,7 @@ def list( Returns ------- - PaginatedGeneralLedgerTransactionList + SyncPager[GeneralLedgerTransaction] Examples @@ -106,15 +113,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.general_ledger_transactions.list( + response = client.accounting.general_ledger_transactions.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -123,7 +127,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -142,8 +145,13 @@ def list( ), remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -160,13 +168,17 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -178,7 +190,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -198,9 +210,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -208,7 +217,6 @@ def retrieve( ) client.accounting.general_ledger_transactions.retrieve( id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, ) @@ -245,7 +253,12 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -256,7 +269,7 @@ async def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGeneralLedgerTransactionList: + ) -> AsyncPager[GeneralLedgerTransaction]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -274,7 +287,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -293,7 +306,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. posted_date_after : typing.Optional[dt.datetime] If provided, will only return objects posted after this datetime. @@ -309,7 +322,7 @@ async def list( Returns ------- - PaginatedGeneralLedgerTransactionList + AsyncPager[GeneralLedgerTransaction] Examples @@ -318,9 +331,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -329,7 +339,7 @@ async def list( async def main() -> None: - await client.accounting.general_ledger_transactions.list( + response = await client.accounting.general_ledger_transactions.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -338,7 +348,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -357,11 +366,17 @@ async def main() -> None: ), remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -378,13 +393,17 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -396,7 +415,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -418,9 +437,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.general_ledger_transactions import ( - GeneralLedgerTransactionsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -431,7 +447,6 @@ async def retrieve( async def main() -> None: await client.accounting.general_ledger_transactions.retrieve( id="id", - expand=GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py b/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py index ab2d3f28..e9f979e0 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/raw_client.py @@ -9,12 +9,15 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.general_ledger_transaction import GeneralLedgerTransaction from ...types.paginated_general_ledger_transaction_list import PaginatedGeneralLedgerTransactionList -from .types.general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand -from .types.general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand +from .types.general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem +from .types.general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, +) class RawGeneralLedgerTransactionsClient: @@ -28,7 +31,12 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,7 +47,7 @@ def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGeneralLedgerTransactionList]: + ) -> SyncPager[GeneralLedgerTransaction]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -57,7 +65,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +84,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. posted_date_after : typing.Optional[dt.datetime] If provided, will only return objects posted after this datetime. @@ -92,7 +100,7 @@ def list( Returns ------- - HttpResponse[PaginatedGeneralLedgerTransactionList] + SyncPager[GeneralLedgerTransaction] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +128,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGeneralLedgerTransactionList, construct_type( type_=PaginatedGeneralLedgerTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + posted_date_after=posted_date_after, + posted_date_before=posted_date_before, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -137,7 +167,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -149,7 +184,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -203,7 +238,12 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[GeneralLedgerTransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsListRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -214,7 +254,7 @@ async def list( posted_date_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGeneralLedgerTransactionList]: + ) -> AsyncPager[GeneralLedgerTransaction]: """ Returns a list of `GeneralLedgerTransaction` objects. @@ -232,7 +272,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[GeneralLedgerTransactionsListRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsListRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -251,7 +291,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. posted_date_after : typing.Optional[dt.datetime] If provided, will only return objects posted after this datetime. @@ -267,7 +307,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedGeneralLedgerTransactionList] + AsyncPager[GeneralLedgerTransaction] """ _response = await self._client_wrapper.httpx_client.request( @@ -295,14 +335,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGeneralLedgerTransactionList, construct_type( type_=PaginatedGeneralLedgerTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + posted_date_after=posted_date_after, + posted_date_before=posted_date_before, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -312,7 +377,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + GeneralLedgerTransactionsRetrieveRequestExpandItem, + typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -324,7 +394,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[GeneralLedgerTransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[GeneralLedgerTransactionsRetrieveRequestExpandItem, typing.Sequence[GeneralLedgerTransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py index d8499ab9..bfb2fa70 100644 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/__init__.py @@ -6,11 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .general_ledger_transactions_list_request_expand import GeneralLedgerTransactionsListRequestExpand - from .general_ledger_transactions_retrieve_request_expand import GeneralLedgerTransactionsRetrieveRequestExpand + from .general_ledger_transactions_list_request_expand_item import GeneralLedgerTransactionsListRequestExpandItem + from .general_ledger_transactions_retrieve_request_expand_item import ( + GeneralLedgerTransactionsRetrieveRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { - "GeneralLedgerTransactionsListRequestExpand": ".general_ledger_transactions_list_request_expand", - "GeneralLedgerTransactionsRetrieveRequestExpand": ".general_ledger_transactions_retrieve_request_expand", + "GeneralLedgerTransactionsListRequestExpandItem": ".general_ledger_transactions_list_request_expand_item", + "GeneralLedgerTransactionsRetrieveRequestExpandItem": ".general_ledger_transactions_retrieve_request_expand_item", } @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["GeneralLedgerTransactionsListRequestExpand", "GeneralLedgerTransactionsRetrieveRequestExpand"] +__all__ = ["GeneralLedgerTransactionsListRequestExpandItem", "GeneralLedgerTransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py deleted file mode 100644 index 0b85bf75..00000000 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GeneralLedgerTransactionsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" - GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = "general_ledger_transaction_lines,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = "general_ledger_transaction_lines,company" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "general_ledger_transaction_lines,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES = "tracking_categories,general_ledger_transaction_lines" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,accounting_period" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = ( - "tracking_categories,general_ledger_transaction_lines,company" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,company,accounting_period" - ) - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines: typing.Callable[[], T_Result], - general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GeneralLedgerTransactionsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.COMPANY: - return company() - if self is GeneralLedgerTransactionsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES: - return general_ledger_transaction_lines() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD: - return general_ledger_transaction_lines_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY: - return general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return general_ledger_transaction_lines_company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES: - return tracking_categories_general_ledger_transaction_lines() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_accounting_period() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY - ): - return tracking_categories_general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsListRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py new file mode 100644 index 00000000..3ac96d8b --- /dev/null +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GeneralLedgerTransactionsListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + general_ledger_transaction_lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is GeneralLedgerTransactionsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is GeneralLedgerTransactionsListRequestExpandItem.COMPANY: + return company() + if self is GeneralLedgerTransactionsListRequestExpandItem.GENERAL_LEDGER_TRANSACTION_LINES: + return general_ledger_transaction_lines() + if self is GeneralLedgerTransactionsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py deleted file mode 100644 index 9c1c9ecd..00000000 --- a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GeneralLedgerTransactionsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" - GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = "general_ledger_transaction_lines,accounting_period" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = "general_ledger_transaction_lines,company" - GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "general_ledger_transaction_lines,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES = "tracking_categories,general_ledger_transaction_lines" - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,accounting_period" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY = ( - "tracking_categories,general_ledger_transaction_lines,company" - ) - TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,general_ledger_transaction_lines,company,accounting_period" - ) - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines: typing.Callable[[], T_Result], - general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company: typing.Callable[[], T_Result], - tracking_categories_general_ledger_transaction_lines_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GeneralLedgerTransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.COMPANY: - return company() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES: - return general_ledger_transaction_lines() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD: - return general_ledger_transaction_lines_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY: - return general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return general_ledger_transaction_lines_company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES: - return tracking_categories_general_ledger_transaction_lines() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_accounting_period() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY - ): - return tracking_categories_general_ledger_transaction_lines_company() - if ( - self - is GeneralLedgerTransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_GENERAL_LEDGER_TRANSACTION_LINES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_general_ledger_transaction_lines_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py new file mode 100644 index 00000000..78502da8 --- /dev/null +++ b/src/merge/resources/accounting/resources/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GeneralLedgerTransactionsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + GENERAL_LEDGER_TRANSACTION_LINES = "general_ledger_transaction_lines" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + general_ledger_transaction_lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.COMPANY: + return company() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.GENERAL_LEDGER_TRANSACTION_LINES: + return general_ledger_transaction_lines() + if self is GeneralLedgerTransactionsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/income_statements/client.py b/src/merge/resources/accounting/resources/income_statements/client.py index 539bae03..b5cb8136 100644 --- a/src/merge/resources/accounting/resources/income_statements/client.py +++ b/src/merge/resources/accounting/resources/income_statements/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.income_statement import IncomeStatement -from ...types.paginated_income_statement_list import PaginatedIncomeStatementList from .raw_client import AsyncRawIncomeStatementsClient, RawIncomeStatementsClient @@ -32,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIncomeStatementList: + ) -> SyncPager[IncomeStatement]: """ Returns a list of `IncomeStatement` objects. @@ -59,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedIncomeStatementList + SyncPager[IncomeStatement] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.income_statements.list( + response = client.accounting.income_statements.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -122,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -219,7 +227,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIncomeStatementList: + ) -> AsyncPager[IncomeStatement]: """ Returns a list of `IncomeStatement` objects. @@ -246,7 +256,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +275,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedIncomeStatementList + AsyncPager[IncomeStatement] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.accounting.income_statements.list( + response = await client.accounting.income_statements.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -313,11 +323,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/income_statements/raw_client.py b/src/merge/resources/accounting/resources/income_statements/raw_client.py index 7bbb3315..ab316778 100644 --- a/src/merge/resources/accounting/resources/income_statements/raw_client.py +++ b/src/merge/resources/accounting/resources/income_statements/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.income_statement import IncomeStatement @@ -26,7 +27,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIncomeStatementList]: + ) -> SyncPager[IncomeStatement]: """ Returns a list of `IncomeStatement` objects. @@ -53,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedIncomeStatementList] + SyncPager[IncomeStatement] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIncomeStatementList, construct_type( type_=PaginatedIncomeStatementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIncomeStatementList]: + ) -> AsyncPager[IncomeStatement]: """ Returns a list of `IncomeStatement` objects. @@ -216,7 +243,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +262,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIncomeStatementList] + AsyncPager[IncomeStatement] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIncomeStatementList, construct_type( type_=PaginatedIncomeStatementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/invoices/__init__.py b/src/merge/resources/accounting/resources/invoices/__init__.py index 91efb449..e67bb781 100644 --- a/src/merge/resources/accounting/resources/invoices/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/__init__.py @@ -7,16 +7,16 @@ if typing.TYPE_CHECKING: from .types import ( - InvoicesListRequestExpand, + InvoicesListRequestExpandItem, InvoicesListRequestStatus, InvoicesListRequestType, - InvoicesRetrieveRequestExpand, + InvoicesRetrieveRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "InvoicesListRequestExpand": ".types", + "InvoicesListRequestExpandItem": ".types", "InvoicesListRequestStatus": ".types", "InvoicesListRequestType": ".types", - "InvoicesRetrieveRequestExpand": ".types", + "InvoicesRetrieveRequestExpandItem": ".types", } @@ -40,8 +40,8 @@ def __dir__(): __all__ = [ - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/accounting/resources/invoices/client.py b/src/merge/resources/accounting/resources/invoices/client.py index 9ec8d516..0d4432b3 100644 --- a/src/merge/resources/accounting/resources/invoices/client.py +++ b/src/merge/resources/accounting/resources/invoices/client.py @@ -4,18 +4,21 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse from ...types.invoice import Invoice +from ...types.invoice_batch_item_request import InvoiceBatchItemRequest from ...types.invoice_request import InvoiceRequest from ...types.invoice_response import InvoiceResponse from ...types.meta_response import MetaResponse -from ...types.paginated_invoice_list import PaginatedInvoiceList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawInvoicesClient, RawInvoicesClient -from .types.invoices_list_request_expand import InvoicesListRequestExpand +from .types.invoices_list_request_expand_item import InvoicesListRequestExpandItem from .types.invoices_list_request_status import InvoicesListRequestStatus from .types.invoices_list_request_type import InvoicesListRequestType -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand +from .types.invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +47,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -61,7 +66,7 @@ def list( status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedInvoiceList: + ) -> SyncPager[Invoice]: """ Returns a list of `Invoice` objects. @@ -82,7 +87,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -113,7 +118,7 @@ def list( If provided, will only return Invoices with this number. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["type"]] Deprecated. Use show_enum_origins. @@ -145,7 +150,7 @@ def list( Returns ------- - PaginatedInvoiceList + SyncPager[Invoice] Examples @@ -154,7 +159,6 @@ def list( from merge import Merge from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, InvoicesListRequestStatus, InvoicesListRequestType, ) @@ -163,7 +167,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.list( + response = client.accounting.invoices.list( company_id="company_id", contact_id="contact_id", created_after=datetime.datetime.fromisoformat( @@ -173,7 +177,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -196,8 +199,13 @@ def list( status=InvoicesListRequestStatus.DRAFT, type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -221,7 +229,6 @@ def list( type=type, request_options=request_options, ) - return _response.data def create( self, @@ -278,7 +285,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -293,7 +302,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -322,9 +331,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -332,7 +338,6 @@ def retrieve( ) client.accounting.invoices.retrieve( id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -403,6 +408,81 @@ def partial_update( ) return _response.data + def bulk_create( + self, + *, + batch_items: typing.Sequence[InvoiceBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `Invoice` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[InvoiceBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import InvoiceBatchItemRequest, InvoiceRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.invoices.bulk_create( + batch_items=[ + InvoiceBatchItemRequest( + item_id="item_id", + payload=InvoiceRequest(), + ) + ], + ) + """ + _response = self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `Invoice` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.invoices.bulk_retrieve( + batch_id="batch_id", + ) + """ + _response = self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + def line_items_remote_field_classes_list( self, *, @@ -414,7 +494,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -439,14 +519,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -457,7 +537,7 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.line_items_remote_field_classes_list( + response = client.accounting.invoices.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -466,8 +546,13 @@ def line_items_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -477,7 +562,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -548,7 +632,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -573,14 +657,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -591,7 +675,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.invoices.remote_field_classes_list( + response = client.accounting.invoices.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -600,8 +684,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -611,7 +700,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncInvoicesClient: @@ -637,7 +725,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -654,7 +744,7 @@ async def list( status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedInvoiceList: + ) -> AsyncPager[Invoice]: """ Returns a list of `Invoice` objects. @@ -675,7 +765,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -706,7 +796,7 @@ async def list( If provided, will only return Invoices with this number. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["type"]] Deprecated. Use show_enum_origins. @@ -738,7 +828,7 @@ async def list( Returns ------- - PaginatedInvoiceList + AsyncPager[Invoice] Examples @@ -748,7 +838,6 @@ async def list( from merge import AsyncMerge from merge.resources.accounting.resources.invoices import ( - InvoicesListRequestExpand, InvoicesListRequestStatus, InvoicesListRequestType, ) @@ -760,7 +849,7 @@ async def list( async def main() -> None: - await client.accounting.invoices.list( + response = await client.accounting.invoices.list( company_id="company_id", contact_id="contact_id", created_after=datetime.datetime.fromisoformat( @@ -770,7 +859,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InvoicesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -793,11 +881,17 @@ async def main() -> None: status=InvoicesListRequestStatus.DRAFT, type=InvoicesListRequestType.ACCOUNTS_PAYABLE, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, contact_id=contact_id, created_after=created_after, @@ -821,7 +915,6 @@ async def main() -> None: type=type, request_options=request_options, ) - return _response.data async def create( self, @@ -886,7 +979,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -901,7 +996,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -932,9 +1027,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.invoices import ( - InvoicesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -945,7 +1037,6 @@ async def retrieve( async def main() -> None: await client.accounting.invoices.retrieve( id="id", - expand=InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -1027,6 +1118,97 @@ async def main() -> None: ) return _response.data + async def bulk_create( + self, + *, + batch_items: typing.Sequence[InvoiceBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `Invoice` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[InvoiceBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import InvoiceBatchItemRequest, InvoiceRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.invoices.bulk_create( + batch_items=[ + InvoiceBatchItemRequest( + item_id="item_id", + payload=InvoiceRequest(), + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `Invoice` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.invoices.bulk_retrieve( + batch_id="batch_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + async def line_items_remote_field_classes_list( self, *, @@ -1038,7 +1220,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1063,14 +1245,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1086,20 +1268,28 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.invoices.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.invoices.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1109,7 +1299,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1198,7 +1387,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1223,14 +1412,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1246,7 +1435,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.invoices.remote_field_classes_list( + response = await client.accounting.invoices.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -1255,11 +1444,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1269,4 +1464,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/invoices/raw_client.py b/src/merge/resources/accounting/resources/invoices/raw_client.py index 8fe8ca88..14bc62c5 100644 --- a/src/merge/resources/accounting/resources/invoices/raw_client.py +++ b/src/merge/resources/accounting/resources/invoices/raw_client.py @@ -9,18 +9,23 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse from ...types.invoice import Invoice +from ...types.invoice_batch_item_request import InvoiceBatchItemRequest from ...types.invoice_request import InvoiceRequest from ...types.invoice_response import InvoiceResponse from ...types.meta_response import MetaResponse from ...types.paginated_invoice_list import PaginatedInvoiceList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.invoices_list_request_expand import InvoicesListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.invoices_list_request_expand_item import InvoicesListRequestExpandItem from .types.invoices_list_request_status import InvoicesListRequestStatus from .types.invoices_list_request_type import InvoicesListRequestType -from .types.invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand +from .types.invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +62,7 @@ def list( status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedInvoiceList]: + ) -> SyncPager[Invoice]: """ Returns a list of `Invoice` objects. @@ -76,7 +83,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,7 +114,7 @@ def list( If provided, will only return Invoices with this number. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["type"]] Deprecated. Use show_enum_origins. @@ -139,7 +146,7 @@ def list( Returns ------- - HttpResponse[PaginatedInvoiceList] + SyncPager[Invoice] """ _response = self._client_wrapper.httpx_client.request( @@ -172,14 +179,43 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedInvoiceList, construct_type( type_=PaginatedInvoiceList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + number=number, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + type=type, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -251,7 +287,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -266,7 +304,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -383,6 +421,92 @@ def partial_update( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def bulk_create( + self, + *, + batch_items: typing.Sequence[InvoiceBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `Invoice` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[InvoiceBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AsyncBulkCreateResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/invoices/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `Invoice` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[BatchObjectsResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/invoices/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def line_items_remote_field_classes_list( self, *, @@ -394,7 +518,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -419,14 +543,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -445,14 +569,29 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -543,7 +682,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -568,14 +707,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -594,14 +733,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -620,7 +774,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InvoicesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -637,7 +793,7 @@ async def list( status: typing.Optional[InvoicesListRequestStatus] = None, type: typing.Optional[InvoicesListRequestType] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedInvoiceList]: + ) -> AsyncPager[Invoice]: """ Returns a list of `Invoice` objects. @@ -658,7 +814,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InvoicesListRequestExpand] + expand : typing.Optional[typing.Union[InvoicesListRequestExpandItem, typing.Sequence[InvoicesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -689,7 +845,7 @@ async def list( If provided, will only return Invoices with this number. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["type"]] Deprecated. Use show_enum_origins. @@ -721,7 +877,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedInvoiceList] + AsyncPager[Invoice] """ _response = await self._client_wrapper.httpx_client.request( @@ -754,14 +910,46 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedInvoiceList, construct_type( type_=PaginatedInvoiceList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + number=number, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + type=type, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -833,7 +1021,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InvoicesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -848,7 +1038,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InvoicesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InvoicesRetrieveRequestExpandItem, typing.Sequence[InvoicesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -965,6 +1155,92 @@ async def partial_update( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def bulk_create( + self, + *, + batch_items: typing.Sequence[InvoiceBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `Invoice` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[InvoiceBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AsyncBulkCreateResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/invoices/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `Invoice` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[BatchObjectsResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/invoices/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def line_items_remote_field_classes_list( self, *, @@ -976,7 +1252,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1001,14 +1277,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1027,14 +1303,32 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -1125,7 +1419,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1150,14 +1444,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1176,14 +1470,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/invoices/types/__init__.py b/src/merge/resources/accounting/resources/invoices/types/__init__.py index 4cfb6508..e3497f37 100644 --- a/src/merge/resources/accounting/resources/invoices/types/__init__.py +++ b/src/merge/resources/accounting/resources/invoices/types/__init__.py @@ -6,15 +6,15 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .invoices_list_request_expand import InvoicesListRequestExpand + from .invoices_list_request_expand_item import InvoicesListRequestExpandItem from .invoices_list_request_status import InvoicesListRequestStatus from .invoices_list_request_type import InvoicesListRequestType - from .invoices_retrieve_request_expand import InvoicesRetrieveRequestExpand + from .invoices_retrieve_request_expand_item import InvoicesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "InvoicesListRequestExpand": ".invoices_list_request_expand", + "InvoicesListRequestExpandItem": ".invoices_list_request_expand_item", "InvoicesListRequestStatus": ".invoices_list_request_status", "InvoicesListRequestType": ".invoices_list_request_type", - "InvoicesRetrieveRequestExpand": ".invoices_retrieve_request_expand", + "InvoicesRetrieveRequestExpandItem": ".invoices_retrieve_request_expand_item", } @@ -38,8 +38,8 @@ def __dir__(): __all__ = [ - "InvoicesListRequestExpand", + "InvoicesListRequestExpandItem", "InvoicesListRequestStatus", "InvoicesListRequestType", - "InvoicesRetrieveRequestExpand", + "InvoicesRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py deleted file mode 100644 index 3183fdb2..00000000 --- a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand.py +++ /dev/null @@ -1,35091 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InvoicesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - APPLIED_CREDIT_NOTES = "applied_credit_notes" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_credit_notes,accounting_period" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_credit_notes,accounting_period,payment_term" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "applied_credit_notes,applied_vendor_credits" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_credit_notes,applied_vendor_credits,company" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_credit_notes,applied_vendor_credits,contact" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_credit_notes,applied_vendor_credits,employee" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY = "applied_credit_notes,company" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,company,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_credit_notes,company,employee" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,company,employee,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,company,employee,payment_term" - APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "applied_credit_notes,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT = "applied_credit_notes,contact" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "applied_credit_notes,contact,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_credit_notes,contact,company" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,contact,company,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "applied_credit_notes,contact,company,employee" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_credit_notes,contact,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_credit_notes,contact,employee" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,contact,employee,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,contact,employee,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "applied_credit_notes,contact,payment_term" - APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_credit_notes,employee" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,employee,accounting_period" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,employee,payment_term" - APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_credit_notes,payment_term" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "applied_payments,applied_credit_notes" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_payments,applied_credit_notes,accounting_period" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "applied_payments,applied_credit_notes,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_payments,applied_credit_notes,company,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "applied_payments,applied_credit_notes,contact" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_payments,applied_credit_notes,contact,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_payments,applied_credit_notes,contact,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_payments,applied_credit_notes,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_payments,applied_credit_notes,payment_term" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "applied_payments,applied_vendor_credits" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,applied_vendor_credits,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,applied_vendor_credits,contact" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,applied_vendor_credits,employee" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,company,accounting_period,payment_term" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "applied_payments,company,employee" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,company,employee,accounting_period" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,company,employee,payment_term" - APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "applied_payments,company,payment_term" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,contact,company,employee" - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,company,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,contact,company,payment_term" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "applied_payments,contact,employee" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,contact,employee,accounting_period" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "applied_payments,contact,payment_term" - APPLIED_PAYMENTS_EMPLOYEE = "applied_payments,employee" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,employee,accounting_period" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "applied_payments,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "applied_payments,line_items,applied_credit_notes" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "applied_payments,line_items,applied_vendor_credits" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "applied_payments,line_items,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "applied_payments,line_items,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "applied_payments,line_items,employee" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "applied_payments,line_items,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "applied_payments,line_items,purchase_orders" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "applied_payments,line_items,purchase_orders,company" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "applied_payments,line_items,purchase_orders,contact" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,line_items,purchase_orders,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "applied_payments,line_items,tracking_categories,purchase_orders" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_PAYMENT_TERM = "applied_payments,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS = "applied_payments,purchase_orders" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "applied_payments,purchase_orders,applied_credit_notes" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "applied_payments,purchase_orders,applied_vendor_credits" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "applied_payments,purchase_orders,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "applied_payments,purchase_orders,company,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "applied_payments,purchase_orders,company,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "applied_payments,purchase_orders,contact" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "applied_payments,purchase_orders,contact,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "applied_payments,purchase_orders,contact,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "applied_payments,purchase_orders,contact,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,purchase_orders,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "applied_payments,purchase_orders,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "applied_payments,tracking_categories,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "applied_payments,tracking_categories,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "applied_payments,tracking_categories,purchase_orders" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_VENDOR_CREDITS = "applied_vendor_credits" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_vendor_credits,accounting_period" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_vendor_credits,accounting_period,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY = "applied_vendor_credits,company" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_vendor_credits,company,accounting_period" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_vendor_credits,company,employee" - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,company,employee,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_vendor_credits,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT = "applied_vendor_credits,contact" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_vendor_credits,contact,accounting_period" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_vendor_credits,contact,company" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_vendor_credits,contact,company,employee" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_vendor_credits,contact,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_vendor_credits,contact,employee" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,contact,employee,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_vendor_credits,contact,payment_term" - APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_vendor_credits,employee" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_vendor_credits,employee,accounting_period" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,employee,payment_term" - APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_vendor_credits,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,employee,accounting_period,payment_term" - COMPANY_EMPLOYEE_PAYMENT_TERM = "company,employee,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,accounting_period,payment_term" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,employee,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "contact,company,employee,payment_term" - CONTACT_COMPANY_PAYMENT_TERM = "contact,company,payment_term" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,employee,accounting_period,payment_term" - CONTACT_EMPLOYEE_PAYMENT_TERM = "contact,employee,payment_term" - CONTACT_PAYMENT_TERM = "contact,payment_term" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "employee,accounting_period,payment_term" - EMPLOYEE_PAYMENT_TERM = "employee,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES = "line_items,applied_credit_notes" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "line_items,applied_credit_notes,accounting_period" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "line_items,applied_credit_notes,applied_vendor_credits" - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,applied_credit_notes,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "line_items,applied_credit_notes,company,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "line_items,applied_credit_notes,company,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,applied_credit_notes,contact" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "line_items,applied_credit_notes,contact,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "line_items,applied_credit_notes,contact,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "line_items,applied_credit_notes,contact,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "line_items,applied_credit_notes,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "line_items,applied_credit_notes,employee,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "line_items,applied_credit_notes,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS = "line_items,applied_vendor_credits" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "line_items,applied_vendor_credits,accounting_period" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "line_items,applied_vendor_credits,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "line_items,applied_vendor_credits,company,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,applied_vendor_credits,company,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "line_items,applied_vendor_credits,contact" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "line_items,applied_vendor_credits,contact,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "line_items,applied_vendor_credits,contact,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "line_items,applied_vendor_credits,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "line_items,applied_vendor_credits,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_EMPLOYEE = "line_items,company,employee" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,company,employee,accounting_period" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,company,employee,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,contact,accounting_period,payment_term" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "line_items,contact,company,employee" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,company,employee,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,contact,company,employee,payment_term" - LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,contact,company,payment_term" - LINE_ITEMS_CONTACT_EMPLOYEE = "line_items,contact,employee" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,employee,accounting_period" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,contact,employee,payment_term" - LINE_ITEMS_CONTACT_PAYMENT_TERM = "line_items,contact,payment_term" - LINE_ITEMS_EMPLOYEE = "line_items,employee" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,employee,accounting_period" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,employee,accounting_period,payment_term" - LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "line_items,employee,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_PURCHASE_ORDERS = "line_items,purchase_orders" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "line_items,purchase_orders,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "line_items,purchase_orders,applied_credit_notes" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,purchase_orders,applied_credit_notes,company" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,purchase_orders,applied_credit_notes,contact" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "line_items,purchase_orders,applied_vendor_credits" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "line_items,purchase_orders,company" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "line_items,purchase_orders,company,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "line_items,purchase_orders,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "line_items,purchase_orders,contact" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "line_items,purchase_orders,contact,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "line_items,purchase_orders,contact,company" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "line_items,purchase_orders,contact,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,contact,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "line_items,purchase_orders,contact,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "line_items,purchase_orders,contact,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "line_items,purchase_orders,employee" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "line_items,purchase_orders,employee,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "line_items,purchase_orders,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "line_items,tracking_categories,applied_credit_notes" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "line_items,tracking_categories,applied_vendor_credits" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "line_items,tracking_categories,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "line_items,tracking_categories,contact,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "line_items,tracking_categories,employee" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "line_items,tracking_categories,purchase_orders" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "line_items,tracking_categories,purchase_orders,company" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "line_items,tracking_categories,purchase_orders,contact" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "line_items,tracking_categories,purchase_orders,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENT_TERM = "payment_term" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,accounting_period,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_credit_notes" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_credit_notes,company" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "payments,applied_credit_notes,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "payments,applied_credit_notes,contact,company" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "payments,applied_credit_notes,contact,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,applied_credit_notes,payment_term" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_payments,applied_credit_notes" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_payments,applied_credit_notes,company" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_payments,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "payments,applied_payments,company,employee" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "payments,applied_payments,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "payments,applied_payments,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "payments,applied_payments,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE = "payments,applied_payments,employee" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,applied_payments,line_items,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,applied_payments,line_items,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,applied_payments,line_items,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM = "payments,applied_payments,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS = "payments,applied_payments,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,applied_payments,purchase_orders,company" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,applied_payments,purchase_orders,contact" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,applied_payments,purchase_orders,employee" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,applied_payments,purchase_orders,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,applied_payments,tracking_categories,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_vendor_credits" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_vendor_credits,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_vendor_credits,contact" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_vendor_credits,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_vendor_credits,payment_term" - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,company,accounting_period,payment_term" - PAYMENTS_COMPANY_EMPLOYEE = "payments,company,employee" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,company,employee,accounting_period" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,company,employee,payment_term" - PAYMENTS_COMPANY_PAYMENT_TERM = "payments,company,payment_term" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,company,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,contact,company,employee" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,company,employee,accounting_period" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,contact,company,employee,payment_term" - PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,contact,company,payment_term" - PAYMENTS_CONTACT_EMPLOYEE = "payments,contact,employee" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,employee,accounting_period" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,contact,employee,payment_term" - PAYMENTS_CONTACT_PAYMENT_TERM = "payments,contact,payment_term" - PAYMENTS_EMPLOYEE = "payments,employee" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,employee,accounting_period" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,employee,accounting_period,payment_term" - PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,employee,payment_term" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "payments,line_items,applied_credit_notes" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "payments,line_items,applied_credit_notes,company" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "payments,line_items,applied_credit_notes,contact" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,line_items,applied_credit_notes,employee" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,line_items,applied_credit_notes,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "payments,line_items,applied_vendor_credits" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,line_items,applied_vendor_credits,company" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,line_items,applied_vendor_credits,contact" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,line_items,applied_vendor_credits,employee" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,line_items,company,employee" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "payments,line_items,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,contact,company,employee" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,line_items,contact,employee" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "payments,line_items,contact,payment_term" - PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,line_items,employee" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,employee,accounting_period" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,employee,payment_term" - PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,line_items,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,line_items,purchase_orders" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "payments,line_items,purchase_orders,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,line_items,purchase_orders,company,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "payments,line_items,purchase_orders,contact" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,line_items,purchase_orders,contact,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,line_items,purchase_orders,contact,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "payments,line_items,purchase_orders,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,line_items,purchase_orders,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "payments,line_items,tracking_categories,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,line_items,tracking_categories,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,line_items,tracking_categories,purchase_orders" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_PAYMENT_TERM = "payments,payment_term" - PAYMENTS_PURCHASE_ORDERS = "payments,purchase_orders" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,purchase_orders,accounting_period" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "payments,purchase_orders,applied_credit_notes" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "payments,purchase_orders,applied_credit_notes,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "payments,purchase_orders,applied_credit_notes,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,purchase_orders,applied_credit_notes,employee" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "payments,purchase_orders,applied_vendor_credits" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,purchase_orders,applied_vendor_credits,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,purchase_orders,applied_vendor_credits,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,purchase_orders,company" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "payments,purchase_orders,company,accounting_period" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,purchase_orders,company,employee" - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,company,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "payments,purchase_orders,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,purchase_orders,contact" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "payments,purchase_orders,contact,accounting_period" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,purchase_orders,contact,company" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "payments,purchase_orders,contact,company,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "payments,purchase_orders,contact,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,purchase_orders,contact,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,contact,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "payments,purchase_orders,contact,payment_term" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,purchase_orders,employee" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,purchase_orders,payment_term" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "payments,tracking_categories,applied_credit_notes" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "payments,tracking_categories,applied_vendor_credits" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "payments,tracking_categories,company,employee" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "payments,tracking_categories,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "payments,tracking_categories,contact,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "payments,tracking_categories,contact,payment_term" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,tracking_categories,employee" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,tracking_categories,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,tracking_categories,purchase_orders" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "payments,tracking_categories,purchase_orders,company" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "payments,tracking_categories,purchase_orders,contact" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "payments,tracking_categories,purchase_orders,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,payment_term" - ) - PURCHASE_ORDERS = "purchase_orders" - PURCHASE_ORDERS_ACCOUNTING_PERIOD = "purchase_orders,accounting_period" - PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "purchase_orders,applied_credit_notes" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "purchase_orders,applied_credit_notes,accounting_period" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "purchase_orders,applied_credit_notes,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "purchase_orders,applied_credit_notes,company,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "purchase_orders,applied_credit_notes,contact" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "purchase_orders,applied_credit_notes,contact,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "purchase_orders,applied_credit_notes,contact,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "purchase_orders,applied_credit_notes,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "purchase_orders,applied_credit_notes,payment_term" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "purchase_orders,applied_vendor_credits" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "purchase_orders,applied_vendor_credits,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "purchase_orders,applied_vendor_credits,company,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "purchase_orders,applied_vendor_credits,contact" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "purchase_orders,applied_vendor_credits,contact,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "purchase_orders,applied_vendor_credits,contact,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "purchase_orders,applied_vendor_credits,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "purchase_orders,applied_vendor_credits,payment_term" - PURCHASE_ORDERS_COMPANY = "purchase_orders,company" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,company,accounting_period" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,company,accounting_period,payment_term" - PURCHASE_ORDERS_COMPANY_EMPLOYEE = "purchase_orders,company,employee" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,company,employee,accounting_period" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,company,employee,payment_term" - PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "purchase_orders,company,payment_term" - PURCHASE_ORDERS_CONTACT = "purchase_orders,contact" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "purchase_orders,contact,accounting_period" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,contact,accounting_period,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY = "purchase_orders,contact,company" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,contact,company,accounting_period" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "purchase_orders,contact,company,employee" - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,company,employee,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "purchase_orders,contact,company,payment_term" - PURCHASE_ORDERS_CONTACT_EMPLOYEE = "purchase_orders,contact,employee" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,contact,employee,accounting_period" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,employee,payment_term" - PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "purchase_orders,contact,payment_term" - PURCHASE_ORDERS_EMPLOYEE = "purchase_orders,employee" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,employee,accounting_period" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,employee,accounting_period,payment_term" - PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "purchase_orders,employee,payment_term" - PURCHASE_ORDERS_PAYMENT_TERM = "purchase_orders,payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "tracking_categories,applied_credit_notes" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = "tracking_categories,applied_credit_notes,company" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = "tracking_categories,applied_credit_notes,contact" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = "tracking_categories,applied_credit_notes,employee" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "tracking_categories,applied_credit_notes,payment_term" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "tracking_categories,applied_vendor_credits" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = "tracking_categories,applied_vendor_credits,company" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = "tracking_categories,applied_vendor_credits,contact" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "tracking_categories,applied_vendor_credits,employee" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "tracking_categories,applied_vendor_credits,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,company,employee,payment_term" - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = "tracking_categories,contact,company,payment_term" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = "tracking_categories,contact,employee,payment_term" - TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "tracking_categories,contact,payment_term" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "tracking_categories,employee,payment_term" - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS = "tracking_categories,purchase_orders" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "tracking_categories,purchase_orders,applied_credit_notes" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "tracking_categories,purchase_orders,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "tracking_categories,purchase_orders,company,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "tracking_categories,purchase_orders,contact" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = "tracking_categories,purchase_orders,contact,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "tracking_categories,purchase_orders,contact,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "tracking_categories,purchase_orders,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = "tracking_categories,purchase_orders,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_employee: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee_payment_term: typing.Callable[[], T_Result], - contact_company_payment_term: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_employee_payment_term: typing.Callable[[], T_Result], - contact_payment_term: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_payment_term: typing.Callable[[], T_Result], - employee_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_payment_term: typing.Callable[[], T_Result], - line_items_employee: typing.Callable[[], T_Result], - line_items_employee_accounting_period: typing.Callable[[], T_Result], - line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_employee_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee: typing.Callable[[], T_Result], - payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_company_payment_term: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_contact_employee: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_payment_term: typing.Callable[[], T_Result], - payments_employee: typing.Callable[[], T_Result], - payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - purchase_orders: typing.Callable[[], T_Result], - purchase_orders_accounting_period: typing.Callable[[], T_Result], - purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_company: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InvoicesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is InvoicesListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES: - return applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_credit_notes_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_credit_notes_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY: - return applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT: - return applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_credit_notes_employee() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return applied_payments_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return applied_payments_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return applied_payments_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return applied_payments_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return applied_payments_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE: - return applied_payments_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return applied_payments_line_items_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return applied_payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return applied_payments_line_items_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return applied_payments_line_items_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return applied_payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PAYMENT_TERM: - return applied_payments_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS: - return applied_payments_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return applied_payments_purchase_orders_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return applied_payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS: - return applied_vendor_credits() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY: - return applied_vendor_credits_company() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT: - return applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_vendor_credits_contact_company_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.COMPANY: - return company() - if self is InvoicesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is InvoicesListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.COMPANY_EMPLOYEE_PAYMENT_TERM: - return company_employee_payment_term() - if self is InvoicesListRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is InvoicesListRequestExpand.CONTACT: - return contact() - if self is InvoicesListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.CONTACT_COMPANY_PAYMENT_TERM: - return contact_company_payment_term() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.CONTACT_EMPLOYEE_PAYMENT_TERM: - return contact_employee_payment_term() - if self is InvoicesListRequestExpand.CONTACT_PAYMENT_TERM: - return contact_payment_term() - if self is InvoicesListRequestExpand.EMPLOYEE: - return employee() - if self is InvoicesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is InvoicesListRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.EMPLOYEE_PAYMENT_TERM: - return employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS: - return line_items() - if self is InvoicesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES: - return line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE: - return line_items_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return line_items_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE: - return line_items_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_CONTACT_PAYMENT_TERM: - return line_items_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE: - return line_items_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return line_items_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS: - return line_items_purchase_orders() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return line_items_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return line_items_tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return line_items_tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENT_TERM: - return payment_term() - if self is InvoicesListRequestExpand.PAYMENTS: - return payments() - if self is InvoicesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_credit_notes_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return payments_applied_payments_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return payments_applied_payments_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE: - return payments_applied_payments_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_line_items_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_applied_payments_line_items_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_applied_payments_line_items_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_applied_payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_line_items_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_line_items_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM: - return payments_applied_payments_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS: - return payments_applied_payments_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_tracking_categories_purchase_orders() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE: - return payments_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE: - return payments_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE: - return payments_employee() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_line_items_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_line_items_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_line_items_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_line_items_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_line_items_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_line_items_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_line_items_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_line_items_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_line_items_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_line_items_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_line_items_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_line_items_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_line_items_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_line_items_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PAYMENT_TERM: - return payments_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS: - return payments_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_purchase_orders_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_purchase_orders_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_tracking_categories_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_tracking_categories_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_tracking_categories_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS: - return purchase_orders() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return purchase_orders_applied_credit_notes_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return purchase_orders_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return purchase_orders_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return purchase_orders_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_vendor_credits() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return purchase_orders_applied_vendor_credits_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY: - return purchase_orders_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return purchase_orders_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT: - return purchase_orders_contact() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY: - return purchase_orders_contact_company() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_contact_company_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE: - return purchase_orders_employee() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_employee_accounting_period() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.PURCHASE_ORDERS_PAYMENT_TERM: - return purchase_orders_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return tracking_categories_applied_credit_notes() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_applied_credit_notes_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_applied_credit_notes_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_applied_credit_notes_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_applied_credit_notes_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_vendor_credits() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_vendor_credits_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_vendor_credits_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_vendor_credits_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return tracking_categories_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS: - return tracking_categories_purchase_orders() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return tracking_categories_purchase_orders_applied_credit_notes() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return tracking_categories_purchase_orders_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_company_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return tracking_categories_purchase_orders_contact() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_accounting_period() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_contact_company() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_contact_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return tracking_categories_purchase_orders_employee() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesListRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return tracking_categories_purchase_orders_payment_term() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py new file mode 100644 index 00000000..ae330277 --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_list_request_expand_item.py @@ -0,0 +1,65 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_CREDIT_NOTES = "applied_credit_notes" + APPLIED_PAYMENTS = "applied_payments" + APPLIED_VENDOR_CREDITS = "applied_vendor_credits" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + PAYMENTS = "payments" + PURCHASE_ORDERS = "purchase_orders" + SALES_ORDERS = "sales_orders" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_credit_notes: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + applied_vendor_credits: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + purchase_orders: typing.Callable[[], T_Result], + sales_orders: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InvoicesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is InvoicesListRequestExpandItem.APPLIED_CREDIT_NOTES: + return applied_credit_notes() + if self is InvoicesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is InvoicesListRequestExpandItem.APPLIED_VENDOR_CREDITS: + return applied_vendor_credits() + if self is InvoicesListRequestExpandItem.COMPANY: + return company() + if self is InvoicesListRequestExpandItem.CONTACT: + return contact() + if self is InvoicesListRequestExpandItem.EMPLOYEE: + return employee() + if self is InvoicesListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is InvoicesListRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is InvoicesListRequestExpandItem.PAYMENTS: + return payments() + if self is InvoicesListRequestExpandItem.PURCHASE_ORDERS: + return purchase_orders() + if self is InvoicesListRequestExpandItem.SALES_ORDERS: + return sales_orders() + if self is InvoicesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py deleted file mode 100644 index 94eda58f..00000000 --- a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand.py +++ /dev/null @@ -1,35724 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InvoicesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - APPLIED_CREDIT_NOTES = "applied_credit_notes" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_credit_notes,accounting_period" - APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_credit_notes,accounting_period,payment_term" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "applied_credit_notes,applied_vendor_credits" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_credit_notes,applied_vendor_credits,company" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_credit_notes,applied_vendor_credits,contact" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_credit_notes,applied_vendor_credits,employee" - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY = "applied_credit_notes,company" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,company,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_credit_notes,company,employee" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,company,employee,accounting_period" - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,company,employee,payment_term" - APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "applied_credit_notes,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT = "applied_credit_notes,contact" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "applied_credit_notes,contact,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_credit_notes,contact,company" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_credit_notes,contact,company,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "applied_credit_notes,contact,company,employee" - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_credit_notes,contact,company,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_credit_notes,contact,employee" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,contact,employee,accounting_period" - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,contact,employee,payment_term" - APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "applied_credit_notes,contact,payment_term" - APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_credit_notes,employee" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_credit_notes,employee,accounting_period" - APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "applied_credit_notes,employee,payment_term" - APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_credit_notes,payment_term" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "applied_payments,applied_credit_notes" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "applied_payments,applied_credit_notes,accounting_period" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "applied_payments,applied_credit_notes,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "applied_payments,applied_credit_notes,company,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "applied_payments,applied_credit_notes,contact" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "applied_payments,applied_credit_notes,contact,company" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "applied_payments,applied_credit_notes,contact,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "applied_payments,applied_credit_notes,employee" - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "applied_payments,applied_credit_notes,payment_term" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "applied_payments,applied_vendor_credits" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,applied_vendor_credits,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,applied_vendor_credits,contact" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,applied_vendor_credits,employee" - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,company,accounting_period,payment_term" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "applied_payments,company,employee" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,company,employee,accounting_period" - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,company,employee,payment_term" - APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "applied_payments,company,payment_term" - APPLIED_PAYMENTS_CONTACT = "applied_payments,contact" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,contact,accounting_period" - APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY = "applied_payments,contact,company" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,contact,company,accounting_period" - APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,contact,company,employee" - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,company,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,contact,company,payment_term" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "applied_payments,contact,employee" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,contact,employee,accounting_period" - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,contact,employee,payment_term" - APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "applied_payments,contact,payment_term" - APPLIED_PAYMENTS_EMPLOYEE = "applied_payments,employee" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,employee,accounting_period" - APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "applied_payments,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS = "applied_payments,line_items" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "applied_payments,line_items,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "applied_payments,line_items,applied_credit_notes" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "applied_payments,line_items,applied_vendor_credits" - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "applied_payments,line_items,company" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "applied_payments,line_items,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "applied_payments,line_items,contact" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "applied_payments,line_items,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "applied_payments,line_items,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "applied_payments,line_items,employee" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "applied_payments,line_items,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "applied_payments,line_items,purchase_orders" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "applied_payments,line_items,purchase_orders,company" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "applied_payments,line_items,purchase_orders,contact" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,line_items,purchase_orders,employee" - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "applied_payments,line_items,tracking_categories" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "applied_payments,line_items,tracking_categories,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "applied_payments,line_items,tracking_categories,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "applied_payments,line_items,tracking_categories,purchase_orders" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_PAYMENTS_PAYMENT_TERM = "applied_payments,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS = "applied_payments,purchase_orders" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "applied_payments,purchase_orders,applied_credit_notes" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "applied_payments,purchase_orders,applied_vendor_credits" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "applied_payments,purchase_orders,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "applied_payments,purchase_orders,company,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "applied_payments,purchase_orders,company,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "applied_payments,purchase_orders,contact" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "applied_payments,purchase_orders,contact,company" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "applied_payments,purchase_orders,contact,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "applied_payments,purchase_orders,contact,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "applied_payments,purchase_orders,employee" - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "applied_payments,purchase_orders,employee,payment_term" - APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "applied_payments,purchase_orders,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "applied_payments,tracking_categories,contact" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "applied_payments,tracking_categories,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "applied_payments,tracking_categories,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "applied_payments,tracking_categories,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "applied_payments,tracking_categories,purchase_orders" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "applied_payments,tracking_categories,purchase_orders,contact" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "applied_payments,tracking_categories,purchase_orders,contact,company" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "applied_payments,tracking_categories,purchase_orders,employee" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "applied_payments,tracking_categories,purchase_orders,payment_term" - ) - APPLIED_VENDOR_CREDITS = "applied_vendor_credits" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "applied_vendor_credits,accounting_period" - APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "applied_vendor_credits,accounting_period,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY = "applied_vendor_credits,company" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "applied_vendor_credits,company,accounting_period" - APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "applied_vendor_credits,company,employee" - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,company,employee,payment_term" - APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "applied_vendor_credits,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT = "applied_vendor_credits,contact" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "applied_vendor_credits,contact,accounting_period" - APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "applied_vendor_credits,contact,company" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "applied_vendor_credits,contact,company,employee" - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,company,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "applied_vendor_credits,contact,company,employee,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "applied_vendor_credits,contact,company,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "applied_vendor_credits,contact,employee" - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "applied_vendor_credits,contact,employee,accounting_period" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,contact,employee,payment_term" - APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "applied_vendor_credits,contact,payment_term" - APPLIED_VENDOR_CREDITS_EMPLOYEE = "applied_vendor_credits,employee" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "applied_vendor_credits,employee,accounting_period" - APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "applied_vendor_credits,employee,accounting_period,payment_term" - ) - APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "applied_vendor_credits,employee,payment_term" - APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "applied_vendor_credits,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_EMPLOYEE = "company,employee" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "company,employee,accounting_period" - COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,employee,accounting_period,payment_term" - COMPANY_EMPLOYEE_PAYMENT_TERM = "company,employee,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - CONTACT = "contact" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,accounting_period,payment_term" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE = "contact,company,employee" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "contact,company,employee,accounting_period" - CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,company,employee,accounting_period,payment_term" - CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "contact,company,employee,payment_term" - CONTACT_COMPANY_PAYMENT_TERM = "contact,company,payment_term" - CONTACT_EMPLOYEE = "contact,employee" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "contact,employee,accounting_period" - CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "contact,employee,accounting_period,payment_term" - CONTACT_EMPLOYEE_PAYMENT_TERM = "contact,employee,payment_term" - CONTACT_PAYMENT_TERM = "contact,payment_term" - EMPLOYEE = "employee" - EMPLOYEE_ACCOUNTING_PERIOD = "employee,accounting_period" - EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "employee,accounting_period,payment_term" - EMPLOYEE_PAYMENT_TERM = "employee,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES = "line_items,applied_credit_notes" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "line_items,applied_credit_notes,accounting_period" - LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "line_items,applied_credit_notes,applied_vendor_credits" - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,applied_credit_notes,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "line_items,applied_credit_notes,company,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "line_items,applied_credit_notes,company,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,applied_credit_notes,contact" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "line_items,applied_credit_notes,contact,company" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "line_items,applied_credit_notes,contact,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "line_items,applied_credit_notes,contact,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "line_items,applied_credit_notes,employee" - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "line_items,applied_credit_notes,employee,payment_term" - LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "line_items,applied_credit_notes,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS = "line_items,applied_vendor_credits" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "line_items,applied_vendor_credits,accounting_period" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "line_items,applied_vendor_credits,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "line_items,applied_vendor_credits,company,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,applied_vendor_credits,company,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "line_items,applied_vendor_credits,contact" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "line_items,applied_vendor_credits,contact,company" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "line_items,applied_vendor_credits,contact,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "line_items,applied_vendor_credits,employee" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "line_items,applied_vendor_credits,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_EMPLOYEE = "line_items,company,employee" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,company,employee,accounting_period" - LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,company,employee,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,contact,accounting_period,payment_term" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "line_items,contact,company,employee" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,company,employee,accounting_period" - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,contact,company,employee,payment_term" - LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,contact,company,payment_term" - LINE_ITEMS_CONTACT_EMPLOYEE = "line_items,contact,employee" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,contact,employee,accounting_period" - LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,contact,employee,payment_term" - LINE_ITEMS_CONTACT_PAYMENT_TERM = "line_items,contact,payment_term" - LINE_ITEMS_EMPLOYEE = "line_items,employee" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,employee,accounting_period" - LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,employee,accounting_period,payment_term" - LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "line_items,employee,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_PURCHASE_ORDERS = "line_items,purchase_orders" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "line_items,purchase_orders,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "line_items,purchase_orders,applied_credit_notes" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "line_items,purchase_orders,applied_credit_notes,company" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "line_items,purchase_orders,applied_credit_notes,contact" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "line_items,purchase_orders,applied_vendor_credits" - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "line_items,purchase_orders,company" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "line_items,purchase_orders,company,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "line_items,purchase_orders,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "line_items,purchase_orders,contact" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "line_items,purchase_orders,contact,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "line_items,purchase_orders,contact,company" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "line_items,purchase_orders,contact,company,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,purchase_orders,contact,company,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "line_items,purchase_orders,contact,employee" - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "line_items,purchase_orders,contact,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "line_items,purchase_orders,employee" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,purchase_orders,employee,accounting_period" - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "line_items,purchase_orders,employee,payment_term" - LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "line_items,purchase_orders,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "line_items,tracking_categories,applied_credit_notes" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "line_items,tracking_categories,applied_vendor_credits" - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "line_items,tracking_categories,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "line_items,tracking_categories,contact,employee" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "line_items,tracking_categories,employee" - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "line_items,tracking_categories,purchase_orders" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "line_items,tracking_categories,purchase_orders,company" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "line_items,tracking_categories,purchase_orders,contact" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "line_items,tracking_categories,purchase_orders,contact,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "line_items,tracking_categories,purchase_orders,contact,employee" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "line_items,tracking_categories,purchase_orders,employee" - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENT_TERM = "payment_term" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,accounting_period,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_credit_notes" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_credit_notes,company" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "payments,applied_credit_notes,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "payments,applied_credit_notes,contact,company" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "payments,applied_credit_notes,contact,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,applied_credit_notes,payment_term" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES = "payments,applied_payments,applied_credit_notes" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY = "payments,applied_payments,applied_credit_notes,company" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT = "payments,applied_payments,applied_credit_notes,contact" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,applied_payments,applied_credit_notes,employee" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_payments,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE = "payments,applied_payments,company,employee" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM = "payments,applied_payments,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT = "payments,applied_payments,contact" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY = "payments,applied_payments,contact,company" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE = "payments,applied_payments,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM = "payments,applied_payments,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE = "payments,applied_payments,employee" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS = "payments,applied_payments,line_items" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY = "payments,applied_payments,line_items,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT = "payments,applied_payments,line_items,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,applied_payments,line_items,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,applied_payments,line_items,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,applied_payments,line_items,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,applied_payments,line_items,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = ( - "payments,applied_payments,line_items,tracking_categories" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM = "payments,applied_payments,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS = "payments,applied_payments,purchase_orders" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,applied_payments,purchase_orders,company" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,applied_payments,purchase_orders,contact" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,applied_payments,purchase_orders,employee" - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,applied_payments,purchase_orders,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,applied_payments,tracking_categories,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,applied_payments,tracking_categories,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = ( - "payments,applied_payments,tracking_categories,purchase_orders" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,applied_payments,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS = "payments,applied_vendor_credits" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,applied_vendor_credits,accounting_period" - PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,applied_vendor_credits,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,applied_vendor_credits,company,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,applied_vendor_credits,company,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,applied_vendor_credits,contact" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,applied_vendor_credits,contact,company" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,applied_vendor_credits,contact,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,applied_vendor_credits,contact,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,applied_vendor_credits,employee" - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,applied_vendor_credits,employee,payment_term" - PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,applied_vendor_credits,payment_term" - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,company,accounting_period,payment_term" - PAYMENTS_COMPANY_EMPLOYEE = "payments,company,employee" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,company,employee,accounting_period" - PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,company,employee,accounting_period,payment_term" - ) - PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,company,employee,payment_term" - PAYMENTS_COMPANY_PAYMENT_TERM = "payments,company,payment_term" - PAYMENTS_CONTACT = "payments,contact" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD = "payments,contact,accounting_period" - PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY = "payments,contact,company" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,contact,company,accounting_period" - PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,contact,company,accounting_period,payment_term" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE = "payments,contact,company,employee" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,company,employee,accounting_period" - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,contact,company,employee,payment_term" - PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM = "payments,contact,company,payment_term" - PAYMENTS_CONTACT_EMPLOYEE = "payments,contact,employee" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,contact,employee,accounting_period" - PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,contact,employee,payment_term" - PAYMENTS_CONTACT_PAYMENT_TERM = "payments,contact,payment_term" - PAYMENTS_EMPLOYEE = "payments,employee" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,employee,accounting_period" - PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,employee,accounting_period,payment_term" - PAYMENTS_EMPLOYEE_PAYMENT_TERM = "payments,employee,payment_term" - PAYMENTS_LINE_ITEMS = "payments,line_items" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD = "payments,line_items,accounting_period" - PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES = "payments,line_items,applied_credit_notes" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY = "payments,line_items,applied_credit_notes,company" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT = "payments,line_items,applied_credit_notes,contact" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,line_items,applied_credit_notes,employee" - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "payments,line_items,applied_credit_notes,payment_term" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS = "payments,line_items,applied_vendor_credits" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,line_items,applied_vendor_credits,company" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,line_items,applied_vendor_credits,contact" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "payments,line_items,applied_vendor_credits,employee" - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY = "payments,line_items,company" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,company,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE = "payments,line_items,company,employee" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM = "payments,line_items,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT = "payments,line_items,contact" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,contact,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY = "payments,line_items,contact,company" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,contact,company,employee" - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE = "payments,line_items,contact,employee" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM = "payments,line_items,contact,payment_term" - PAYMENTS_LINE_ITEMS_EMPLOYEE = "payments,line_items,employee" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,employee,accounting_period" - PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,employee,payment_term" - PAYMENTS_LINE_ITEMS_PAYMENT_TERM = "payments,line_items,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS = "payments,line_items,purchase_orders" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY = "payments,line_items,purchase_orders,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,line_items,purchase_orders,company,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT = "payments,line_items,purchase_orders,contact" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,line_items,purchase_orders,contact,company" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,line_items,purchase_orders,contact,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE = "payments,line_items,purchase_orders,employee" - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,line_items,purchase_orders,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES = "payments,line_items,tracking_categories" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "payments,line_items,tracking_categories,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "payments,line_items,tracking_categories,contact" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,line_items,tracking_categories,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE = "payments,line_items,tracking_categories,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,line_items,tracking_categories,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,line_items,tracking_categories,purchase_orders" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = ( - "payments,line_items,tracking_categories,purchase_orders,contact" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = ( - "payments,line_items,tracking_categories,purchase_orders,employee" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,line_items,tracking_categories,purchase_orders,payment_term" - ) - PAYMENTS_PAYMENT_TERM = "payments,payment_term" - PAYMENTS_PURCHASE_ORDERS = "payments,purchase_orders" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "payments,purchase_orders,accounting_period" - PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "payments,purchase_orders,applied_credit_notes" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "payments,purchase_orders,applied_credit_notes,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "payments,purchase_orders,applied_credit_notes,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "payments,purchase_orders,applied_credit_notes,employee" - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "payments,purchase_orders,applied_vendor_credits" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "payments,purchase_orders,applied_vendor_credits,company" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "payments,purchase_orders,applied_vendor_credits,contact" - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY = "payments,purchase_orders,company" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "payments,purchase_orders,company,accounting_period" - PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "payments,purchase_orders,company,employee" - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,company,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "payments,purchase_orders,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT = "payments,purchase_orders,contact" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "payments,purchase_orders,contact,accounting_period" - PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY = "payments,purchase_orders,contact,company" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "payments,purchase_orders,contact,company,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "payments,purchase_orders,contact,company,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "payments,purchase_orders,contact,employee" - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,contact,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "payments,purchase_orders,contact,payment_term" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE = "payments,purchase_orders,employee" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,purchase_orders,employee,accounting_period" - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "payments,purchase_orders,employee,payment_term" - PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM = "payments,purchase_orders,payment_term" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "payments,tracking_categories,applied_credit_notes" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "payments,tracking_categories,applied_vendor_credits" - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "payments,tracking_categories,company,employee" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "payments,tracking_categories,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_CONTACT = "payments,tracking_categories,contact" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY = "payments,tracking_categories,contact,company" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "payments,tracking_categories,contact,employee" - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "payments,tracking_categories,contact,payment_term" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE = "payments,tracking_categories,employee" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM = "payments,tracking_categories,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS = "payments,tracking_categories,purchase_orders" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "payments,tracking_categories,purchase_orders,company" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "payments,tracking_categories,purchase_orders,contact" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = ( - "payments,tracking_categories,purchase_orders,contact,company" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,company,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,company,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = ( - "payments,tracking_categories,purchase_orders,contact,employee" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,contact,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "payments,tracking_categories,purchase_orders,employee" - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,employee,payment_term" - ) - PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = ( - "payments,tracking_categories,purchase_orders,payment_term" - ) - PURCHASE_ORDERS = "purchase_orders" - PURCHASE_ORDERS_ACCOUNTING_PERIOD = "purchase_orders,accounting_period" - PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = "purchase_orders,applied_credit_notes" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = "purchase_orders,applied_credit_notes,accounting_period" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = "purchase_orders,applied_credit_notes,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = "purchase_orders,applied_credit_notes,company,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = "purchase_orders,applied_credit_notes,contact" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = "purchase_orders,applied_credit_notes,contact,company" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_credit_notes,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = "purchase_orders,applied_credit_notes,contact,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = "purchase_orders,applied_credit_notes,employee" - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_credit_notes,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_credit_notes,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "purchase_orders,applied_credit_notes,payment_term" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = "purchase_orders,applied_vendor_credits" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = "purchase_orders,applied_vendor_credits,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = "purchase_orders,applied_vendor_credits,company,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = "purchase_orders,applied_vendor_credits,contact" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = "purchase_orders,applied_vendor_credits,contact,company" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "purchase_orders,applied_vendor_credits,contact,company,employee" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = "purchase_orders,applied_vendor_credits,contact,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,contact,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = "purchase_orders,applied_vendor_credits,employee" - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "purchase_orders,applied_vendor_credits,employee,payment_term" - ) - PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "purchase_orders,applied_vendor_credits,payment_term" - PURCHASE_ORDERS_COMPANY = "purchase_orders,company" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,company,accounting_period" - PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,company,accounting_period,payment_term" - PURCHASE_ORDERS_COMPANY_EMPLOYEE = "purchase_orders,company,employee" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,company,employee,accounting_period" - PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,company,employee,payment_term" - PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = "purchase_orders,company,payment_term" - PURCHASE_ORDERS_CONTACT = "purchase_orders,contact" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = "purchase_orders,contact,accounting_period" - PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,contact,accounting_period,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY = "purchase_orders,contact,company" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "purchase_orders,contact,company,accounting_period" - PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = "purchase_orders,contact,company,employee" - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "purchase_orders,contact,company,employee,accounting_period" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,company,employee,payment_term" - PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = "purchase_orders,contact,company,payment_term" - PURCHASE_ORDERS_CONTACT_EMPLOYEE = "purchase_orders,contact,employee" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,contact,employee,accounting_period" - PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "purchase_orders,contact,employee,accounting_period,payment_term" - ) - PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = "purchase_orders,contact,employee,payment_term" - PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = "purchase_orders,contact,payment_term" - PURCHASE_ORDERS_EMPLOYEE = "purchase_orders,employee" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = "purchase_orders,employee,accounting_period" - PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "purchase_orders,employee,accounting_period,payment_term" - PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = "purchase_orders,employee,payment_term" - PURCHASE_ORDERS_PAYMENT_TERM = "purchase_orders,payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES = "tracking_categories,applied_credit_notes" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY = "tracking_categories,applied_credit_notes,company" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT = "tracking_categories,applied_credit_notes,contact" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE = "tracking_categories,applied_credit_notes,employee" - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM = "tracking_categories,applied_credit_notes,payment_term" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS = "tracking_categories,applied_vendor_credits" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY = "tracking_categories,applied_vendor_credits,company" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT = "tracking_categories,applied_vendor_credits,contact" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE = "tracking_categories,applied_vendor_credits,employee" - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = "tracking_categories,applied_vendor_credits,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE = "tracking_categories,company,employee" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,company,employee,accounting_period" - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,company,employee,payment_term" - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE = "tracking_categories,contact,company,employee" - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM = "tracking_categories,contact,company,payment_term" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE = "tracking_categories,contact,employee" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,contact,employee,accounting_period" - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM = "tracking_categories,contact,employee,payment_term" - TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM = "tracking_categories,contact,payment_term" - TRACKING_CATEGORIES_EMPLOYEE = "tracking_categories,employee" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,employee,accounting_period" - TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM = "tracking_categories,employee,payment_term" - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS = "tracking_categories,purchase_orders" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES = ( - "tracking_categories,purchase_orders,applied_credit_notes" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,employee,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_credit_notes,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS = ( - "tracking_categories,purchase_orders,applied_vendor_credits" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,accounting_period,payment_term" - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,applied_vendor_credits,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY = "tracking_categories,purchase_orders,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE = "tracking_categories,purchase_orders,company,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT = "tracking_categories,purchase_orders,contact" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY = "tracking_categories,purchase_orders,contact,company" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE = ( - "tracking_categories,purchase_orders,contact,company,employee" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,company,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE = "tracking_categories,purchase_orders,contact,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,contact,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE = "tracking_categories,purchase_orders,employee" - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD = ( - "tracking_categories,purchase_orders,employee,accounting_period" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM = ( - "tracking_categories,purchase_orders,employee,payment_term" - ) - TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM = "tracking_categories,purchase_orders,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_employee: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee: typing.Callable[[], T_Result], - company_employee_accounting_period: typing.Callable[[], T_Result], - company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - company_employee_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee: typing.Callable[[], T_Result], - contact_company_employee_accounting_period: typing.Callable[[], T_Result], - contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_company_employee_payment_term: typing.Callable[[], T_Result], - contact_company_payment_term: typing.Callable[[], T_Result], - contact_employee: typing.Callable[[], T_Result], - contact_employee_accounting_period: typing.Callable[[], T_Result], - contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - contact_employee_payment_term: typing.Callable[[], T_Result], - contact_payment_term: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_accounting_period: typing.Callable[[], T_Result], - employee_accounting_period_payment_term: typing.Callable[[], T_Result], - employee_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_contact_payment_term: typing.Callable[[], T_Result], - line_items_employee: typing.Callable[[], T_Result], - line_items_employee_accounting_period: typing.Callable[[], T_Result], - line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_employee_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee: typing.Callable[[], T_Result], - payments_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_company_employee_payment_term: typing.Callable[[], T_Result], - payments_company_payment_term: typing.Callable[[], T_Result], - payments_contact: typing.Callable[[], T_Result], - payments_contact_accounting_period: typing.Callable[[], T_Result], - payments_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company: typing.Callable[[], T_Result], - payments_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_company_payment_term: typing.Callable[[], T_Result], - payments_contact_employee: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_contact_payment_term: typing.Callable[[], T_Result], - payments_employee: typing.Callable[[], T_Result], - payments_employee_accounting_period: typing.Callable[[], T_Result], - payments_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items: typing.Callable[[], T_Result], - payments_line_items_accounting_period: typing.Callable[[], T_Result], - payments_line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_company: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_line_items_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_line_items_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_purchase_orders_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - payments_tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - payments_tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - purchase_orders: typing.Callable[[], T_Result], - purchase_orders_accounting_period: typing.Callable[[], T_Result], - purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - purchase_orders_company: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - purchase_orders_payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_credit_notes_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_credit_notes_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_applied_vendor_credits_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_company_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_purchase_orders_contact_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_contact_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_employee_payment_term: typing.Callable[[], T_Result], - tracking_categories_purchase_orders_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is InvoicesRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES: - return applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_credit_notes_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_credit_notes_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_credit_notes_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_credit_notes_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY: - return applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT: - return applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_credit_notes_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_credit_notes_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return applied_payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return applied_payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return applied_payments_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return applied_payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT: - return applied_payments_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY: - return applied_payments_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return applied_payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return applied_payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE: - return applied_payments_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS: - return applied_payments_line_items() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return applied_payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return applied_payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return applied_payments_line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return applied_payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return applied_payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return applied_payments_line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return applied_payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return applied_payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return applied_payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return applied_payments_line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return applied_payments_line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return applied_payments_line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PAYMENT_TERM: - return applied_payments_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS: - return applied_payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return applied_payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return applied_payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return applied_payments_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return applied_payments_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return applied_payments_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return applied_payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return applied_payments_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS: - return applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY: - return applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT: - return applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return applied_vendor_credits_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE: - return applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return applied_vendor_credits_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY: - return company() - if self is InvoicesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is InvoicesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE: - return company_employee() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_EMPLOYEE_PAYMENT_TERM: - return company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT: - return contact() - if self is InvoicesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE: - return contact_company_employee() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_COMPANY_PAYMENT_TERM: - return contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE: - return contact_employee() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_EMPLOYEE_PAYMENT_TERM: - return contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.CONTACT_PAYMENT_TERM: - return contact_payment_term() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD: - return employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.EMPLOYEE_PAYMENT_TERM: - return employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES: - return line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE: - return line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE: - return line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_CONTACT_PAYMENT_TERM: - return line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE: - return line_items_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS: - return line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return line_items_purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return line_items_tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return line_items_tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return line_items_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return line_items_tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return line_items_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENT_TERM: - return payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_credit_notes_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_credit_notes_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_credit_notes_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_applied_payments_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_payments_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_payments_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE: - return payments_applied_payments_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT: - return payments_applied_payments_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY: - return payments_applied_payments_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE: - return payments_applied_payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE: - return payments_applied_payments_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS: - return payments_applied_payments_line_items() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_line_items_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_line_items_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_line_items_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_applied_payments_line_items_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_applied_payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_line_items_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_payments_line_items_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_payments_line_items_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_payments_line_items_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY: - return payments_applied_payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT: - return payments_applied_payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_applied_payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_applied_payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_applied_payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_applied_payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_line_items_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_line_items_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_line_items_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_line_items_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_line_items_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_applied_payments_line_items_tracking_categories() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_line_items_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_line_items_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_line_items_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_line_items_tracking_categories_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PAYMENT_TERM: - return payments_applied_payments_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS: - return payments_applied_payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_applied_payments_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_applied_payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_applied_payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_applied_payments_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_applied_payments_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_payments_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_applied_payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_applied_payments_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_applied_payments_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_applied_payments_tracking_categories_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_applied_payments_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_applied_payments_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_applied_payments_tracking_categories_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_applied_payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_applied_payments_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_applied_payments_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_applied_payments_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_applied_payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_applied_payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM - ): - return payments_applied_payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS: - return payments_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_applied_vendor_credits_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_applied_vendor_credits_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE: - return payments_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_COMPANY_PAYMENT_TERM: - return payments_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT: - return payments_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD: - return payments_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY: - return payments_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE: - return payments_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE: - return payments_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_CONTACT_PAYMENT_TERM: - return payments_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE: - return payments_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_EMPLOYEE_PAYMENT_TERM: - return payments_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS: - return payments_line_items() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD: - return payments_line_items_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES: - return payments_line_items_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_line_items_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_line_items_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS: - return payments_line_items_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_line_items_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_line_items_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_line_items_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY: - return payments_line_items_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE: - return payments_line_items_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_COMPANY_PAYMENT_TERM: - return payments_line_items_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT: - return payments_line_items_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY: - return payments_line_items_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE: - return payments_line_items_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_CONTACT_PAYMENT_TERM: - return payments_line_items_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE: - return payments_line_items_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PAYMENT_TERM: - return payments_line_items_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS: - return payments_line_items_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_line_items_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_line_items_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_line_items_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_line_items_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY: - return payments_line_items_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT: - return payments_line_items_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_line_items_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_line_items_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_line_items_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES: - return payments_line_items_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_line_items_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_line_items_tracking_categories_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_line_items_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_line_items_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_line_items_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_line_items_tracking_categories_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_line_items_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_line_items_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return payments_line_items_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return payments_line_items_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_line_items_tracking_categories_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_line_items_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_line_items_tracking_categories_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_line_items_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_line_items_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_line_items_tracking_categories_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_line_items_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_line_items_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_line_items_tracking_categories_purchase_orders() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_line_items_tracking_categories_purchase_orders_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_line_items_tracking_categories_purchase_orders_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_line_items_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_line_items_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM - ): - return payments_line_items_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_LINE_ITEMS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_line_items_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PAYMENT_TERM: - return payments_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS: - return payments_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return payments_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return payments_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY: - return payments_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT: - return payments_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return payments_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE: - return payments_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return ( - payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return payments_tracking_categories_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return payments_tracking_categories_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return payments_tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return payments_tracking_categories_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return payments_tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return payments_tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return payments_tracking_categories_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return payments_tracking_categories_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return payments_tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return payments_tracking_categories_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return payments_tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return payments_tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT: - return payments_tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return payments_tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return payments_tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE: - return payments_tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return payments_tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return payments_tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PAYMENT_TERM: - return payments_tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS: - return payments_tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return payments_tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return payments_tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return payments_tracking_categories_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return payments_tracking_categories_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return payments_tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return payments_tracking_categories_purchase_orders_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - payments_tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return payments_tracking_categories_purchase_orders_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return payments_tracking_categories_purchase_orders_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return payments_tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return payments_tracking_categories_purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS: - return purchase_orders() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return purchase_orders_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return purchase_orders_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return purchase_orders_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return purchase_orders_applied_credit_notes_contact_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return purchase_orders_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return purchase_orders_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return purchase_orders_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return purchase_orders_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return purchase_orders_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY: - return purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT: - return purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return purchase_orders_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY: - return purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return purchase_orders_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return purchase_orders_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE: - return purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return purchase_orders_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.PURCHASE_ORDERS_PAYMENT_TERM: - return purchase_orders_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES: - return tracking_categories_applied_credit_notes() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_contact_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_applied_credit_notes_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_applied_credit_notes_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY: - return tracking_categories_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE: - return tracking_categories_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_applied_credit_notes_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_credit_notes_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS: - return tracking_categories_applied_vendor_credits() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_applied_vendor_credits_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_applied_vendor_credits_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY: - return tracking_categories_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE: - return tracking_categories_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_applied_vendor_credits_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_applied_vendor_credits_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM: - return tracking_categories_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE: - return tracking_categories_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_company_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_contact_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_contact_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE: - return tracking_categories_contact_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_contact_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_TERM: - return tracking_categories_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE: - return tracking_categories_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_employee_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS: - return tracking_categories_purchase_orders() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_accounting_period() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_purchase_orders_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES: - return tracking_categories_purchase_orders_applied_credit_notes() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_company_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_contact_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return ( - tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_employee_payment_term() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY: - return tracking_categories_purchase_orders_applied_credit_notes_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT: - return tracking_categories_purchase_orders_applied_credit_notes_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE: - return tracking_categories_purchase_orders_applied_credit_notes_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_credit_notes_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_CREDIT_NOTES_PAYMENT_TERM: - return tracking_categories_purchase_orders_applied_credit_notes_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS: - return tracking_categories_purchase_orders_applied_vendor_credits() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY: - return tracking_categories_purchase_orders_applied_vendor_credits_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT: - return tracking_categories_purchase_orders_applied_vendor_credits_contact() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return ( - tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period() - ) - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_COMPANY_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_company_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_CONTACT_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE: - return tracking_categories_purchase_orders_applied_vendor_credits_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_employee_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_APPLIED_VENDOR_CREDITS_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_applied_vendor_credits_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY: - return tracking_categories_purchase_orders_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_company_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_company_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT: - return tracking_categories_purchase_orders_contact() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY: - return tracking_categories_purchase_orders_contact_company() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_company_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE: - return tracking_categories_purchase_orders_contact_company_employee() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_accounting_period_payment_term() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_EMPLOYEE_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_company_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_COMPANY_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_company_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE: - return tracking_categories_purchase_orders_contact_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_contact_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_contact_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_CONTACT_PAYMENT_TERM: - return tracking_categories_purchase_orders_contact_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE: - return tracking_categories_purchase_orders_employee() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD: - return tracking_categories_purchase_orders_employee_accounting_period() - if ( - self - is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_purchase_orders_employee_accounting_period_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_EMPLOYEE_PAYMENT_TERM: - return tracking_categories_purchase_orders_employee_payment_term() - if self is InvoicesRetrieveRequestExpand.TRACKING_CATEGORIES_PURCHASE_ORDERS_PAYMENT_TERM: - return tracking_categories_purchase_orders_payment_term() diff --git a/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py new file mode 100644 index 00000000..889da803 --- /dev/null +++ b/src/merge/resources/accounting/resources/invoices/types/invoices_retrieve_request_expand_item.py @@ -0,0 +1,65 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InvoicesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_CREDIT_NOTES = "applied_credit_notes" + APPLIED_PAYMENTS = "applied_payments" + APPLIED_VENDOR_CREDITS = "applied_vendor_credits" + COMPANY = "company" + CONTACT = "contact" + EMPLOYEE = "employee" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + PAYMENTS = "payments" + PURCHASE_ORDERS = "purchase_orders" + SALES_ORDERS = "sales_orders" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_credit_notes: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + applied_vendor_credits: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + employee: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + purchase_orders: typing.Callable[[], T_Result], + sales_orders: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InvoicesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_CREDIT_NOTES: + return applied_credit_notes() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is InvoicesRetrieveRequestExpandItem.APPLIED_VENDOR_CREDITS: + return applied_vendor_credits() + if self is InvoicesRetrieveRequestExpandItem.COMPANY: + return company() + if self is InvoicesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is InvoicesRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is InvoicesRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is InvoicesRetrieveRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is InvoicesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is InvoicesRetrieveRequestExpandItem.PURCHASE_ORDERS: + return purchase_orders() + if self is InvoicesRetrieveRequestExpandItem.SALES_ORDERS: + return sales_orders() + if self is InvoicesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/issues/client.py b/src/merge/resources/accounting/resources/issues/client.py index b4469343..c023784c 100644 --- a/src/merge/resources/accounting/resources/issues/client.py +++ b/src/merge/resources/accounting/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -81,7 +81,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.issues.list( + response = client.accounting.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -257,7 +261,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.accounting.issues.list( + response = await client.accounting.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/accounting/resources/issues/raw_client.py b/src/merge/resources/accounting/resources/issues/raw_client.py index a44fb598..ff83b0bc 100644 --- a/src/merge/resources/accounting/resources/issues/raw_client.py +++ b/src/merge/resources/accounting/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -234,7 +257,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/chat/resources/conversations/types/__init__.py b/src/merge/resources/accounting/resources/item_fulfillments/__init__.py similarity index 74% rename from src/merge/resources/chat/resources/conversations/types/__init__.py rename to src/merge/resources/accounting/resources/item_fulfillments/__init__.py index 21ba60f0..631d0f03 100644 --- a/src/merge/resources/chat/resources/conversations/types/__init__.py +++ b/src/merge/resources/accounting/resources/item_fulfillments/__init__.py @@ -6,9 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .conversations_members_list_request_expand import ConversationsMembersListRequestExpand + from .types import ItemFulfillmentsListRequestExpandItem, ItemFulfillmentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ConversationsMembersListRequestExpand": ".conversations_members_list_request_expand" + "ItemFulfillmentsListRequestExpandItem": ".types", + "ItemFulfillmentsRetrieveRequestExpandItem": ".types", } @@ -31,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ConversationsMembersListRequestExpand"] +__all__ = ["ItemFulfillmentsListRequestExpandItem", "ItemFulfillmentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/item_fulfillments/client.py b/src/merge/resources/accounting/resources/item_fulfillments/client.py new file mode 100644 index 00000000..a01fed06 --- /dev/null +++ b/src/merge/resources/accounting/resources/item_fulfillments/client.py @@ -0,0 +1,1084 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse +from ...types.item_fulfillment import ItemFulfillment +from ...types.item_fulfillment_batch_item_request import ItemFulfillmentBatchItemRequest +from ...types.item_fulfillment_request_request import ItemFulfillmentRequestRequest +from ...types.item_fulfillment_response import ItemFulfillmentResponse +from ...types.meta_response import MetaResponse +from ...types.remote_field_class import RemoteFieldClass +from .raw_client import AsyncRawItemFulfillmentsClient, RawItemFulfillmentsClient +from .types.item_fulfillments_list_request_expand_item import ItemFulfillmentsListRequestExpandItem +from .types.item_fulfillments_retrieve_request_expand_item import ItemFulfillmentsRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class ItemFulfillmentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawItemFulfillmentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawItemFulfillmentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawItemFulfillmentsClient + """ + return self._raw_client + + def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ItemFulfillment]: + """ + Returns a list of `ItemFulfillment` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ItemFulfillment] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.item_fulfillments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + page_size=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + def create( + self, + *, + model: ItemFulfillmentRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemFulfillmentResponse: + """ + Creates an `ItemFulfillment` object with the given values. + + Parameters + ---------- + model : ItemFulfillmentRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ItemFulfillmentResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import ItemFulfillmentRequestRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.item_fulfillments.create( + is_debug_mode=True, + run_async=True, + model=ItemFulfillmentRequestRequest(), + ) + """ + _response = self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[ + ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem] + ] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemFulfillment: + """ + Returns an `ItemFulfillment` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ItemFulfillment + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.item_fulfillments.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + ) + """ + _response = self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data + + def bulk_create( + self, + *, + batch_items: typing.Sequence[ItemFulfillmentBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `ItemFulfillment` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ItemFulfillmentBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import ( + ItemFulfillmentBatchItemRequest, + ItemFulfillmentRequestRequest, + ) + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.item_fulfillments.bulk_create( + batch_items=[ + ItemFulfillmentBatchItemRequest( + item_id="item_id", + payload=ItemFulfillmentRequestRequest(), + ) + ], + ) + """ + _response = self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `ItemFulfillment` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.item_fulfillments.bulk_retrieve( + batch_id="batch_id", + ) + """ + _response = self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + + def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.item_fulfillments.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.lines_remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `ItemFulfillment` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.item_fulfillments.meta_post_retrieve() + """ + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.item_fulfillments.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + +class AsyncItemFulfillmentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawItemFulfillmentsClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawItemFulfillmentsClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawItemFulfillmentsClient + """ + return self._raw_client + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ItemFulfillment]: + """ + Returns a list of `ItemFulfillment` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ItemFulfillment] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.accounting.item_fulfillments.list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + page_size=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + async def create( + self, + *, + model: ItemFulfillmentRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemFulfillmentResponse: + """ + Creates an `ItemFulfillment` object with the given values. + + Parameters + ---------- + model : ItemFulfillmentRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ItemFulfillmentResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import ItemFulfillmentRequestRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.item_fulfillments.create( + is_debug_mode=True, + run_async=True, + model=ItemFulfillmentRequestRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[ + ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem] + ] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> ItemFulfillment: + """ + Returns an `ItemFulfillment` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + ItemFulfillment + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.item_fulfillments.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data + + async def bulk_create( + self, + *, + batch_items: typing.Sequence[ItemFulfillmentBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `ItemFulfillment` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ItemFulfillmentBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import ( + ItemFulfillmentBatchItemRequest, + ItemFulfillmentRequestRequest, + ) + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.item_fulfillments.bulk_create( + batch_items=[ + ItemFulfillmentBatchItemRequest( + item_id="item_id", + payload=ItemFulfillmentRequestRequest(), + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of an `ItemFulfillment` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.item_fulfillments.bulk_retrieve( + batch_id="batch_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + + async def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.accounting.item_fulfillments.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.lines_remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `ItemFulfillment` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.item_fulfillments.meta_post_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + async def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = ( + await client.accounting.item_fulfillments.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) diff --git a/src/merge/resources/accounting/resources/item_fulfillments/raw_client.py b/src/merge/resources/accounting/resources/item_fulfillments/raw_client.py new file mode 100644 index 00000000..6d0c4590 --- /dev/null +++ b/src/merge/resources/accounting/resources/item_fulfillments/raw_client.py @@ -0,0 +1,1132 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse +from ...types.item_fulfillment import ItemFulfillment +from ...types.item_fulfillment_batch_item_request import ItemFulfillmentBatchItemRequest +from ...types.item_fulfillment_request_request import ItemFulfillmentRequestRequest +from ...types.item_fulfillment_response import ItemFulfillmentResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_item_fulfillment_list import PaginatedItemFulfillmentList +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass +from .types.item_fulfillments_list_request_expand_item import ItemFulfillmentsListRequestExpandItem +from .types.item_fulfillments_retrieve_request_expand_item import ItemFulfillmentsRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawItemFulfillmentsClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[ItemFulfillment]: + """ + Returns a list of `ItemFulfillment` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[ItemFulfillment] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments", + method="GET", + params={ + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "page_size": page_size, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedItemFulfillmentList, + construct_type( + type_=PaginatedItemFulfillmentList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + model: ItemFulfillmentRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ItemFulfillmentResponse]: + """ + Creates an `ItemFulfillment` object with the given values. + + Parameters + ---------- + model : ItemFulfillmentRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ItemFulfillmentResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ItemFulfillmentResponse, + construct_type( + type_=ItemFulfillmentResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[ + ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem] + ] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[ItemFulfillment]: + """ + Returns an `ItemFulfillment` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[ItemFulfillment] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/item-fulfillments/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ItemFulfillment, + construct_type( + type_=ItemFulfillment, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_create( + self, + *, + batch_items: typing.Sequence[ItemFulfillmentBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `ItemFulfillment` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ItemFulfillmentBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AsyncBulkCreateResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `ItemFulfillment` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[BatchObjectsResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/item-fulfillments/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/lines/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `ItemFulfillment` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawItemFulfillmentsClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[ItemFulfillment]: + """ + Returns a list of `ItemFulfillment` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[ItemFulfillmentsListRequestExpandItem, typing.Sequence[ItemFulfillmentsListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[ItemFulfillment] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments", + method="GET", + params={ + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "page_size": page_size, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedItemFulfillmentList, + construct_type( + type_=PaginatedItemFulfillmentList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + page_size=page_size, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + model: ItemFulfillmentRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ItemFulfillmentResponse]: + """ + Creates an `ItemFulfillment` object with the given values. + + Parameters + ---------- + model : ItemFulfillmentRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ItemFulfillmentResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ItemFulfillmentResponse, + construct_type( + type_=ItemFulfillmentResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[ + ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem] + ] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[ItemFulfillment]: + """ + Returns an `ItemFulfillment` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[ItemFulfillmentsRetrieveRequestExpandItem, typing.Sequence[ItemFulfillmentsRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[ItemFulfillment] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/item-fulfillments/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + ItemFulfillment, + construct_type( + type_=ItemFulfillment, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_create( + self, + *, + batch_items: typing.Sequence[ItemFulfillmentBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `ItemFulfillment` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[ItemFulfillmentBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AsyncBulkCreateResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of an `ItemFulfillment` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[BatchObjectsResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/item-fulfillments/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/lines/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `ItemFulfillment` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/item-fulfillments/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/messages/__init__.py b/src/merge/resources/accounting/resources/item_fulfillments/types/__init__.py similarity index 64% rename from src/merge/resources/chat/resources/messages/__init__.py rename to src/merge/resources/accounting/resources/item_fulfillments/types/__init__.py index 07bbf100..2dfa8ff7 100644 --- a/src/merge/resources/chat/resources/messages/__init__.py +++ b/src/merge/resources/accounting/resources/item_fulfillments/types/__init__.py @@ -6,10 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import MessagesListRequestOrderBy, MessagesRepliesListRequestOrderBy + from .item_fulfillments_list_request_expand_item import ItemFulfillmentsListRequestExpandItem + from .item_fulfillments_retrieve_request_expand_item import ItemFulfillmentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "MessagesListRequestOrderBy": ".types", - "MessagesRepliesListRequestOrderBy": ".types", + "ItemFulfillmentsListRequestExpandItem": ".item_fulfillments_list_request_expand_item", + "ItemFulfillmentsRetrieveRequestExpandItem": ".item_fulfillments_retrieve_request_expand_item", } @@ -32,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["MessagesListRequestOrderBy", "MessagesRepliesListRequestOrderBy"] +__all__ = ["ItemFulfillmentsListRequestExpandItem", "ItemFulfillmentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_list_request_expand_item.py b/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_list_request_expand_item.py new file mode 100644 index 00000000..c9146ad2 --- /dev/null +++ b/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemFulfillmentsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CUSTOMER = "customer" + LINES = "lines" + SALES_ORDER = "sales_order" + + def visit( + self, + company: typing.Callable[[], T_Result], + customer: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + sales_order: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemFulfillmentsListRequestExpandItem.COMPANY: + return company() + if self is ItemFulfillmentsListRequestExpandItem.CUSTOMER: + return customer() + if self is ItemFulfillmentsListRequestExpandItem.LINES: + return lines() + if self is ItemFulfillmentsListRequestExpandItem.SALES_ORDER: + return sales_order() diff --git a/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_retrieve_request_expand_item.py new file mode 100644 index 00000000..931d5944 --- /dev/null +++ b/src/merge/resources/accounting/resources/item_fulfillments/types/item_fulfillments_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemFulfillmentsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CUSTOMER = "customer" + LINES = "lines" + SALES_ORDER = "sales_order" + + def visit( + self, + company: typing.Callable[[], T_Result], + customer: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + sales_order: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemFulfillmentsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ItemFulfillmentsRetrieveRequestExpandItem.CUSTOMER: + return customer() + if self is ItemFulfillmentsRetrieveRequestExpandItem.LINES: + return lines() + if self is ItemFulfillmentsRetrieveRequestExpandItem.SALES_ORDER: + return sales_order() diff --git a/src/merge/resources/accounting/resources/items/__init__.py b/src/merge/resources/accounting/resources/items/__init__.py index f805d534..8a0039db 100644 --- a/src/merge/resources/accounting/resources/items/__init__.py +++ b/src/merge/resources/accounting/resources/items/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ItemsListRequestExpand, ItemsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ItemsListRequestExpand": ".types", "ItemsRetrieveRequestExpand": ".types"} + from .types import ItemsListRequestExpandItem, ItemsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "ItemsListRequestExpandItem": ".types", + "ItemsRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"] +__all__ = ["ItemsListRequestExpandItem", "ItemsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/items/client.py b/src/merge/resources/accounting/resources/items/client.py index 6e6f4b14..7ff85c3e 100644 --- a/src/merge/resources/accounting/resources/items/client.py +++ b/src/merge/resources/accounting/resources/items/client.py @@ -4,16 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.item import Item from ...types.item_request_request import ItemRequestRequest from ...types.item_response import ItemResponse from ...types.meta_response import MetaResponse -from ...types.paginated_item_list import PaginatedItemList from ...types.patched_item_request_request import PatchedItemRequestRequest from .raw_client import AsyncRawItemsClient, RawItemsClient -from .types.items_list_request_expand import ItemsListRequestExpand -from .types.items_retrieve_request_expand import ItemsRetrieveRequestExpand +from .types.items_list_request_expand_item import ItemsListRequestExpandItem +from .types.items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,18 +41,21 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedItemList: + ) -> SyncPager[Item]: """ Returns a list of `Item` objects. @@ -70,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,8 +91,11 @@ def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return items with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -105,7 +111,7 @@ def list( Returns ------- - PaginatedItemList + SyncPager[Item] Examples @@ -113,13 +119,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.items import ItemsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.items.list( + response = client.accounting.items.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -128,7 +133,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -138,11 +142,17 @@ def list( modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -153,13 +163,13 @@ def list( include_shell_data=include_shell_data, modified_after=modified_after, modified_before=modified_before, + name=name, page_size=page_size, remote_fields=remote_fields, remote_id=remote_id, show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -214,7 +224,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -228,7 +240,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -254,9 +266,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -264,7 +273,6 @@ def retrieve( ) client.accounting.items.retrieve( id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, include_remote_data=True, include_shell_data=True, ) @@ -414,18 +422,21 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedItemList: + ) -> AsyncPager[Item]: """ Returns a list of `Item` objects. @@ -443,7 +454,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -461,8 +472,11 @@ async def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return items with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -478,7 +492,7 @@ async def list( Returns ------- - PaginatedItemList + AsyncPager[Item] Examples @@ -487,7 +501,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.items import ItemsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -496,7 +509,7 @@ async def list( async def main() -> None: - await client.accounting.items.list( + response = await client.accounting.items.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -505,7 +518,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ItemsListRequestExpand.COMPANY, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -515,14 +527,21 @@ async def main() -> None: modified_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), + name="name", page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -533,13 +552,13 @@ async def main() -> None: include_shell_data=include_shell_data, modified_after=modified_after, modified_before=modified_before, + name=name, page_size=page_size, remote_fields=remote_fields, remote_id=remote_id, show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -602,7 +621,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -616,7 +637,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -644,9 +665,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.items import ( - ItemsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -657,7 +675,6 @@ async def retrieve( async def main() -> None: await client.accounting.items.retrieve( id="id", - expand=ItemsRetrieveRequestExpand.COMPANY, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/items/raw_client.py b/src/merge/resources/accounting/resources/items/raw_client.py index ab7550e3..75d90e3a 100644 --- a/src/merge/resources/accounting/resources/items/raw_client.py +++ b/src/merge/resources/accounting/resources/items/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.item import Item @@ -17,8 +18,8 @@ from ...types.meta_response import MetaResponse from ...types.paginated_item_list import PaginatedItemList from ...types.patched_item_request_request import PatchedItemRequestRequest -from .types.items_list_request_expand import ItemsListRequestExpand -from .types.items_retrieve_request_expand import ItemsRetrieveRequestExpand +from .types.items_list_request_expand_item import ItemsListRequestExpandItem +from .types.items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,18 +36,21 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedItemList]: + ) -> SyncPager[Item]: """ Returns a list of `Item` objects. @@ -64,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,8 +86,11 @@ def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return items with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -99,7 +106,7 @@ def list( Returns ------- - HttpResponse[PaginatedItemList] + SyncPager[Item] """ _response = self._client_wrapper.httpx_client.request( @@ -116,6 +123,7 @@ def list( "include_shell_data": include_shell_data, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, "page_size": page_size, "remote_fields": remote_fields, "remote_id": remote_id, @@ -125,14 +133,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedItemList, construct_type( type_=PaginatedItemList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -202,7 +233,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -216,7 +249,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -415,18 +448,21 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ItemsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, + name: typing.Optional[str] = None, page_size: typing.Optional[int] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedItemList]: + ) -> AsyncPager[Item]: """ Returns a list of `Item` objects. @@ -444,7 +480,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ItemsListRequestExpand] + expand : typing.Optional[typing.Union[ItemsListRequestExpandItem, typing.Sequence[ItemsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -462,8 +498,11 @@ async def list( modified_before : typing.Optional[dt.datetime] If provided, only objects synced by Merge before this date time will be returned. + name : typing.Optional[str] + If provided, will only return items with this name. + page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -479,7 +518,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedItemList] + AsyncPager[Item] """ _response = await self._client_wrapper.httpx_client.request( @@ -496,6 +535,7 @@ async def list( "include_shell_data": include_shell_data, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "name": name, "page_size": page_size, "remote_fields": remote_fields, "remote_id": remote_id, @@ -505,14 +545,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedItemList, construct_type( type_=PaginatedItemList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,7 +648,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ItemsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -596,7 +664,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ItemsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ItemsRetrieveRequestExpandItem, typing.Sequence[ItemsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/items/types/__init__.py b/src/merge/resources/accounting/resources/items/types/__init__.py index e3602950..94716a6d 100644 --- a/src/merge/resources/accounting/resources/items/types/__init__.py +++ b/src/merge/resources/accounting/resources/items/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .items_list_request_expand import ItemsListRequestExpand - from .items_retrieve_request_expand import ItemsRetrieveRequestExpand + from .items_list_request_expand_item import ItemsListRequestExpandItem + from .items_retrieve_request_expand_item import ItemsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ItemsListRequestExpand": ".items_list_request_expand", - "ItemsRetrieveRequestExpand": ".items_retrieve_request_expand", + "ItemsListRequestExpandItem": ".items_list_request_expand_item", + "ItemsRetrieveRequestExpandItem": ".items_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ItemsListRequestExpand", "ItemsRetrieveRequestExpand"] +__all__ = ["ItemsListRequestExpandItem", "ItemsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py b/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py deleted file mode 100644 index c5a6ca95..00000000 --- a/src/merge/resources/accounting/resources/items/types/items_list_request_expand.py +++ /dev/null @@ -1,145 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ItemsListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PURCHASE_TAX_RATE = "company,purchase_tax_rate" - COMPANY_SALES_TAX_RATE = "company,sales_tax_rate" - COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "company,sales_tax_rate,purchase_tax_rate" - PURCHASE_ACCOUNT = "purchase_account" - PURCHASE_ACCOUNT_COMPANY = "purchase_account,company" - PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "purchase_account,company,purchase_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT = "purchase_account,sales_account" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY = "purchase_account,sales_account,company" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,sales_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,sales_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "purchase_account,sales_tax_rate,purchase_tax_rate" - PURCHASE_TAX_RATE = "purchase_tax_rate" - SALES_ACCOUNT = "sales_account" - SALES_ACCOUNT_COMPANY = "sales_account,company" - SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "sales_account,company,purchase_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "sales_account,company,sales_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,company,sales_tax_rate,purchase_tax_rate" - SALES_ACCOUNT_PURCHASE_TAX_RATE = "sales_account,purchase_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE = "sales_account,sales_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,sales_tax_rate,purchase_tax_rate" - SALES_TAX_RATE = "sales_tax_rate" - SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_tax_rate,purchase_tax_rate" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_purchase_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account: typing.Callable[[], T_Result], - purchase_account_company: typing.Callable[[], T_Result], - purchase_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account: typing.Callable[[], T_Result], - purchase_account_sales_account_company: typing.Callable[[], T_Result], - purchase_account_sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_tax_rate: typing.Callable[[], T_Result], - sales_account: typing.Callable[[], T_Result], - sales_account_company: typing.Callable[[], T_Result], - sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ItemsListRequestExpand.COMPANY: - return company() - if self is ItemsListRequestExpand.COMPANY_PURCHASE_TAX_RATE: - return company_purchase_tax_rate() - if self is ItemsListRequestExpand.COMPANY_SALES_TAX_RATE: - return company_sales_tax_rate() - if self is ItemsListRequestExpand.COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT: - return purchase_account() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY: - return purchase_account_company() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT: - return purchase_account_sales_account() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY: - return purchase_account_sales_account_company() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_sales_account_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.PURCHASE_TAX_RATE: - return purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT: - return sales_account() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY: - return sales_account_company() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return sales_account_company_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return sales_account_company_sales_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_PURCHASE_TAX_RATE: - return sales_account_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE: - return sales_account_sales_tax_rate() - if self is ItemsListRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsListRequestExpand.SALES_TAX_RATE: - return sales_tax_rate() - if self is ItemsListRequestExpand.SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_tax_rate_purchase_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py b/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py new file mode 100644 index 00000000..2cf676c2 --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + PURCHASE_ACCOUNT = "purchase_account" + PURCHASE_TAX_RATE = "purchase_tax_rate" + SALES_ACCOUNT = "sales_account" + SALES_TAX_RATE = "sales_tax_rate" + + def visit( + self, + company: typing.Callable[[], T_Result], + purchase_account: typing.Callable[[], T_Result], + purchase_tax_rate: typing.Callable[[], T_Result], + sales_account: typing.Callable[[], T_Result], + sales_tax_rate: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemsListRequestExpandItem.COMPANY: + return company() + if self is ItemsListRequestExpandItem.PURCHASE_ACCOUNT: + return purchase_account() + if self is ItemsListRequestExpandItem.PURCHASE_TAX_RATE: + return purchase_tax_rate() + if self is ItemsListRequestExpandItem.SALES_ACCOUNT: + return sales_account() + if self is ItemsListRequestExpandItem.SALES_TAX_RATE: + return sales_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py deleted file mode 100644 index a0331335..00000000 --- a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand.py +++ /dev/null @@ -1,145 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ItemsRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PURCHASE_TAX_RATE = "company,purchase_tax_rate" - COMPANY_SALES_TAX_RATE = "company,sales_tax_rate" - COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "company,sales_tax_rate,purchase_tax_rate" - PURCHASE_ACCOUNT = "purchase_account" - PURCHASE_ACCOUNT_COMPANY = "purchase_account,company" - PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "purchase_account,company,purchase_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT = "purchase_account,sales_account" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY = "purchase_account,sales_account,company" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "purchase_account,sales_account,company,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,company,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE = "purchase_account,sales_account,purchase_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = ( - "purchase_account,sales_account,sales_tax_rate,purchase_tax_rate" - ) - PURCHASE_ACCOUNT_SALES_TAX_RATE = "purchase_account,sales_tax_rate" - PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "purchase_account,sales_tax_rate,purchase_tax_rate" - PURCHASE_TAX_RATE = "purchase_tax_rate" - SALES_ACCOUNT = "sales_account" - SALES_ACCOUNT_COMPANY = "sales_account,company" - SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE = "sales_account,company,purchase_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE = "sales_account,company,sales_tax_rate" - SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,company,sales_tax_rate,purchase_tax_rate" - SALES_ACCOUNT_PURCHASE_TAX_RATE = "sales_account,purchase_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE = "sales_account,sales_tax_rate" - SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_account,sales_tax_rate,purchase_tax_rate" - SALES_TAX_RATE = "sales_tax_rate" - SALES_TAX_RATE_PURCHASE_TAX_RATE = "sales_tax_rate,purchase_tax_rate" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_purchase_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate: typing.Callable[[], T_Result], - company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account: typing.Callable[[], T_Result], - purchase_account_company: typing.Callable[[], T_Result], - purchase_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account: typing.Callable[[], T_Result], - purchase_account_sales_account_company: typing.Callable[[], T_Result], - purchase_account_sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate: typing.Callable[[], T_Result], - purchase_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - purchase_tax_rate: typing.Callable[[], T_Result], - sales_account: typing.Callable[[], T_Result], - sales_account_company: typing.Callable[[], T_Result], - sales_account_company_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_company_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_purchase_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate: typing.Callable[[], T_Result], - sales_account_sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate: typing.Callable[[], T_Result], - sales_tax_rate_purchase_tax_rate: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ItemsRetrieveRequestExpand.COMPANY: - return company() - if self is ItemsRetrieveRequestExpand.COMPANY_PURCHASE_TAX_RATE: - return company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.COMPANY_SALES_TAX_RATE: - return company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT: - return purchase_account() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY: - return purchase_account_company() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT: - return purchase_account_sales_account() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY: - return purchase_account_sales_account_company() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_PURCHASE_TAX_RATE: - return purchase_account_sales_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE: - return purchase_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return purchase_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.PURCHASE_TAX_RATE: - return purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT: - return sales_account() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY: - return sales_account_company() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_PURCHASE_TAX_RATE: - return sales_account_company_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE: - return sales_account_company_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_COMPANY_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_company_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_PURCHASE_TAX_RATE: - return sales_account_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE: - return sales_account_sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_ACCOUNT_SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_account_sales_tax_rate_purchase_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_TAX_RATE: - return sales_tax_rate() - if self is ItemsRetrieveRequestExpand.SALES_TAX_RATE_PURCHASE_TAX_RATE: - return sales_tax_rate_purchase_tax_rate() diff --git a/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py new file mode 100644 index 00000000..6dad67a3 --- /dev/null +++ b/src/merge/resources/accounting/resources/items/types/items_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + PURCHASE_ACCOUNT = "purchase_account" + PURCHASE_TAX_RATE = "purchase_tax_rate" + SALES_ACCOUNT = "sales_account" + SALES_TAX_RATE = "sales_tax_rate" + + def visit( + self, + company: typing.Callable[[], T_Result], + purchase_account: typing.Callable[[], T_Result], + purchase_tax_rate: typing.Callable[[], T_Result], + sales_account: typing.Callable[[], T_Result], + sales_tax_rate: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ItemsRetrieveRequestExpandItem.PURCHASE_ACCOUNT: + return purchase_account() + if self is ItemsRetrieveRequestExpandItem.PURCHASE_TAX_RATE: + return purchase_tax_rate() + if self is ItemsRetrieveRequestExpandItem.SALES_ACCOUNT: + return sales_account() + if self is ItemsRetrieveRequestExpandItem.SALES_TAX_RATE: + return sales_tax_rate() diff --git a/src/merge/resources/accounting/resources/journal_entries/__init__.py b/src/merge/resources/accounting/resources/journal_entries/__init__.py index a104fe9f..abd41565 100644 --- a/src/merge/resources/accounting/resources/journal_entries/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import JournalEntriesListRequestExpand, JournalEntriesRetrieveRequestExpand + from .types import JournalEntriesListRequestExpandItem, JournalEntriesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JournalEntriesListRequestExpand": ".types", - "JournalEntriesRetrieveRequestExpand": ".types", + "JournalEntriesListRequestExpandItem": ".types", + "JournalEntriesRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"] +__all__ = ["JournalEntriesListRequestExpandItem", "JournalEntriesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/journal_entries/client.py b/src/merge/resources/accounting/resources/journal_entries/client.py index 43249ba4..2b14806c 100644 --- a/src/merge/resources/accounting/resources/journal_entries/client.py +++ b/src/merge/resources/accounting/resources/journal_entries/client.py @@ -4,16 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.journal_entry import JournalEntry from ...types.journal_entry_request import JournalEntryRequest from ...types.journal_entry_response import JournalEntryResponse from ...types.meta_response import MetaResponse -from ...types.paginated_journal_entry_list import PaginatedJournalEntryList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawJournalEntriesClient, RawJournalEntriesClient -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand +from .types.journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem +from .types.journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +55,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJournalEntryList: + ) -> SyncPager[JournalEntry]: """ Returns a list of `JournalEntry` objects. @@ -71,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -93,7 +95,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -109,7 +111,7 @@ def list( Returns ------- - PaginatedJournalEntryList + SyncPager[JournalEntry] Examples @@ -117,15 +119,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.list( + response = client.accounting.journal_entries.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -134,7 +133,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -154,8 +152,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -173,7 +176,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -228,7 +230,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +247,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,9 +270,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -274,7 +277,6 @@ def retrieve( ) client.accounting.journal_entries.retrieve( id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -301,7 +303,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -326,14 +328,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -344,7 +346,7 @@ def lines_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.lines_remote_field_classes_list( + response = client.accounting.journal_entries.lines_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -353,8 +355,13 @@ def lines_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.lines_remote_field_classes_list( + return self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -364,7 +371,6 @@ def lines_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -404,7 +410,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -429,14 +435,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -447,7 +453,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.journal_entries.remote_field_classes_list( + response = client.accounting.journal_entries.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -456,8 +462,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -467,7 +478,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncJournalEntriesClient: @@ -492,7 +502,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -504,7 +516,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJournalEntryList: + ) -> AsyncPager[JournalEntry]: """ Returns a list of `JournalEntry` objects. @@ -522,7 +534,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -544,7 +556,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -560,7 +572,7 @@ async def list( Returns ------- - PaginatedJournalEntryList + AsyncPager[JournalEntry] Examples @@ -569,9 +581,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -580,7 +589,7 @@ async def list( async def main() -> None: - await client.accounting.journal_entries.list( + response = await client.accounting.journal_entries.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -589,7 +598,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JournalEntriesListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -609,11 +617,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -631,7 +645,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -694,7 +707,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -707,7 +724,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -732,9 +749,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.journal_entries import ( - JournalEntriesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -745,7 +759,6 @@ async def retrieve( async def main() -> None: await client.accounting.journal_entries.retrieve( id="id", - expand=JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -775,7 +788,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -800,14 +813,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -823,20 +836,28 @@ async def lines_remote_field_classes_list( async def main() -> None: - await client.accounting.journal_entries.lines_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.journal_entries.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.lines_remote_field_classes_list( + return await self._raw_client.lines_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -846,7 +867,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -894,7 +914,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -919,14 +939,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -942,20 +962,28 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.journal_entries.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.journal_entries.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -965,4 +993,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/journal_entries/raw_client.py b/src/merge/resources/accounting/resources/journal_entries/raw_client.py index 622bede3..9df63643 100644 --- a/src/merge/resources/accounting/resources/journal_entries/raw_client.py +++ b/src/merge/resources/accounting/resources/journal_entries/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.journal_entry import JournalEntry @@ -17,8 +18,9 @@ from ...types.meta_response import MetaResponse from ...types.paginated_journal_entry_list import PaginatedJournalEntryList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.journal_entries_list_request_expand import JournalEntriesListRequestExpand -from .types.journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem +from .types.journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJournalEntryList]: + ) -> SyncPager[JournalEntry]: """ Returns a list of `JournalEntry` objects. @@ -65,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,7 +91,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -103,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedJournalEntryList] + SyncPager[JournalEntry] """ _response = self._client_wrapper.httpx_client.request( @@ -134,14 +138,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJournalEntryList, construct_type( type_=PaginatedJournalEntryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -211,7 +238,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +255,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -281,7 +312,7 @@ def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -306,14 +337,14 @@ def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -332,14 +363,29 @@ def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -392,7 +438,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -417,14 +463,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -443,14 +489,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -468,7 +529,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JournalEntriesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -480,7 +543,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJournalEntryList]: + ) -> AsyncPager[JournalEntry]: """ Returns a list of `JournalEntry` objects. @@ -498,7 +561,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JournalEntriesListRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesListRequestExpandItem, typing.Sequence[JournalEntriesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -520,7 +583,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -536,7 +599,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJournalEntryList] + AsyncPager[JournalEntry] """ _response = await self._client_wrapper.httpx_client.request( @@ -567,14 +630,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJournalEntryList, construct_type( type_=PaginatedJournalEntryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -644,7 +733,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JournalEntriesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -657,7 +750,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JournalEntriesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JournalEntriesRetrieveRequestExpandItem, typing.Sequence[JournalEntriesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -714,7 +807,7 @@ async def lines_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -739,14 +832,14 @@ async def lines_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -765,14 +858,32 @@ async def lines_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -825,7 +936,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -850,14 +961,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -876,14 +987,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/journal_entries/types/__init__.py b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py index 3b9f1aaf..d080468c 100644 --- a/src/merge/resources/accounting/resources/journal_entries/types/__init__.py +++ b/src/merge/resources/accounting/resources/journal_entries/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .journal_entries_list_request_expand import JournalEntriesListRequestExpand - from .journal_entries_retrieve_request_expand import JournalEntriesRetrieveRequestExpand + from .journal_entries_list_request_expand_item import JournalEntriesListRequestExpandItem + from .journal_entries_retrieve_request_expand_item import JournalEntriesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JournalEntriesListRequestExpand": ".journal_entries_list_request_expand", - "JournalEntriesRetrieveRequestExpand": ".journal_entries_retrieve_request_expand", + "JournalEntriesListRequestExpandItem": ".journal_entries_list_request_expand_item", + "JournalEntriesRetrieveRequestExpandItem": ".journal_entries_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["JournalEntriesListRequestExpand", "JournalEntriesRetrieveRequestExpand"] +__all__ = ["JournalEntriesListRequestExpandItem", "JournalEntriesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py deleted file mode 100644 index d5a47081..00000000 --- a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand.py +++ /dev/null @@ -1,294 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JournalEntriesListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_APPLIED_PAYMENTS = "lines,applied_payments" - LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,applied_payments,accounting_period" - LINES_APPLIED_PAYMENTS_COMPANY = "lines,applied_payments,company" - LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,applied_payments,company,accounting_period" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,applied_payments,tracking_categories" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,accounting_period" - ) - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,applied_payments,tracking_categories,company" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_PAYMENTS = "lines,payments" - LINES_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS = "lines,payments,applied_payments" - LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,applied_payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY = "lines,payments,applied_payments,company" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,company,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,applied_payments,tracking_categories" - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = ( - "lines,payments,applied_payments,tracking_categories,company" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_PAYMENTS_COMPANY = "lines,payments,company" - LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,payments,company,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,tracking_categories" - LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,payments,tracking_categories,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,payments,tracking_categories,company" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,tracking_categories,company,accounting_period" - ) - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments: typing.Callable[[], T_Result], - lines_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_company: typing.Callable[[], T_Result], - lines_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_payments: typing.Callable[[], T_Result], - lines_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments: typing.Callable[[], T_Result], - lines_payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_company: typing.Callable[[], T_Result], - lines_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JournalEntriesListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.COMPANY: - return company() - if self is JournalEntriesListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES: - return lines() - if self is JournalEntriesListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS: - return lines_applied_payments() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY: - return lines_applied_payments_company() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_applied_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_COMPANY: - return lines_company() - if self is JournalEntriesListRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS: - return lines_payments() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS: - return lines_payments_applied_payments() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return lines_payments_applied_payments_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_applied_payments_tracking_categories() - if ( - self - is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesListRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_COMPANY: - return lines_payments_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is JournalEntriesListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS: - return payments() - if self is JournalEntriesListRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesListRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is JournalEntriesListRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is JournalEntriesListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py new file mode 100644 index 00000000..b7942027 --- /dev/null +++ b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JournalEntriesListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + LINES = "lines" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JournalEntriesListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is JournalEntriesListRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is JournalEntriesListRequestExpandItem.COMPANY: + return company() + if self is JournalEntriesListRequestExpandItem.LINES: + return lines() + if self is JournalEntriesListRequestExpandItem.PAYMENTS: + return payments() + if self is JournalEntriesListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py deleted file mode 100644 index bdac2481..00000000 --- a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand.py +++ /dev/null @@ -1,297 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JournalEntriesRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - APPLIED_PAYMENTS = "applied_payments" - APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "applied_payments,accounting_period" - APPLIED_PAYMENTS_COMPANY = "applied_payments,company" - APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "applied_payments,company,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES = "applied_payments,tracking_categories" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "applied_payments,tracking_categories,accounting_period" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "applied_payments,tracking_categories,company" - APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "applied_payments,tracking_categories,company,accounting_period" - ) - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_APPLIED_PAYMENTS = "lines,applied_payments" - LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,applied_payments,accounting_period" - LINES_APPLIED_PAYMENTS_COMPANY = "lines,applied_payments,company" - LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,applied_payments,company,accounting_period" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,applied_payments,tracking_categories" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,accounting_period" - ) - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,applied_payments,tracking_categories,company" - LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_PAYMENTS = "lines,payments" - LINES_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS = "lines,payments,applied_payments" - LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "lines,payments,applied_payments,accounting_period" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY = "lines,payments,applied_payments,company" - LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,company,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,applied_payments,tracking_categories" - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,accounting_period" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = ( - "lines,payments,applied_payments,tracking_categories,company" - ) - LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,applied_payments,tracking_categories,company,accounting_period" - ) - LINES_PAYMENTS_COMPANY = "lines,payments,company" - LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "lines,payments,company,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES = "lines,payments,tracking_categories" - LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,payments,tracking_categories,accounting_period" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "lines,payments,tracking_categories,company" - LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "lines,payments,tracking_categories,company,accounting_period" - ) - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - PAYMENTS = "payments" - PAYMENTS_ACCOUNTING_PERIOD = "payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS = "payments,applied_payments" - PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD = "payments,applied_payments,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_COMPANY = "payments,applied_payments,company" - PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,applied_payments,company,accounting_period" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES = "payments,applied_payments,tracking_categories" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,accounting_period" - ) - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,applied_payments,tracking_categories,company" - PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "payments,applied_payments,tracking_categories,company,accounting_period" - ) - PAYMENTS_COMPANY = "payments,company" - PAYMENTS_COMPANY_ACCOUNTING_PERIOD = "payments,company,accounting_period" - PAYMENTS_TRACKING_CATEGORIES = "payments,tracking_categories" - PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "payments,tracking_categories,accounting_period" - PAYMENTS_TRACKING_CATEGORIES_COMPANY = "payments,tracking_categories,company" - PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "payments,tracking_categories,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - applied_payments: typing.Callable[[], T_Result], - applied_payments_accounting_period: typing.Callable[[], T_Result], - applied_payments_company: typing.Callable[[], T_Result], - applied_payments_company_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories: typing.Callable[[], T_Result], - applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments: typing.Callable[[], T_Result], - lines_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_company: typing.Callable[[], T_Result], - lines_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_payments: typing.Callable[[], T_Result], - lines_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments: typing.Callable[[], T_Result], - lines_payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_company: typing.Callable[[], T_Result], - lines_payments_company_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories: typing.Callable[[], T_Result], - lines_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company: typing.Callable[[], T_Result], - lines_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments: typing.Callable[[], T_Result], - payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments: typing.Callable[[], T_Result], - payments_applied_payments_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_company: typing.Callable[[], T_Result], - payments_applied_payments_company_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_applied_payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - payments_company: typing.Callable[[], T_Result], - payments_company_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories: typing.Callable[[], T_Result], - payments_tracking_categories_accounting_period: typing.Callable[[], T_Result], - payments_tracking_categories_company: typing.Callable[[], T_Result], - payments_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JournalEntriesRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS: - return applied_payments() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY: - return applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return applied_payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.COMPANY: - return company() - if self is JournalEntriesRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES: - return lines() - if self is JournalEntriesRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS: - return lines_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY: - return lines_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS: - return lines_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS: - return lines_payments_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return lines_payments_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_applied_payments_tracking_categories() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return lines_payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_COMPANY: - return lines_payments_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES: - return lines_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return lines_payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS: - return payments() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_ACCOUNTING_PERIOD: - return payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS: - return payments_applied_payments() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_ACCOUNTING_PERIOD: - return payments_applied_payments_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY: - return payments_applied_payments_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_applied_payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES: - return payments_applied_payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_applied_payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_applied_payments_tracking_categories_company() - if ( - self - is JournalEntriesRetrieveRequestExpand.PAYMENTS_APPLIED_PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD - ): - return payments_applied_payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_COMPANY: - return payments_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_COMPANY_ACCOUNTING_PERIOD: - return payments_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES: - return payments_tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return payments_tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY: - return payments_tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.PAYMENTS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return payments_tracking_categories_company_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is JournalEntriesRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py new file mode 100644 index 00000000..d0d1f3ee --- /dev/null +++ b/src/merge/resources/accounting/resources/journal_entries/types/journal_entries_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JournalEntriesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_PAYMENTS = "applied_payments" + COMPANY = "company" + LINES = "lines" + PAYMENTS = "payments" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + applied_payments: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payments: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JournalEntriesRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is JournalEntriesRetrieveRequestExpandItem.APPLIED_PAYMENTS: + return applied_payments() + if self is JournalEntriesRetrieveRequestExpandItem.COMPANY: + return company() + if self is JournalEntriesRetrieveRequestExpandItem.LINES: + return lines() + if self is JournalEntriesRetrieveRequestExpandItem.PAYMENTS: + return payments() + if self is JournalEntriesRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/link_token/__init__.py b/src/merge/resources/accounting/resources/link_token/__init__.py index 3bad6adf..be8c3839 100644 --- a/src/merge/resources/accounting/resources/link_token/__init__.py +++ b/src/merge/resources/accounting/resources/link_token/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} + from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = { + "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", + "EndUserDetailsRequestLanguage": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/accounting/resources/link_token/client.py b/src/merge/resources/accounting/resources/link_token/client.py index 840832bb..9dea0c22 100644 --- a/src/merge/resources/accounting/resources/link_token/client.py +++ b/src/merge/resources/accounting/resources/link_token/client.py @@ -9,6 +9,9 @@ from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient +from .types.end_user_details_request_completed_account_initial_screen import ( + EndUserDetailsRequestCompletedAccountInitialScreen, +) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -48,10 +51,13 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, + credential_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -97,6 +103,17 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. + completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] + When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. + + * `SELECTIVE_SYNC` - SELECTIVE_SYNC + + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. + + credential_id : typing.Optional[str] + The id of the credential that you want this Linked Account to be tied to. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -135,6 +152,9 @@ def create( language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, + completed_account_initial_screen=completed_account_initial_screen, + linked_destination_id=linked_destination_id, + credential_id=credential_id, request_options=request_options, ) return _response.data @@ -173,10 +193,13 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, + credential_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -222,6 +245,17 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. + completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] + When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. + + * `SELECTIVE_SYNC` - SELECTIVE_SYNC + + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. + + credential_id : typing.Optional[str] + The id of the credential that you want this Linked Account to be tied to. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -268,6 +302,9 @@ async def main() -> None: language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, + completed_account_initial_screen=completed_account_initial_screen, + linked_destination_id=linked_destination_id, + credential_id=credential_id, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/accounting/resources/link_token/raw_client.py b/src/merge/resources/accounting/resources/link_token/raw_client.py index 06ad90b6..89324aa9 100644 --- a/src/merge/resources/accounting/resources/link_token/raw_client.py +++ b/src/merge/resources/accounting/resources/link_token/raw_client.py @@ -12,6 +12,9 @@ from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken +from .types.end_user_details_request_completed_account_initial_screen import ( + EndUserDetailsRequestCompletedAccountInitialScreen, +) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -40,10 +43,13 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, + credential_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -89,6 +95,17 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. + completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] + When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. + + * `SELECTIVE_SYNC` - SELECTIVE_SYNC + + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. + + credential_id : typing.Optional[str] + The id of the credential that you want this Linked Account to be tied to. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -114,6 +131,9 @@ def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, + "completed_account_initial_screen": completed_account_initial_screen, + "linked_destination_id": linked_destination_id, + "credential_id": credential_id, }, headers={ "content-type": "application/json", @@ -159,10 +179,13 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, + completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, + credential_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -208,6 +231,17 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. + completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] + When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. + + * `SELECTIVE_SYNC` - SELECTIVE_SYNC + + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. + + credential_id : typing.Optional[str] + The id of the credential that you want this Linked Account to be tied to. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -233,6 +267,9 @@ async def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, + "completed_account_initial_screen": completed_account_initial_screen, + "linked_destination_id": linked_destination_id, + "credential_id": credential_id, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/accounting/resources/link_token/types/__init__.py b/src/merge/resources/accounting/resources/link_token/types/__init__.py index e9a7d3b9..55cc1d4e 100644 --- a/src/merge/resources/accounting/resources/link_token/types/__init__.py +++ b/src/merge/resources/accounting/resources/link_token/types/__init__.py @@ -6,8 +6,14 @@ from importlib import import_module if typing.TYPE_CHECKING: + from .end_user_details_request_completed_account_initial_screen import ( + EndUserDetailsRequestCompletedAccountInitialScreen, + ) from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} +_dynamic_imports: typing.Dict[str, str] = { + "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", + "EndUserDetailsRequestLanguage": ".end_user_details_request_language", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/accounting/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py similarity index 100% rename from src/merge/resources/chat/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py rename to src/merge/resources/accounting/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py diff --git a/src/merge/resources/accounting/resources/linked_accounts/client.py b/src/merge/resources/accounting/resources/linked_accounts/client.py index 3fceae3a..36ccae81 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,14 +42,14 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. Parameters ---------- category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats @@ -57,6 +58,10 @@ def list( * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `datawarehouse` - datawarehouse + * `knowledgebase` - knowledgebase + * `communication` - communication + * `chat` - chat cursor : typing.Optional[str] The pagination cursor value. @@ -88,7 +93,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,7 +103,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +117,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.linked_accounts.list( + response = client.accounting.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +132,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +154,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,14 +188,14 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. Parameters ---------- category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats @@ -195,6 +204,10 @@ async def list( * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `datawarehouse` - datawarehouse + * `knowledgebase` - knowledgebase + * `communication` - communication + * `chat` - chat cursor : typing.Optional[str] The pagination cursor value. @@ -226,7 +239,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +249,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +268,7 @@ async def list( async def main() -> None: - await client.accounting.linked_accounts.list( + response = await client.accounting.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +283,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +309,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/linked_accounts/raw_client.py b/src/merge/resources/accounting/resources/linked_accounts/raw_client.py index ccb799fd..a8463228 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/accounting/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,14 +34,14 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. Parameters ---------- category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats @@ -49,6 +50,10 @@ def list( * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `datawarehouse` - datawarehouse + * `knowledgebase` - knowledgebase + * `communication` - communication + * `chat` - chat cursor : typing.Optional[str] The pagination cursor value. @@ -80,7 +85,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +120,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,14 +176,14 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. Parameters ---------- category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` + Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` * `hris` - hris * `ats` - ats @@ -166,6 +192,10 @@ async def list( * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `datawarehouse` - datawarehouse + * `knowledgebase` - knowledgebase + * `communication` - communication + * `chat` - chat cursor : typing.Optional[str] The pagination cursor value. @@ -197,7 +227,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +237,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +262,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/accounting/resources/linked_accounts/types/linked_accounts_list_request_category.py index bd873ea8..072b2329 100644 --- a/src/merge/resources/accounting/resources/linked_accounts/types/linked_accounts_list_request_category.py +++ b/src/merge/resources/accounting/resources/linked_accounts/types/linked_accounts_list_request_category.py @@ -9,9 +9,13 @@ class LinkedAccountsListRequestCategory(str, enum.Enum): ACCOUNTING = "accounting" ATS = "ats" + CHAT = "chat" + COMMUNICATION = "communication" CRM = "crm" + DATAWAREHOUSE = "datawarehouse" FILESTORAGE = "filestorage" HRIS = "hris" + KNOWLEDGEBASE = "knowledgebase" MKTG = "mktg" TICKETING = "ticketing" @@ -19,9 +23,13 @@ def visit( self, accounting: typing.Callable[[], T_Result], ats: typing.Callable[[], T_Result], + chat: typing.Callable[[], T_Result], + communication: typing.Callable[[], T_Result], crm: typing.Callable[[], T_Result], + datawarehouse: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], hris: typing.Callable[[], T_Result], + knowledgebase: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], ticketing: typing.Callable[[], T_Result], ) -> T_Result: @@ -29,12 +37,20 @@ def visit( return accounting() if self is LinkedAccountsListRequestCategory.ATS: return ats() + if self is LinkedAccountsListRequestCategory.CHAT: + return chat() + if self is LinkedAccountsListRequestCategory.COMMUNICATION: + return communication() if self is LinkedAccountsListRequestCategory.CRM: return crm() + if self is LinkedAccountsListRequestCategory.DATAWAREHOUSE: + return datawarehouse() if self is LinkedAccountsListRequestCategory.FILESTORAGE: return filestorage() if self is LinkedAccountsListRequestCategory.HRIS: return hris() + if self is LinkedAccountsListRequestCategory.KNOWLEDGEBASE: + return knowledgebase() if self is LinkedAccountsListRequestCategory.MKTG: return mktg() if self is LinkedAccountsListRequestCategory.TICKETING: diff --git a/src/merge/resources/accounting/resources/payment_methods/client.py b/src/merge/resources/accounting/resources/payment_methods/client.py index f1761ebf..e8233b4f 100644 --- a/src/merge/resources/accounting/resources/payment_methods/client.py +++ b/src/merge/resources/accounting/resources/payment_methods/client.py @@ -3,8 +3,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_payment_method_list import PaginatedPaymentMethodList from ...types.payment_method import PaymentMethod from .raw_client import AsyncRawPaymentMethodsClient, RawPaymentMethodsClient @@ -33,7 +33,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentMethodList: + ) -> SyncPager[PaymentMethod]: """ Returns a list of `PaymentMethod` objects. @@ -52,14 +52,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedPaymentMethodList + SyncPager[PaymentMethod] Examples @@ -70,15 +70,20 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payment_methods.list( + response = client.accounting.payment_methods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -86,7 +91,6 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, @@ -164,7 +168,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentMethodList: + ) -> AsyncPager[PaymentMethod]: """ Returns a list of `PaymentMethod` objects. @@ -183,14 +187,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedPaymentMethodList + AsyncPager[PaymentMethod] Examples @@ -206,18 +210,24 @@ async def list( async def main() -> None: - await client.accounting.payment_methods.list( + response = await client.accounting.payment_methods.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -225,7 +235,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/accounting/resources/payment_methods/raw_client.py b/src/merge/resources/accounting/resources/payment_methods/raw_client.py index 78256eba..078e7c3b 100644 --- a/src/merge/resources/accounting/resources/payment_methods/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_methods/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payment_method_list import PaginatedPaymentMethodList @@ -26,7 +27,7 @@ def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentMethodList]: + ) -> SyncPager[PaymentMethod]: """ Returns a list of `PaymentMethod` objects. @@ -45,14 +46,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedPaymentMethodList] + SyncPager[PaymentMethod] """ _response = self._client_wrapper.httpx_client.request( @@ -69,14 +70,27 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentMethodList, construct_type( type_=PaginatedPaymentMethodList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -149,7 +163,7 @@ async def list( include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentMethodList]: + ) -> AsyncPager[PaymentMethod]: """ Returns a list of `PaymentMethod` objects. @@ -168,14 +182,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedPaymentMethodList] + AsyncPager[PaymentMethod] """ _response = await self._client_wrapper.httpx_client.request( @@ -192,14 +206,30 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentMethodList, construct_type( type_=PaginatedPaymentMethodList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/payment_terms/client.py b/src/merge/resources/accounting/resources/payment_terms/client.py index 89107e4e..739821af 100644 --- a/src/merge/resources/accounting/resources/payment_terms/client.py +++ b/src/merge/resources/accounting/resources/payment_terms/client.py @@ -3,8 +3,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_payment_term_list import PaginatedPaymentTermList from ...types.payment_term import PaymentTerm from .raw_client import AsyncRawPaymentTermsClient, RawPaymentTermsClient @@ -28,13 +28,15 @@ def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentTermList: + ) -> SyncPager[PaymentTerm]: """ Returns a list of `PaymentTerm` objects. @@ -43,7 +45,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -56,14 +58,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedPaymentTermList + SyncPager[PaymentTerm] Examples @@ -74,15 +76,20 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payment_terms.list( + response = client.accounting.payment_terms.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -91,13 +98,14 @@ def list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -109,7 +117,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -169,13 +177,15 @@ async def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentTermList: + ) -> AsyncPager[PaymentTerm]: """ Returns a list of `PaymentTerm` objects. @@ -184,7 +194,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -197,14 +207,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedPaymentTermList + AsyncPager[PaymentTerm] Examples @@ -220,18 +230,24 @@ async def list( async def main() -> None: - await client.accounting.payment_terms.list( + response = await client.accounting.payment_terms.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, expand=expand, include_deleted_data=include_deleted_data, @@ -240,13 +256,14 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -258,7 +275,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/payment_terms/raw_client.py b/src/merge/resources/accounting/resources/payment_terms/raw_client.py index 17476644..ad19959e 100644 --- a/src/merge/resources/accounting/resources/payment_terms/raw_client.py +++ b/src/merge/resources/accounting/resources/payment_terms/raw_client.py @@ -7,6 +7,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payment_term_list import PaginatedPaymentTermList @@ -21,13 +22,15 @@ def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentTermList]: + ) -> SyncPager[PaymentTerm]: """ Returns a list of `PaymentTerm` objects. @@ -36,7 +39,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -49,14 +52,14 @@ def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedPaymentTermList] + SyncPager[PaymentTerm] """ _response = self._client_wrapper.httpx_client.request( @@ -74,14 +77,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentTermList, construct_type( type_=PaginatedPaymentTermList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -91,7 +108,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -103,7 +122,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -154,13 +173,15 @@ async def list( self, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentTermList]: + ) -> AsyncPager[PaymentTerm]: """ Returns a list of `PaymentTerm` objects. @@ -169,7 +190,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -182,14 +203,14 @@ async def list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedPaymentTermList] + AsyncPager[PaymentTerm] """ _response = await self._client_wrapper.httpx_client.request( @@ -207,14 +228,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentTermList, construct_type( type_=PaginatedPaymentTermList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -224,7 +262,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -236,7 +276,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/payments/__init__.py b/src/merge/resources/accounting/resources/payments/__init__.py index 684c991d..5b899f5a 100644 --- a/src/merge/resources/accounting/resources/payments/__init__.py +++ b/src/merge/resources/accounting/resources/payments/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import PaymentsListRequestExpand, PaymentsRetrieveRequestExpand + from .types import PaymentsListRequestExpandItem, PaymentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PaymentsListRequestExpand": ".types", - "PaymentsRetrieveRequestExpand": ".types", + "PaymentsListRequestExpandItem": ".types", + "PaymentsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand"] +__all__ = ["PaymentsListRequestExpandItem", "PaymentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payments/client.py b/src/merge/resources/accounting/resources/payments/client.py index a6cae803..8a794ba7 100644 --- a/src/merge/resources/accounting/resources/payments/client.py +++ b/src/merge/resources/accounting/resources/payments/client.py @@ -4,17 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_payment_list import PaginatedPaymentList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_payment_request import PatchedPaymentRequest from ...types.payment import Payment from ...types.payment_request import PaymentRequest from ...types.payment_response import PaymentResponse +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawPaymentsClient, RawPaymentsClient -from .types.payments_list_request_expand import PaymentsListRequestExpand -from .types.payments_retrieve_request_expand import PaymentsRetrieveRequestExpand +from .types.payments_list_request_expand_item import PaymentsListRequestExpandItem +from .types.payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +44,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -56,7 +58,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentList: + ) -> SyncPager[Payment]: """ Returns a list of `Payment` objects. @@ -80,7 +82,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -102,7 +104,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -118,7 +120,7 @@ def list( Returns ------- - PaginatedPaymentList + SyncPager[Payment] Examples @@ -126,15 +128,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.list( + response = client.accounting.payments.list( account_id="account_id", company_id="company_id", contact_id="contact_id", @@ -145,7 +144,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -165,8 +163,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -186,7 +189,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -241,7 +243,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -254,7 +258,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -277,9 +281,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -287,7 +288,6 @@ def retrieve( ) client.accounting.payments.retrieve( id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -367,7 +367,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -392,14 +392,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -410,7 +410,7 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.line_items_remote_field_classes_list( + response = client.accounting.payments.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -419,8 +419,13 @@ def line_items_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -430,7 +435,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -501,7 +505,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -526,14 +530,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -544,7 +548,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.payments.remote_field_classes_list( + response = client.accounting.payments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -553,8 +557,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -564,7 +573,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncPaymentsClient: @@ -591,7 +599,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -603,7 +613,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPaymentList: + ) -> AsyncPager[Payment]: """ Returns a list of `Payment` objects. @@ -627,7 +637,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -649,7 +659,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -665,7 +675,7 @@ async def list( Returns ------- - PaginatedPaymentList + AsyncPager[Payment] Examples @@ -674,9 +684,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.payments import ( - PaymentsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -685,7 +692,7 @@ async def list( async def main() -> None: - await client.accounting.payments.list( + response = await client.accounting.payments.list( account_id="account_id", company_id="company_id", contact_id="contact_id", @@ -696,7 +703,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PaymentsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -716,11 +722,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, company_id=company_id, contact_id=contact_id, @@ -740,7 +752,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -803,7 +814,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -816,7 +829,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -841,9 +854,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.payments import ( - PaymentsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -854,7 +864,6 @@ async def retrieve( async def main() -> None: await client.accounting.payments.retrieve( id="id", - expand=PaymentsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -945,7 +954,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -970,14 +979,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -993,20 +1002,28 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.payments.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.payments.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1016,7 +1033,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1105,7 +1121,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1130,14 +1146,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1153,7 +1169,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.payments.remote_field_classes_list( + response = await client.accounting.payments.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -1162,11 +1178,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1176,4 +1198,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/payments/raw_client.py b/src/merge/resources/accounting/resources/payments/raw_client.py index 590f6502..0817d6bc 100644 --- a/src/merge/resources/accounting/resources/payments/raw_client.py +++ b/src/merge/resources/accounting/resources/payments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -18,8 +19,9 @@ from ...types.payment import Payment from ...types.payment_request import PaymentRequest from ...types.payment_response import PaymentResponse -from .types.payments_list_request_expand import PaymentsListRequestExpand -from .types.payments_retrieve_request_expand import PaymentsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.payments_list_request_expand_item import PaymentsListRequestExpandItem +from .types.payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -50,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPaymentList]: + ) -> SyncPager[Payment]: """ Returns a list of `Payment` objects. @@ -74,7 +78,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -96,7 +100,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -112,7 +116,7 @@ def list( Returns ------- - HttpResponse[PaginatedPaymentList] + SyncPager[Payment] """ _response = self._client_wrapper.httpx_client.request( @@ -145,14 +149,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentList, construct_type( type_=PaginatedPaymentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -222,7 +251,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -235,7 +266,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -355,7 +386,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -380,14 +411,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -406,14 +437,29 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -504,7 +550,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -529,14 +575,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -555,14 +601,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,7 +643,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PaymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -594,7 +657,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPaymentList]: + ) -> AsyncPager[Payment]: """ Returns a list of `Payment` objects. @@ -618,7 +681,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PaymentsListRequestExpand] + expand : typing.Optional[typing.Union[PaymentsListRequestExpandItem, typing.Sequence[PaymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -640,7 +703,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -656,7 +719,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPaymentList] + AsyncPager[Payment] """ _response = await self._client_wrapper.httpx_client.request( @@ -689,14 +752,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPaymentList, construct_type( type_=PaginatedPaymentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + company_id=company_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -766,7 +857,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PaymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -779,7 +872,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PaymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PaymentsRetrieveRequestExpandItem, typing.Sequence[PaymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -899,7 +992,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -924,14 +1017,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -950,14 +1043,32 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -1048,7 +1159,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1073,14 +1184,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1099,14 +1210,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/payments/types/__init__.py b/src/merge/resources/accounting/resources/payments/types/__init__.py index f0d810e9..42fedbc5 100644 --- a/src/merge/resources/accounting/resources/payments/types/__init__.py +++ b/src/merge/resources/accounting/resources/payments/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .payments_list_request_expand import PaymentsListRequestExpand - from .payments_retrieve_request_expand import PaymentsRetrieveRequestExpand + from .payments_list_request_expand_item import PaymentsListRequestExpandItem + from .payments_retrieve_request_expand_item import PaymentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PaymentsListRequestExpand": ".payments_list_request_expand", - "PaymentsRetrieveRequestExpand": ".payments_retrieve_request_expand", + "PaymentsListRequestExpandItem": ".payments_list_request_expand_item", + "PaymentsRetrieveRequestExpandItem": ".payments_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PaymentsListRequestExpand", "PaymentsRetrieveRequestExpand"] +__all__ = ["PaymentsListRequestExpandItem", "PaymentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py deleted file mode 100644 index f22783c7..00000000 --- a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand.py +++ /dev/null @@ -1,641 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PaymentsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,accounting_period,payment_method" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,company,accounting_period,payment_method" - ACCOUNT_COMPANY_PAYMENT_METHOD = "account,company,payment_method" - ACCOUNT_PAYMENT_METHOD = "account,payment_method" - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_METHOD = "accounting_period,payment_method" - APPLIED_TO_LINES = "applied_to_lines" - APPLIED_TO_LINES_ACCOUNT = "applied_to_lines,account" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,account,accounting_period" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY = "applied_to_lines,account,company" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,account,company,accounting_period" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,account,company,payment_method" - APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,account,payment_method" - APPLIED_TO_LINES_ACCOUNTING_PERIOD = "applied_to_lines,accounting_period" - APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "applied_to_lines,accounting_period,payment_method" - APPLIED_TO_LINES_COMPANY = "applied_to_lines,company" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,company,accounting_period" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = "applied_to_lines,company,payment_method" - APPLIED_TO_LINES_CONTACT = "applied_to_lines,contact" - APPLIED_TO_LINES_CONTACT_ACCOUNT = "applied_to_lines,contact,account" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,contact,account,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = "applied_to_lines,contact,account,company" - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_to_lines,contact,account,company,accounting_period" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,account,company,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,contact,account,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = "applied_to_lines,contact,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY = "applied_to_lines,contact,company" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,contact,company,accounting_period" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,company,payment_method" - APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = "applied_to_lines,contact,payment_method" - APPLIED_TO_LINES_PAYMENT_METHOD = "applied_to_lines,payment_method" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "company,accounting_period,payment_method" - COMPANY_PAYMENT_METHOD = "company,payment_method" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,account,accounting_period,payment_method" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "contact,account,company,accounting_period,payment_method" - ) - CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "contact,account,company,payment_method" - CONTACT_ACCOUNT_PAYMENT_METHOD = "contact,account,payment_method" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,accounting_period,payment_method" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,company,accounting_period,payment_method" - CONTACT_COMPANY_PAYMENT_METHOD = "contact,company,payment_method" - CONTACT_PAYMENT_METHOD = "contact,payment_method" - PAYMENT_METHOD = "payment_method" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD = "tracking_categories,account,company,payment_method" - TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD = "tracking_categories,account,payment_method" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "tracking_categories,accounting_period,payment_method" - TRACKING_CATEGORIES_APPLIED_TO_LINES = "tracking_categories,applied_to_lines" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT = "tracking_categories,applied_to_lines,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY = "tracking_categories,applied_to_lines,account,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD = "tracking_categories,applied_to_lines,accounting_period" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY = "tracking_categories,applied_to_lines,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT = "tracking_categories,applied_to_lines,contact" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT = "tracking_categories,applied_to_lines,contact,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = ( - "tracking_categories,applied_to_lines,contact,account,company" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY = "tracking_categories,applied_to_lines,contact,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD = "tracking_categories,applied_to_lines,payment_method" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD = "tracking_categories,company,payment_method" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD = "tracking_categories,contact,account,payment_method" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD = "tracking_categories,contact,company,payment_method" - TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD = "tracking_categories,contact,payment_method" - TRACKING_CATEGORIES_PAYMENT_METHOD = "tracking_categories,payment_method" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company_payment_method: typing.Callable[[], T_Result], - account_payment_method: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines: typing.Callable[[], T_Result], - applied_to_lines_account: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact: typing.Callable[[], T_Result], - applied_to_lines_contact_account: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - applied_to_lines_payment_method: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_method: typing.Callable[[], T_Result], - company_payment_method: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company_payment_method: typing.Callable[[], T_Result], - contact_account_payment_method: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company_payment_method: typing.Callable[[], T_Result], - contact_payment_method: typing.Callable[[], T_Result], - payment_method: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_payment_method: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_payment_method: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PaymentsListRequestExpand.ACCOUNT: - return account() - if self is PaymentsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is PaymentsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_COMPANY_PAYMENT_METHOD: - return account_company_payment_method() - if self is PaymentsListRequestExpand.ACCOUNT_PAYMENT_METHOD: - return account_payment_method() - if self is PaymentsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PaymentsListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_METHOD: - return accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES: - return applied_to_lines() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT: - return applied_to_lines_account() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_account_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY: - return applied_to_lines_account_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_account_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_account_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_account_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return applied_to_lines_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY: - return applied_to_lines_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return applied_to_lines_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT: - return applied_to_lines_contact() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT: - return applied_to_lines_contact_account() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return applied_to_lines_contact_account_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_contact_account_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY: - return applied_to_lines_contact_company() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_company_accounting_period() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_company_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return applied_to_lines_contact_payment_method() - if self is PaymentsListRequestExpand.APPLIED_TO_LINES_PAYMENT_METHOD: - return applied_to_lines_payment_method() - if self is PaymentsListRequestExpand.COMPANY: - return company() - if self is PaymentsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PaymentsListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.COMPANY_PAYMENT_METHOD: - return company_payment_method() - if self is PaymentsListRequestExpand.CONTACT: - return contact() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return contact_account_company_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNT_PAYMENT_METHOD: - return contact_account_payment_method() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.CONTACT_COMPANY_PAYMENT_METHOD: - return contact_company_payment_method() - if self is PaymentsListRequestExpand.CONTACT_PAYMENT_METHOD: - return contact_payment_method() - if self is PaymentsListRequestExpand.PAYMENT_METHOD: - return payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES: - return tracking_categories_applied_to_lines() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT: - return tracking_categories_applied_to_lines_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY: - return tracking_categories_applied_to_lines_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT: - return tracking_categories_applied_to_lines_contact() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT: - return tracking_categories_applied_to_lines_contact_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_account_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_contact_account_company() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY: - return tracking_categories_applied_to_lines_contact_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD: - return tracking_categories_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_account_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if ( - self - is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_contact_account_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_account_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_contact_account_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_company_accounting_period_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_company_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD: - return tracking_categories_contact_payment_method() - if self is PaymentsListRequestExpand.TRACKING_CATEGORIES_PAYMENT_METHOD: - return tracking_categories_payment_method() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py new file mode 100644 index 00000000..6ae2b539 --- /dev/null +++ b/src/merge/resources/accounting/resources/payments/types/payments_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_TO_LINES = "applied_to_lines" + COMPANY = "company" + CONTACT = "contact" + PAYMENT_METHOD = "payment_method" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + applied_to_lines: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + payment_method: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PaymentsListRequestExpandItem.ACCOUNT: + return account() + if self is PaymentsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PaymentsListRequestExpandItem.APPLIED_TO_LINES: + return applied_to_lines() + if self is PaymentsListRequestExpandItem.COMPANY: + return company() + if self is PaymentsListRequestExpandItem.CONTACT: + return contact() + if self is PaymentsListRequestExpandItem.PAYMENT_METHOD: + return payment_method() + if self is PaymentsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py deleted file mode 100644 index fea64353..00000000 --- a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand.py +++ /dev/null @@ -1,644 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PaymentsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,accounting_period,payment_method" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "account,company,accounting_period,payment_method" - ACCOUNT_COMPANY_PAYMENT_METHOD = "account,company,payment_method" - ACCOUNT_PAYMENT_METHOD = "account,payment_method" - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_METHOD = "accounting_period,payment_method" - APPLIED_TO_LINES = "applied_to_lines" - APPLIED_TO_LINES_ACCOUNT = "applied_to_lines,account" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,account,accounting_period" - APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY = "applied_to_lines,account,company" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,account,company,accounting_period" - APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,account,company,payment_method" - APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,account,payment_method" - APPLIED_TO_LINES_ACCOUNTING_PERIOD = "applied_to_lines,accounting_period" - APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "applied_to_lines,accounting_period,payment_method" - APPLIED_TO_LINES_COMPANY = "applied_to_lines,company" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,company,accounting_period" - APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = "applied_to_lines,company,payment_method" - APPLIED_TO_LINES_CONTACT = "applied_to_lines,contact" - APPLIED_TO_LINES_CONTACT_ACCOUNT = "applied_to_lines,contact,account" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "applied_to_lines,contact,account,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = "applied_to_lines,contact,account,company" - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "applied_to_lines,contact,account,company,accounting_period" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,account,company,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = "applied_to_lines,contact,account,payment_method" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = "applied_to_lines,contact,accounting_period" - APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY = "applied_to_lines,contact,company" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "applied_to_lines,contact,company,accounting_period" - APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "applied_to_lines,contact,company,accounting_period,payment_method" - ) - APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = "applied_to_lines,contact,company,payment_method" - APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = "applied_to_lines,contact,payment_method" - APPLIED_TO_LINES_PAYMENT_METHOD = "applied_to_lines,payment_method" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "company,accounting_period,payment_method" - COMPANY_PAYMENT_METHOD = "company,payment_method" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,account,accounting_period,payment_method" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "contact,account,company,accounting_period,payment_method" - ) - CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = "contact,account,company,payment_method" - CONTACT_ACCOUNT_PAYMENT_METHOD = "contact,account,payment_method" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,accounting_period,payment_method" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = "contact,company,accounting_period,payment_method" - CONTACT_COMPANY_PAYMENT_METHOD = "contact,company,payment_method" - CONTACT_PAYMENT_METHOD = "contact,payment_method" - PAYMENT_METHOD = "payment_method" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD = "tracking_categories,account,company,payment_method" - TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD = "tracking_categories,account,payment_method" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD = "tracking_categories,accounting_period,payment_method" - TRACKING_CATEGORIES_APPLIED_TO_LINES = "tracking_categories,applied_to_lines" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT = "tracking_categories,applied_to_lines,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY = "tracking_categories,applied_to_lines,account,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD = "tracking_categories,applied_to_lines,accounting_period" - TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY = "tracking_categories,applied_to_lines,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT = "tracking_categories,applied_to_lines,contact" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT = "tracking_categories,applied_to_lines,contact,account" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY = ( - "tracking_categories,applied_to_lines,contact,account,company" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,account,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY = "tracking_categories,applied_to_lines,contact,company" - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,company,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD = ( - "tracking_categories,applied_to_lines,contact,payment_method" - ) - TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD = "tracking_categories,applied_to_lines,payment_method" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD = "tracking_categories,company,payment_method" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD = ( - "tracking_categories,contact,account,company,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD = "tracking_categories,contact,account,payment_method" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD = ( - "tracking_categories,contact,company,accounting_period,payment_method" - ) - TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD = "tracking_categories,contact,company,payment_method" - TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD = "tracking_categories,contact,payment_method" - TRACKING_CATEGORIES_PAYMENT_METHOD = "tracking_categories,payment_method" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - account_company_payment_method: typing.Callable[[], T_Result], - account_payment_method: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines: typing.Callable[[], T_Result], - applied_to_lines_account: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact: typing.Callable[[], T_Result], - applied_to_lines_contact_account: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - applied_to_lines_payment_method: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_method: typing.Callable[[], T_Result], - company_payment_method: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_account_company_payment_method: typing.Callable[[], T_Result], - contact_account_payment_method: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - contact_company_payment_method: typing.Callable[[], T_Result], - contact_payment_method: typing.Callable[[], T_Result], - payment_method: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method: typing.Callable[ - [], T_Result - ], - tracking_categories_applied_to_lines_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_applied_to_lines_payment_method: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_account_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_company_payment_method: typing.Callable[[], T_Result], - tracking_categories_contact_payment_method: typing.Callable[[], T_Result], - tracking_categories_payment_method: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PaymentsRetrieveRequestExpand.ACCOUNT: - return account() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_COMPANY_PAYMENT_METHOD: - return account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNT_PAYMENT_METHOD: - return account_payment_method() - if self is PaymentsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PaymentsRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_METHOD: - return accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES: - return applied_to_lines() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT: - return applied_to_lines_account() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY: - return applied_to_lines_account_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_account_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return applied_to_lines_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY: - return applied_to_lines_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return applied_to_lines_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT: - return applied_to_lines_contact() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT: - return applied_to_lines_contact_account() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return applied_to_lines_contact_account_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return applied_to_lines_contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return applied_to_lines_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return applied_to_lines_contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY: - return applied_to_lines_contact_company() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return applied_to_lines_contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return applied_to_lines_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return applied_to_lines_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.APPLIED_TO_LINES_PAYMENT_METHOD: - return applied_to_lines_payment_method() - if self is PaymentsRetrieveRequestExpand.COMPANY: - return company() - if self is PaymentsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PaymentsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.COMPANY_PAYMENT_METHOD: - return company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT: - return contact() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNT_PAYMENT_METHOD: - return contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_COMPANY_PAYMENT_METHOD: - return contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.CONTACT_PAYMENT_METHOD: - return contact_payment_method() - if self is PaymentsRetrieveRequestExpand.PAYMENT_METHOD: - return payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES: - return tracking_categories_applied_to_lines() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT: - return tracking_categories_applied_to_lines_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY: - return tracking_categories_applied_to_lines_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT: - return tracking_categories_applied_to_lines_contact() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT: - return tracking_categories_applied_to_lines_contact_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_account_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_applied_to_lines_contact_account_company() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_accounting_period_payment_method() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY: - return tracking_categories_applied_to_lines_contact_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_applied_to_lines_contact_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_applied_to_lines_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_CONTACT_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_APPLIED_TO_LINES_PAYMENT_METHOD: - return tracking_categories_applied_to_lines_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_METHOD: - return tracking_categories_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_account_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if ( - self - is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD - ): - return tracking_categories_contact_account_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_account_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_PAYMENT_METHOD: - return tracking_categories_contact_account_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD_PAYMENT_METHOD: - return tracking_categories_contact_company_accounting_period_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_PAYMENT_METHOD: - return tracking_categories_contact_company_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_PAYMENT_METHOD: - return tracking_categories_contact_payment_method() - if self is PaymentsRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_METHOD: - return tracking_categories_payment_method() diff --git a/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py new file mode 100644 index 00000000..037761ae --- /dev/null +++ b/src/merge/resources/accounting/resources/payments/types/payments_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PaymentsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + APPLIED_TO_LINES = "applied_to_lines" + COMPANY = "company" + CONTACT = "contact" + PAYMENT_METHOD = "payment_method" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + applied_to_lines: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + payment_method: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PaymentsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is PaymentsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PaymentsRetrieveRequestExpandItem.APPLIED_TO_LINES: + return applied_to_lines() + if self is PaymentsRetrieveRequestExpandItem.COMPANY: + return company() + if self is PaymentsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is PaymentsRetrieveRequestExpandItem.PAYMENT_METHOD: + return payment_method() + if self is PaymentsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/projects/__init__.py b/src/merge/resources/accounting/resources/projects/__init__.py index 0b00b3f8..c27a4ad7 100644 --- a/src/merge/resources/accounting/resources/projects/__init__.py +++ b/src/merge/resources/accounting/resources/projects/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ProjectsListRequestExpand, ProjectsRetrieveRequestExpand + from .types import ProjectsListRequestExpandItem, ProjectsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ProjectsListRequestExpand": ".types", - "ProjectsRetrieveRequestExpand": ".types", + "ProjectsListRequestExpandItem": ".types", + "ProjectsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] +__all__ = ["ProjectsListRequestExpandItem", "ProjectsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/projects/client.py b/src/merge/resources/accounting/resources/projects/client.py index 22263c6b..11267170 100644 --- a/src/merge/resources/accounting/resources/projects/client.py +++ b/src/merge/resources/accounting/resources/projects/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_project_list import PaginatedProjectList from ...types.project import Project from .raw_client import AsyncRawProjectsClient, RawProjectsClient -from .types.projects_list_request_expand import ProjectsListRequestExpand -from .types.projects_retrieve_request_expand import ProjectsRetrieveRequestExpand +from .types.projects_list_request_expand_item import ProjectsListRequestExpandItem +from .types.projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem class ProjectsClient: @@ -34,16 +34,19 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, + is_active: typing.Optional[str] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> SyncPager[Project]: """ Returns a list of `Project` objects. @@ -61,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -73,6 +76,9 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + is_active : typing.Optional[str] + If provided, will only return projects with this value for is_active. + modified_after : typing.Optional[dt.datetime] If provided, only objects synced by Merge after this date time will be returned. @@ -80,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -90,7 +96,7 @@ def list( Returns ------- - PaginatedProjectList + SyncPager[Project] Examples @@ -98,15 +104,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.projects.list( + response = client.accounting.projects.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -115,10 +118,10 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, include_deleted_data=True, include_remote_data=True, include_shell_data=True, + is_active="is_active", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -128,8 +131,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -138,19 +146,21 @@ def list( include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, + is_active=is_active, modified_after=modified_after, modified_before=modified_before, page_size=page_size, remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +172,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -182,9 +192,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -192,7 +199,6 @@ def retrieve( ) client.accounting.projects.retrieve( id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, include_remote_data=True, include_shell_data=True, ) @@ -229,16 +235,19 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, + is_active: typing.Optional[str] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> AsyncPager[Project]: """ Returns a list of `Project` objects. @@ -256,7 +265,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -268,6 +277,9 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + is_active : typing.Optional[str] + If provided, will only return projects with this value for is_active. + modified_after : typing.Optional[dt.datetime] If provided, only objects synced by Merge after this date time will be returned. @@ -275,7 +287,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -285,7 +297,7 @@ async def list( Returns ------- - PaginatedProjectList + AsyncPager[Project] Examples @@ -294,9 +306,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.projects import ( - ProjectsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -305,7 +314,7 @@ async def list( async def main() -> None: - await client.accounting.projects.list( + response = await client.accounting.projects.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -314,10 +323,10 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsListRequestExpand.COMPANY, include_deleted_data=True, include_remote_data=True, include_shell_data=True, + is_active="is_active", modified_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -327,11 +336,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -340,19 +355,21 @@ async def main() -> None: include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, + is_active=is_active, modified_after=modified_after, modified_before=modified_before, page_size=page_size, remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -364,7 +381,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -386,9 +403,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.projects import ( - ProjectsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -399,7 +413,6 @@ async def retrieve( async def main() -> None: await client.accounting.projects.retrieve( id="id", - expand=ProjectsRetrieveRequestExpand.COMPANY, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/projects/raw_client.py b/src/merge/resources/accounting/resources/projects/raw_client.py index bd66cec8..8e0d3505 100644 --- a/src/merge/resources/accounting/resources/projects/raw_client.py +++ b/src/merge/resources/accounting/resources/projects/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_project_list import PaginatedProjectList from ...types.project import Project -from .types.projects_list_request_expand import ProjectsListRequestExpand -from .types.projects_retrieve_request_expand import ProjectsRetrieveRequestExpand +from .types.projects_list_request_expand_item import ProjectsListRequestExpandItem +from .types.projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem class RawProjectsClient: @@ -28,16 +29,19 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, + is_active: typing.Optional[str] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedProjectList]: + ) -> SyncPager[Project]: """ Returns a list of `Project` objects. @@ -55,7 +59,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -67,6 +71,9 @@ def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + is_active : typing.Optional[str] + If provided, will only return projects with this value for is_active. + modified_after : typing.Optional[dt.datetime] If provided, only objects synced by Merge after this date time will be returned. @@ -74,7 +81,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -84,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedProjectList] + SyncPager[Project] """ _response = self._client_wrapper.httpx_client.request( @@ -99,6 +106,7 @@ def list( "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, + "is_active": is_active, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, @@ -108,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_active=is_active, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -125,7 +154,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -137,7 +168,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -191,16 +222,19 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, + is_active: typing.Optional[str] = None, modified_after: typing.Optional[dt.datetime] = None, modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedProjectList]: + ) -> AsyncPager[Project]: """ Returns a list of `Project` objects. @@ -218,7 +252,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsListRequestExpandItem, typing.Sequence[ProjectsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -230,6 +264,9 @@ async def list( include_shell_data : typing.Optional[bool] Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + is_active : typing.Optional[str] + If provided, will only return projects with this value for is_active. + modified_after : typing.Optional[dt.datetime] If provided, only objects synced by Merge after this date time will be returned. @@ -237,7 +274,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -247,7 +284,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedProjectList] + AsyncPager[Project] """ _response = await self._client_wrapper.httpx_client.request( @@ -262,6 +299,7 @@ async def list( "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, + "is_active": is_active, "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, @@ -271,14 +309,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_active=is_active, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -288,7 +350,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ProjectsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -300,7 +364,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ProjectsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ProjectsRetrieveRequestExpandItem, typing.Sequence[ProjectsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/projects/types/__init__.py b/src/merge/resources/accounting/resources/projects/types/__init__.py index a419e49d..857d709c 100644 --- a/src/merge/resources/accounting/resources/projects/types/__init__.py +++ b/src/merge/resources/accounting/resources/projects/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .projects_list_request_expand import ProjectsListRequestExpand - from .projects_retrieve_request_expand import ProjectsRetrieveRequestExpand + from .projects_list_request_expand_item import ProjectsListRequestExpandItem + from .projects_retrieve_request_expand_item import ProjectsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ProjectsListRequestExpand": ".projects_list_request_expand", - "ProjectsRetrieveRequestExpand": ".projects_retrieve_request_expand", + "ProjectsListRequestExpandItem": ".projects_list_request_expand_item", + "ProjectsRetrieveRequestExpandItem": ".projects_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsListRequestExpand", "ProjectsRetrieveRequestExpand"] +__all__ = ["ProjectsListRequestExpandItem", "ProjectsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py deleted file mode 100644 index e1f087c4..00000000 --- a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - CONTACT = "contact" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsListRequestExpand.COMPANY: - return company() - if self is ProjectsListRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ProjectsListRequestExpand.CONTACT: - return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py new file mode 100644 index 00000000..0a06a67b --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CONTACT = "contact" + + def visit(self, company: typing.Callable[[], T_Result], contact: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsListRequestExpandItem.COMPANY: + return company() + if self is ProjectsListRequestExpandItem.CONTACT: + return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py deleted file mode 100644 index 7aa1205a..00000000 --- a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_CONTACT = "company,contact" - CONTACT = "contact" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_contact: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsRetrieveRequestExpand.COMPANY: - return company() - if self is ProjectsRetrieveRequestExpand.COMPANY_CONTACT: - return company_contact() - if self is ProjectsRetrieveRequestExpand.CONTACT: - return contact() diff --git a/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py new file mode 100644 index 00000000..14927ee8 --- /dev/null +++ b/src/merge/resources/accounting/resources/projects/types/projects_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CONTACT = "contact" + + def visit(self, company: typing.Callable[[], T_Result], contact: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsRetrieveRequestExpandItem.COMPANY: + return company() + if self is ProjectsRetrieveRequestExpandItem.CONTACT: + return contact() diff --git a/src/merge/resources/accounting/resources/purchase_orders/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/__init__.py index 60161453..3e7388a6 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import PurchaseOrdersListRequestExpand, PurchaseOrdersRetrieveRequestExpand + from .types import PurchaseOrdersListRequestExpandItem, PurchaseOrdersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PurchaseOrdersListRequestExpand": ".types", - "PurchaseOrdersRetrieveRequestExpand": ".types", + "PurchaseOrdersListRequestExpandItem": ".types", + "PurchaseOrdersRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand"] +__all__ = ["PurchaseOrdersListRequestExpandItem", "PurchaseOrdersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/purchase_orders/client.py b/src/merge/resources/accounting/resources/purchase_orders/client.py index 1aeb1d72..e542792a 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/client.py @@ -4,16 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_purchase_order_list import PaginatedPurchaseOrderList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.purchase_order import PurchaseOrder from ...types.purchase_order_request import PurchaseOrderRequest from ...types.purchase_order_response import PurchaseOrderResponse +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawPurchaseOrdersClient, RawPurchaseOrdersClient -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand -from .types.purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand +from .types.purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem +from .types.purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +57,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPurchaseOrderList: + ) -> SyncPager[PurchaseOrder]: """ Returns a list of `PurchaseOrder` objects. @@ -73,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -101,7 +103,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -117,7 +119,7 @@ def list( Returns ------- - PaginatedPurchaseOrderList + SyncPager[PurchaseOrder] Examples @@ -125,15 +127,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.list( + response = client.accounting.purchase_orders.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -142,7 +141,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -162,8 +160,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -183,7 +186,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -238,7 +240,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -253,7 +259,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -282,9 +288,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -292,7 +295,6 @@ def retrieve( ) client.accounting.purchase_orders.retrieve( id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -321,7 +323,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -346,14 +348,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -364,17 +366,24 @@ def line_items_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.line_items_remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + client.accounting.purchase_orders.line_items_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.line_items_remote_field_classes_list( + return self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -384,7 +393,6 @@ def line_items_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -424,7 +432,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -449,14 +457,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -467,7 +475,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.purchase_orders.remote_field_classes_list( + response = client.accounting.purchase_orders.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -476,8 +484,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -487,7 +500,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncPurchaseOrdersClient: @@ -512,7 +524,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -526,7 +540,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPurchaseOrderList: + ) -> AsyncPager[PurchaseOrder]: """ Returns a list of `PurchaseOrder` objects. @@ -544,7 +558,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -572,7 +586,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -588,7 +602,7 @@ async def list( Returns ------- - PaginatedPurchaseOrderList + AsyncPager[PurchaseOrder] Examples @@ -597,9 +611,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -608,7 +619,7 @@ async def list( async def main() -> None: - await client.accounting.purchase_orders.list( + response = await client.accounting.purchase_orders.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -617,7 +628,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -637,11 +647,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -661,7 +677,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -724,7 +739,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -739,7 +758,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -770,9 +789,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.purchase_orders import ( - PurchaseOrdersRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -783,7 +799,6 @@ async def retrieve( async def main() -> None: await client.accounting.purchase_orders.retrieve( id="id", - expand=PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -815,7 +830,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -840,14 +855,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -863,7 +878,7 @@ async def line_items_remote_field_classes_list( async def main() -> None: - await client.accounting.purchase_orders.line_items_remote_field_classes_list( + response = await client.accounting.purchase_orders.line_items_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -872,11 +887,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.line_items_remote_field_classes_list( + return await self._raw_client.line_items_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -886,7 +907,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -934,7 +954,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -959,14 +979,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -982,20 +1002,28 @@ async def remote_field_classes_list( async def main() -> None: - await client.accounting.purchase_orders.remote_field_classes_list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - is_common_model_field=True, - is_custom=True, - page_size=1, + response = ( + await client.accounting.purchase_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1005,4 +1033,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/accounting/resources/purchase_orders/raw_client.py b/src/merge/resources/accounting/resources/purchase_orders/raw_client.py index 035a7463..52fe117e 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/raw_client.py +++ b/src/merge/resources/accounting/resources/purchase_orders/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -17,8 +18,9 @@ from ...types.purchase_order import PurchaseOrder from ...types.purchase_order_request import PurchaseOrderRequest from ...types.purchase_order_response import PurchaseOrderResponse -from .types.purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand -from .types.purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem +from .types.purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,7 +53,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPurchaseOrderList]: + ) -> SyncPager[PurchaseOrder]: """ Returns a list of `PurchaseOrder` objects. @@ -67,7 +71,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -95,7 +99,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -111,7 +115,7 @@ def list( Returns ------- - HttpResponse[PaginatedPurchaseOrderList] + SyncPager[PurchaseOrder] """ _response = self._client_wrapper.httpx_client.request( @@ -140,14 +144,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPurchaseOrderList, construct_type( type_=PaginatedPurchaseOrderList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,7 +246,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -232,7 +265,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -297,7 +330,7 @@ def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -322,14 +355,14 @@ def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -348,14 +381,29 @@ def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -408,7 +456,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -433,14 +481,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -459,14 +507,29 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -484,7 +547,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[PurchaseOrdersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -498,7 +563,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPurchaseOrderList]: + ) -> AsyncPager[PurchaseOrder]: """ Returns a list of `PurchaseOrder` objects. @@ -516,7 +581,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[PurchaseOrdersListRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersListRequestExpandItem, typing.Sequence[PurchaseOrdersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -544,7 +609,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -560,7 +625,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPurchaseOrderList] + AsyncPager[PurchaseOrder] """ _response = await self._client_wrapper.httpx_client.request( @@ -589,14 +654,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPurchaseOrderList, construct_type( type_=PaginatedPurchaseOrderList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -666,7 +759,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[PurchaseOrdersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -681,7 +778,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[PurchaseOrdersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[PurchaseOrdersRetrieveRequestExpandItem, typing.Sequence[PurchaseOrdersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -746,7 +843,7 @@ async def line_items_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -771,14 +868,14 @@ async def line_items_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -797,14 +894,32 @@ async def line_items_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.line_items_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -857,7 +972,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -882,14 +997,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -908,14 +1023,32 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py index 60547917..8823e821 100644 --- a/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py +++ b/src/merge/resources/accounting/resources/purchase_orders/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .purchase_orders_list_request_expand import PurchaseOrdersListRequestExpand - from .purchase_orders_retrieve_request_expand import PurchaseOrdersRetrieveRequestExpand + from .purchase_orders_list_request_expand_item import PurchaseOrdersListRequestExpandItem + from .purchase_orders_retrieve_request_expand_item import PurchaseOrdersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "PurchaseOrdersListRequestExpand": ".purchase_orders_list_request_expand", - "PurchaseOrdersRetrieveRequestExpand": ".purchase_orders_retrieve_request_expand", + "PurchaseOrdersListRequestExpandItem": ".purchase_orders_list_request_expand_item", + "PurchaseOrdersRetrieveRequestExpandItem": ".purchase_orders_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["PurchaseOrdersListRequestExpand", "PurchaseOrdersRetrieveRequestExpand"] +__all__ = ["PurchaseOrdersListRequestExpandItem", "PurchaseOrdersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py deleted file mode 100644 index 7fbb9f9d..00000000 --- a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand.py +++ /dev/null @@ -1,654 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PurchaseOrdersListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - DELIVERY_ADDRESS = "delivery_address" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "delivery_address,accounting_period" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY = "delivery_address,company" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "delivery_address,company,accounting_period" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,company,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "delivery_address,company,payment_term" - DELIVERY_ADDRESS_PAYMENT_TERM = "delivery_address,payment_term" - DELIVERY_ADDRESS_VENDOR = "delivery_address,vendor" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "delivery_address,vendor,accounting_period" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,vendor,accounting_period,payment_term" - DELIVERY_ADDRESS_VENDOR_COMPANY = "delivery_address,vendor,company" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "delivery_address,vendor,company,accounting_period" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "delivery_address,vendor,company,accounting_period,payment_term" - ) - DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "delivery_address,vendor,company,payment_term" - DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "delivery_address,vendor,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS = "line_items,delivery_address" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "line_items,delivery_address,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY = "line_items,delivery_address,company" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "line_items,delivery_address,company,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "line_items,delivery_address,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM = "line_items,delivery_address,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR = "line_items,delivery_address,vendor" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "line_items,delivery_address,vendor,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY = "line_items,delivery_address,vendor,company" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,delivery_address,vendor,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "line_items,delivery_address,vendor,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS = "line_items,tracking_categories,delivery_address" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "line_items,tracking_categories,delivery_address,company" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "line_items,tracking_categories,delivery_address,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = ( - "line_items,tracking_categories,delivery_address,vendor,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR = "line_items,tracking_categories,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "line_items,tracking_categories,vendor,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY = "line_items,tracking_categories,vendor,company" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "line_items,tracking_categories,vendor,payment_term" - LINE_ITEMS_VENDOR = "line_items,vendor" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD = "line_items,vendor,accounting_period" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,vendor,accounting_period,payment_term" - LINE_ITEMS_VENDOR_COMPANY = "line_items,vendor,company" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "line_items,vendor,company,accounting_period" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,vendor,company,payment_term" - LINE_ITEMS_VENDOR_PAYMENT_TERM = "line_items,vendor,payment_term" - PAYMENT_TERM = "payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS = "tracking_categories,delivery_address" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "tracking_categories,delivery_address,accounting_period" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "tracking_categories,delivery_address,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = "tracking_categories,delivery_address,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "tracking_categories,delivery_address,vendor" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = "tracking_categories,delivery_address,vendor,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,payment_term" - ) - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = "tracking_categories,vendor,company,payment_term" - TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "tracking_categories,vendor,payment_term" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,accounting_period,payment_term" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,company,accounting_period,payment_term" - VENDOR_COMPANY_PAYMENT_TERM = "vendor,company,payment_term" - VENDOR_PAYMENT_TERM = "vendor,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - delivery_address: typing.Callable[[], T_Result], - delivery_address_accounting_period: typing.Callable[[], T_Result], - delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company: typing.Callable[[], T_Result], - delivery_address_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company_payment_term: typing.Callable[[], T_Result], - delivery_address_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - line_items_vendor: typing.Callable[[], T_Result], - line_items_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_vendor_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company_payment_term: typing.Callable[[], T_Result], - vendor_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PurchaseOrdersListRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.COMPANY: - return company() - if self is PurchaseOrdersListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PurchaseOrdersListRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS: - return delivery_address() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY: - return delivery_address_company() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_PAYMENT_TERM: - return delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR: - return delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return delivery_address_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY: - return delivery_address_vendor_company() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS: - return line_items() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS: - return line_items_delivery_address() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY: - return line_items_delivery_address_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR: - return line_items_delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_delivery_address_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return line_items_tracking_categories_delivery_address() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return line_items_tracking_categories_delivery_address_company() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return line_items_tracking_categories_delivery_address_vendor() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR: - return line_items_tracking_categories_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY: - return line_items_tracking_categories_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR: - return line_items_vendor() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD: - return line_items_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY: - return line_items_vendor_company() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.LINE_ITEMS_VENDOR_PAYMENT_TERM: - return line_items_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.PAYMENT_TERM: - return payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return tracking_categories_delivery_address() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return tracking_categories_delivery_address_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return tracking_categories_delivery_address_vendor() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return tracking_categories_vendor_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR: - return vendor() - if self is PurchaseOrdersListRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is PurchaseOrdersListRequestExpand.VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_COMPANY_PAYMENT_TERM: - return vendor_company_payment_term() - if self is PurchaseOrdersListRequestExpand.VENDOR_PAYMENT_TERM: - return vendor_payment_term() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py new file mode 100644 index 00000000..55354de8 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_list_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + DELIVERY_ADDRESS = "delivery_address" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + delivery_address: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PurchaseOrdersListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PurchaseOrdersListRequestExpandItem.COMPANY: + return company() + if self is PurchaseOrdersListRequestExpandItem.DELIVERY_ADDRESS: + return delivery_address() + if self is PurchaseOrdersListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is PurchaseOrdersListRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is PurchaseOrdersListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is PurchaseOrdersListRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py deleted file mode 100644 index 53b497d2..00000000 --- a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand.py +++ /dev/null @@ -1,678 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PurchaseOrdersRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - ACCOUNTING_PERIOD_PAYMENT_TERM = "accounting_period,payment_term" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "company,accounting_period,payment_term" - COMPANY_PAYMENT_TERM = "company,payment_term" - DELIVERY_ADDRESS = "delivery_address" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "delivery_address,accounting_period" - DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY = "delivery_address,company" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "delivery_address,company,accounting_period" - DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,company,accounting_period,payment_term" - DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "delivery_address,company,payment_term" - DELIVERY_ADDRESS_PAYMENT_TERM = "delivery_address,payment_term" - DELIVERY_ADDRESS_VENDOR = "delivery_address,vendor" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "delivery_address,vendor,accounting_period" - DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "delivery_address,vendor,accounting_period,payment_term" - DELIVERY_ADDRESS_VENDOR_COMPANY = "delivery_address,vendor,company" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "delivery_address,vendor,company,accounting_period" - DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "delivery_address,vendor,company,accounting_period,payment_term" - ) - DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "delivery_address,vendor,company,payment_term" - DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "delivery_address,vendor,payment_term" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,accounting_period,payment_term" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,company,accounting_period,payment_term" - LINE_ITEMS_COMPANY_PAYMENT_TERM = "line_items,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS = "line_items,delivery_address" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "line_items,delivery_address,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY = "line_items,delivery_address,company" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = "line_items,delivery_address,company,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = "line_items,delivery_address,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM = "line_items,delivery_address,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR = "line_items,delivery_address,vendor" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = "line_items,delivery_address,vendor,accounting_period" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY = "line_items,delivery_address,vendor,company" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,delivery_address,vendor,company,payment_term" - LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = "line_items,delivery_address,vendor,payment_term" - LINE_ITEMS_PAYMENT_TERM = "line_items,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "line_items,tracking_categories,company,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS = "line_items,tracking_categories,delivery_address" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "line_items,tracking_categories,delivery_address,company" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "line_items,tracking_categories,delivery_address,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = ( - "line_items,tracking_categories,delivery_address,vendor,company" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "line_items,tracking_categories,delivery_address,vendor,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM = "line_items,tracking_categories,payment_term" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR = "line_items,tracking_categories,vendor" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "line_items,tracking_categories,vendor,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY = "line_items,tracking_categories,vendor,company" - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,vendor,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = ( - "line_items,tracking_categories,vendor,company,payment_term" - ) - LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "line_items,tracking_categories,vendor,payment_term" - LINE_ITEMS_VENDOR = "line_items,vendor" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD = "line_items,vendor,accounting_period" - LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "line_items,vendor,accounting_period,payment_term" - LINE_ITEMS_VENDOR_COMPANY = "line_items,vendor,company" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD = "line_items,vendor,company,accounting_period" - LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "line_items,vendor,company,accounting_period,payment_term" - ) - LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM = "line_items,vendor,company,payment_term" - LINE_ITEMS_VENDOR_PAYMENT_TERM = "line_items,vendor,payment_term" - PAYMENT_TERM = "payment_term" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM = "tracking_categories,accounting_period,payment_term" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM = "tracking_categories,company,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS = "tracking_categories,delivery_address" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD = "tracking_categories,delivery_address,accounting_period" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY = "tracking_categories,delivery_address,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM = "tracking_categories,delivery_address,payment_term" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR = "tracking_categories,delivery_address,vendor" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY = "tracking_categories,delivery_address,vendor,company" - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,delivery_address,vendor,company,accounting_period" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,company,payment_term" - ) - TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM = ( - "tracking_categories,delivery_address,vendor,payment_term" - ) - TRACKING_CATEGORIES_PAYMENT_TERM = "tracking_categories,payment_term" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = ( - "tracking_categories,vendor,company,accounting_period,payment_term" - ) - TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM = "tracking_categories,vendor,company,payment_term" - TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM = "tracking_categories,vendor,payment_term" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,accounting_period,payment_term" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM = "vendor,company,accounting_period,payment_term" - VENDOR_COMPANY_PAYMENT_TERM = "vendor,company,payment_term" - VENDOR_PAYMENT_TERM = "vendor,payment_term" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - accounting_period_payment_term: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - company_accounting_period_payment_term: typing.Callable[[], T_Result], - company_payment_term: typing.Callable[[], T_Result], - delivery_address: typing.Callable[[], T_Result], - delivery_address_accounting_period: typing.Callable[[], T_Result], - delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company: typing.Callable[[], T_Result], - delivery_address_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_company_payment_term: typing.Callable[[], T_Result], - delivery_address_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - line_items_tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - line_items_vendor: typing.Callable[[], T_Result], - line_items_vendor_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period: typing.Callable[[], T_Result], - line_items_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - line_items_vendor_company_payment_term: typing.Callable[[], T_Result], - line_items_vendor_payment_term: typing.Callable[[], T_Result], - payment_term: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_company_accounting_period_payment_term: typing.Callable[ - [], T_Result - ], - tracking_categories_delivery_address_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_delivery_address_vendor_payment_term: typing.Callable[[], T_Result], - tracking_categories_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_company_payment_term: typing.Callable[[], T_Result], - tracking_categories_vendor_payment_term: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor_company_accounting_period_payment_term: typing.Callable[[], T_Result], - vendor_company_payment_term: typing.Callable[[], T_Result], - vendor_payment_term: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.ACCOUNTING_PERIOD_PAYMENT_TERM: - return accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY: - return company() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.COMPANY_PAYMENT_TERM: - return company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS: - return delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return delivery_address_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY: - return delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_PAYMENT_TERM: - return delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR: - return delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return delivery_address_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY: - return delivery_address_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return delivery_address_vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_COMPANY_PAYMENT_TERM: - return line_items_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS: - return line_items_delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return line_items_delivery_address_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY: - return line_items_delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR: - return line_items_delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_delivery_address_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return line_items_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_PAYMENT_TERM: - return line_items_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return line_items_tracking_categories_delivery_address() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return line_items_tracking_categories_delivery_address_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return line_items_tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return line_items_tracking_categories_delivery_address_vendor() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return line_items_tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_company_payment_term() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM - ): - return line_items_tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_PAYMENT_TERM: - return line_items_tracking_categories_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR: - return line_items_tracking_categories_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY: - return line_items_tracking_categories_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return line_items_tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return line_items_tracking_categories_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR: - return line_items_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD: - return line_items_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY: - return line_items_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return line_items_vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return line_items_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_COMPANY_PAYMENT_TERM: - return line_items_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.LINE_ITEMS_VENDOR_PAYMENT_TERM: - return line_items_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.PAYMENT_TERM: - return payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_PAYMENT_TERM: - return tracking_categories_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS: - return tracking_categories_delivery_address() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY: - return tracking_categories_delivery_address_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_PAYMENT_TERM: - return tracking_categories_delivery_address_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR: - return tracking_categories_delivery_address_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_delivery_address_vendor_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY: - return tracking_categories_delivery_address_vendor_company() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD - ): - return tracking_categories_delivery_address_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_delivery_address_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_DELIVERY_ADDRESS_VENDOR_PAYMENT_TERM: - return tracking_categories_delivery_address_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_PAYMENT_TERM: - return tracking_categories_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return tracking_categories_vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if ( - self - is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM - ): - return tracking_categories_vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_PAYMENT_TERM: - return tracking_categories_vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_PAYMENT_TERM: - return tracking_categories_vendor_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR: - return vendor() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD_PAYMENT_TERM: - return vendor_company_accounting_period_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_COMPANY_PAYMENT_TERM: - return vendor_company_payment_term() - if self is PurchaseOrdersRetrieveRequestExpand.VENDOR_PAYMENT_TERM: - return vendor_payment_term() diff --git a/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py new file mode 100644 index 00000000..775024d1 --- /dev/null +++ b/src/merge/resources/accounting/resources/purchase_orders/types/purchase_orders_retrieve_request_expand_item.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class PurchaseOrdersRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + DELIVERY_ADDRESS = "delivery_address" + LINE_ITEMS = "line_items" + PAYMENT_TERM = "payment_term" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + delivery_address: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is PurchaseOrdersRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is PurchaseOrdersRetrieveRequestExpandItem.COMPANY: + return company() + if self is PurchaseOrdersRetrieveRequestExpandItem.DELIVERY_ADDRESS: + return delivery_address() + if self is PurchaseOrdersRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is PurchaseOrdersRetrieveRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is PurchaseOrdersRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is PurchaseOrdersRetrieveRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py b/src/merge/resources/accounting/resources/sales_orders/__init__.py similarity index 76% rename from src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py rename to src/merge/resources/accounting/resources/sales_orders/__init__.py index a28f38cc..df0064de 100644 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/sales_orders/__init__.py @@ -6,9 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory + from .types import SalesOrdersListRequestExpandItem, SalesOrdersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" + "SalesOrdersListRequestExpandItem": ".types", + "SalesOrdersRetrieveRequestExpandItem": ".types", } @@ -31,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LinkedAccountsListRequestCategory"] +__all__ = ["SalesOrdersListRequestExpandItem", "SalesOrdersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/sales_orders/client.py b/src/merge/resources/accounting/resources/sales_orders/client.py new file mode 100644 index 00000000..3bb765dd --- /dev/null +++ b/src/merge/resources/accounting/resources/sales_orders/client.py @@ -0,0 +1,1204 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager +from .....core.request_options import RequestOptions +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse +from ...types.meta_response import MetaResponse +from ...types.remote_field_class import RemoteFieldClass +from ...types.sales_order import SalesOrder +from ...types.sales_order_batch_item_request import SalesOrderBatchItemRequest +from ...types.sales_order_request_request import SalesOrderRequestRequest +from ...types.sales_order_response import SalesOrderResponse +from .raw_client import AsyncRawSalesOrdersClient, RawSalesOrdersClient +from .types.sales_orders_list_request_expand_item import SalesOrdersListRequestExpandItem +from .types.sales_orders_retrieve_request_expand_item import SalesOrdersRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class SalesOrdersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._raw_client = RawSalesOrdersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> RawSalesOrdersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + RawSalesOrdersClient + """ + return self._raw_client + + def list( + self, + *, + company_id: typing.Optional[str] = None, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + issue_date_after: typing.Optional[dt.datetime] = None, + issue_date_before: typing.Optional[dt.datetime] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_id: typing.Optional[str] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SalesOrder]: + """ + Returns a list of `SalesOrder` objects. + + Parameters + ---------- + company_id : typing.Optional[str] + If provided, will only return sales orders for this company. + + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + issue_date_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + issue_date_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SalesOrder] + + + Examples + -------- + import datetime + + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.sales_orders.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + issue_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + issue_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + def create( + self, + *, + model: SalesOrderRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SalesOrderResponse: + """ + Creates a `SalesOrder` object with the given values. + + Parameters + ---------- + model : SalesOrderRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SalesOrderResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import SalesOrderRequestRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.sales_orders.create( + is_debug_mode=True, + run_async=True, + model=SalesOrderRequestRequest(), + ) + """ + _response = self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SalesOrder: + """ + Returns a `SalesOrder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SalesOrder + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.sales_orders.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + ) + """ + _response = self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data + + def bulk_create( + self, + *, + batch_items: typing.Sequence[SalesOrderBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `SalesOrder` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[SalesOrderBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import ( + SalesOrderBatchItemRequest, + SalesOrderRequestRequest, + ) + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.sales_orders.bulk_create( + batch_items=[ + SalesOrderBatchItemRequest( + item_id="item_id", + payload=SalesOrderRequestRequest(), + ) + ], + ) + """ + _response = self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of a `SalesOrder` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.sales_orders.bulk_retrieve( + batch_id="batch_id", + ) + """ + _response = self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + + def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.sales_orders.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.lines_remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `SalesOrder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.sales_orders.meta_post_retrieve() + """ + _response = self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + response = client.accounting.sales_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page + """ + return self._raw_client.remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + +class AsyncSalesOrdersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._raw_client = AsyncRawSalesOrdersClient(client_wrapper=client_wrapper) + + @property + def with_raw_response(self) -> AsyncRawSalesOrdersClient: + """ + Retrieves a raw implementation of this client that returns raw responses. + + Returns + ------- + AsyncRawSalesOrdersClient + """ + return self._raw_client + + async def list( + self, + *, + company_id: typing.Optional[str] = None, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + issue_date_after: typing.Optional[dt.datetime] = None, + issue_date_before: typing.Optional[dt.datetime] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_id: typing.Optional[str] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SalesOrder]: + """ + Returns a list of `SalesOrder` objects. + + Parameters + ---------- + company_id : typing.Optional[str] + If provided, will only return sales orders for this company. + + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + issue_date_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + issue_date_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SalesOrder] + + + Examples + -------- + import asyncio + import datetime + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.accounting.sales_orders.list( + company_id="company_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + issue_date_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + issue_date_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=cursor, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + async def create( + self, + *, + model: SalesOrderRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SalesOrderResponse: + """ + Creates a `SalesOrder` object with the given values. + + Parameters + ---------- + model : SalesOrderRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SalesOrderResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import SalesOrderRequestRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.sales_orders.create( + is_debug_mode=True, + run_async=True, + model=SalesOrderRequestRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.create( + model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SalesOrder: + """ + Returns a `SalesOrder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SalesOrder + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.sales_orders.retrieve( + id="id", + include_remote_data=True, + include_remote_fields=True, + include_shell_data=True, + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.retrieve( + id, + expand=expand, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data + + async def bulk_create( + self, + *, + batch_items: typing.Sequence[SalesOrderBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncBulkCreateResponse: + """ + Creates multiple `SalesOrder` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[SalesOrderBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncBulkCreateResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import ( + SalesOrderBatchItemRequest, + SalesOrderRequestRequest, + ) + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.sales_orders.bulk_create( + batch_items=[ + SalesOrderBatchItemRequest( + item_id="item_id", + payload=SalesOrderRequestRequest(), + ) + ], + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_create(batch_items=batch_items, request_options=request_options) + return _response.data + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> BatchObjectsResponse: + """ + Returns the status and results of a `SalesOrder` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + BatchObjectsResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.sales_orders.bulk_retrieve( + batch_id="batch_id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.bulk_retrieve(batch_id, request_options=request_options) + return _response.data + + async def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = ( + await client.accounting.sales_orders.lines_remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.lines_remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `SalesOrder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.sales_orders.meta_post_retrieve() + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_post_retrieve(request_options=request_options) + return _response.data + + async def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + response = await client.accounting.sales_orders.remote_field_classes_list( + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + is_common_model_field=True, + is_custom=True, + page_size=1, + ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page + + + asyncio.run(main()) + """ + return await self._raw_client.remote_field_classes_list( + cursor=cursor, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) diff --git a/src/merge/resources/accounting/resources/sales_orders/raw_client.py b/src/merge/resources/accounting/resources/sales_orders/raw_client.py new file mode 100644 index 00000000..30472a2c --- /dev/null +++ b/src/merge/resources/accounting/resources/sales_orders/raw_client.py @@ -0,0 +1,1226 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing +from json.decoder import JSONDecodeError + +from .....core.api_error import ApiError +from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.datetime_utils import serialize_datetime +from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager +from .....core.request_options import RequestOptions +from .....core.unchecked_base_model import construct_type +from ...types.async_bulk_create_response import AsyncBulkCreateResponse +from ...types.batch_objects_response import BatchObjectsResponse +from ...types.meta_response import MetaResponse +from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.paginated_sales_order_list import PaginatedSalesOrderList +from ...types.remote_field_class import RemoteFieldClass +from ...types.sales_order import SalesOrder +from ...types.sales_order_batch_item_request import SalesOrderBatchItemRequest +from ...types.sales_order_request_request import SalesOrderRequestRequest +from ...types.sales_order_response import SalesOrderResponse +from .types.sales_orders_list_request_expand_item import SalesOrdersListRequestExpandItem +from .types.sales_orders_retrieve_request_expand_item import SalesOrdersRetrieveRequestExpandItem + +# this is used as the default value for optional parameters +OMIT = typing.cast(typing.Any, ...) + + +class RawSalesOrdersClient: + def __init__(self, *, client_wrapper: SyncClientWrapper): + self._client_wrapper = client_wrapper + + def list( + self, + *, + company_id: typing.Optional[str] = None, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + issue_date_after: typing.Optional[dt.datetime] = None, + issue_date_before: typing.Optional[dt.datetime] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_id: typing.Optional[str] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[SalesOrder]: + """ + Returns a list of `SalesOrder` objects. + + Parameters + ---------- + company_id : typing.Optional[str] + If provided, will only return sales orders for this company. + + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + issue_date_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + issue_date_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[SalesOrder] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders", + method="GET", + params={ + "company_id": company_id, + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "issue_date_after": serialize_datetime(issue_date_after) if issue_date_after is not None else None, + "issue_date_before": serialize_datetime(issue_date_before) if issue_date_before is not None else None, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_fields": remote_fields, + "remote_id": remote_id, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedSalesOrderList, + construct_type( + type_=PaginatedSalesOrderList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def create( + self, + *, + model: SalesOrderRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[SalesOrderResponse]: + """ + Creates a `SalesOrder` object with the given values. + + Parameters + ---------- + model : SalesOrderRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[SalesOrderResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SalesOrderResponse, + construct_type( + type_=SalesOrderResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[SalesOrder]: + """ + Returns a `SalesOrder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[SalesOrder] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/sales-orders/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SalesOrder, + construct_type( + type_=SalesOrder, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_create( + self, + *, + batch_items: typing.Sequence[SalesOrderBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `SalesOrder` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[SalesOrderBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[AsyncBulkCreateResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of a `SalesOrder` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[BatchObjectsResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/sales-orders/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/lines/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `SalesOrder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> SyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + SyncPager[RemoteFieldClass] + + """ + _response = self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + +class AsyncRawSalesOrdersClient: + def __init__(self, *, client_wrapper: AsyncClientWrapper): + self._client_wrapper = client_wrapper + + async def list( + self, + *, + company_id: typing.Optional[str] = None, + created_after: typing.Optional[dt.datetime] = None, + created_before: typing.Optional[dt.datetime] = None, + cursor: typing.Optional[str] = None, + expand: typing.Optional[ + typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]] + ] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + issue_date_after: typing.Optional[dt.datetime] = None, + issue_date_before: typing.Optional[dt.datetime] = None, + modified_after: typing.Optional[dt.datetime] = None, + modified_before: typing.Optional[dt.datetime] = None, + page_size: typing.Optional[int] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + remote_id: typing.Optional[str] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[SalesOrder]: + """ + Returns a list of `SalesOrder` objects. + + Parameters + ---------- + company_id : typing.Optional[str] + If provided, will only return sales orders for this company. + + created_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + created_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + cursor : typing.Optional[str] + The pagination cursor value. + + expand : typing.Optional[typing.Union[SalesOrdersListRequestExpandItem, typing.Sequence[SalesOrdersListRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + issue_date_after : typing.Optional[dt.datetime] + If provided, will only return objects created after this datetime. + + issue_date_before : typing.Optional[dt.datetime] + If provided, will only return objects created before this datetime. + + modified_after : typing.Optional[dt.datetime] + If provided, only objects synced by Merge after this date time will be returned. + + modified_before : typing.Optional[dt.datetime] + If provided, only objects synced by Merge before this date time will be returned. + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + remote_id : typing.Optional[str] + The API provider's ID for the given object. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[SalesOrder] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders", + method="GET", + params={ + "company_id": company_id, + "created_after": serialize_datetime(created_after) if created_after is not None else None, + "created_before": serialize_datetime(created_before) if created_before is not None else None, + "cursor": cursor, + "expand": expand, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "issue_date_after": serialize_datetime(issue_date_after) if issue_date_after is not None else None, + "issue_date_before": serialize_datetime(issue_date_before) if issue_date_before is not None else None, + "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, + "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, + "page_size": page_size, + "remote_fields": remote_fields, + "remote_id": remote_id, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedSalesOrderList, + construct_type( + type_=PaginatedSalesOrderList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + issue_date_after=issue_date_after, + issue_date_before=issue_date_before, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def create( + self, + *, + model: SalesOrderRequestRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[SalesOrderResponse]: + """ + Creates a `SalesOrder` object with the given values. + + Parameters + ---------- + model : SalesOrderRequestRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[SalesOrderResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SalesOrderResponse, + construct_type( + type_=SalesOrderResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def retrieve( + self, + id: str, + *, + expand: typing.Optional[ + typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]] + ] = None, + include_remote_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + remote_fields: typing.Optional[typing.Literal["status"]] = None, + show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[SalesOrder]: + """ + Returns a `SalesOrder` object with the given `id`. + + Parameters + ---------- + id : str + + expand : typing.Optional[typing.Union[SalesOrdersRetrieveRequestExpandItem, typing.Sequence[SalesOrdersRetrieveRequestExpandItem]]] + Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + remote_fields : typing.Optional[typing.Literal["status"]] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[typing.Literal["status"]] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[SalesOrder] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/sales-orders/{jsonable_encoder(id)}", + method="GET", + params={ + "expand": expand, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + SalesOrder, + construct_type( + type_=SalesOrder, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_create( + self, + *, + batch_items: typing.Sequence[SalesOrderBatchItemRequest], + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[AsyncBulkCreateResponse]: + """ + Creates multiple `SalesOrder` objects with the given values. + + Parameters + ---------- + batch_items : typing.Sequence[SalesOrderBatchItemRequest] + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[AsyncBulkCreateResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/bulk", + method="POST", + json={ + "batch_items": batch_items, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + AsyncBulkCreateResponse, + construct_type( + type_=AsyncBulkCreateResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def bulk_retrieve( + self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[BatchObjectsResponse]: + """ + Returns the status and results of a `SalesOrder` bulk create batch. + + Parameters + ---------- + batch_id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[BatchObjectsResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/sales-orders/bulk/{jsonable_encoder(batch_id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + BatchObjectsResponse, + construct_type( + type_=BatchObjectsResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def lines_remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/lines/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.lines_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_post_retrieve( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `SalesOrder` POSTs. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/meta/post", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def remote_field_classes_list( + self, + *, + cursor: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_data: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + is_common_model_field: typing.Optional[bool] = None, + is_custom: typing.Optional[bool] = None, + page_size: typing.Optional[int] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncPager[RemoteFieldClass]: + """ + Returns a list of `RemoteFieldClass` objects. + + Parameters + ---------- + cursor : typing.Optional[str] + The pagination cursor value. + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_data : typing.Optional[bool] + Whether to include the original data Merge fetched from the third-party to produce these models. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + is_common_model_field : typing.Optional[bool] + If provided, will only return remote field classes with this is_common_model_field value + + is_custom : typing.Optional[bool] + If provided, will only return remote fields classes with this is_custom value + + page_size : typing.Optional[int] + Number of results to return per page. The maximum limit is 100. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncPager[RemoteFieldClass] + + """ + _response = await self._client_wrapper.httpx_client.request( + "accounting/v1/sales-orders/remote-field-classes", + method="GET", + params={ + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_shell_data": include_shell_data, + "is_common_model_field": is_common_model_field, + "is_custom": is_custom, + "page_size": page_size, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _parsed_response = typing.cast( + PaginatedRemoteFieldClassList, + construct_type( + type_=PaginatedRemoteFieldClassList, # type: ignore + object_=_response.json(), + ), + ) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/linked_accounts/types/__init__.py b/src/merge/resources/accounting/resources/sales_orders/types/__init__.py similarity index 67% rename from src/merge/resources/chat/resources/linked_accounts/types/__init__.py rename to src/merge/resources/accounting/resources/sales_orders/types/__init__.py index a28f38cc..83e44bd6 100644 --- a/src/merge/resources/chat/resources/linked_accounts/types/__init__.py +++ b/src/merge/resources/accounting/resources/sales_orders/types/__init__.py @@ -6,9 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .linked_accounts_list_request_category import LinkedAccountsListRequestCategory + from .sales_orders_list_request_expand_item import SalesOrdersListRequestExpandItem + from .sales_orders_retrieve_request_expand_item import SalesOrdersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "LinkedAccountsListRequestCategory": ".linked_accounts_list_request_category" + "SalesOrdersListRequestExpandItem": ".sales_orders_list_request_expand_item", + "SalesOrdersRetrieveRequestExpandItem": ".sales_orders_retrieve_request_expand_item", } @@ -31,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LinkedAccountsListRequestCategory"] +__all__ = ["SalesOrdersListRequestExpandItem", "SalesOrdersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_list_request_expand_item.py b/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_list_request_expand_item.py new file mode 100644 index 00000000..004b1d89 --- /dev/null +++ b/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class SalesOrdersListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CUSTOMER = "customer" + LINES = "lines" + PAYMENT_TERM = "payment_term" + SHIPPING_ADDRESS = "shipping_address" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + company: typing.Callable[[], T_Result], + customer: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + shipping_address: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is SalesOrdersListRequestExpandItem.COMPANY: + return company() + if self is SalesOrdersListRequestExpandItem.CUSTOMER: + return customer() + if self is SalesOrdersListRequestExpandItem.LINES: + return lines() + if self is SalesOrdersListRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is SalesOrdersListRequestExpandItem.SHIPPING_ADDRESS: + return shipping_address() + if self is SalesOrdersListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_retrieve_request_expand_item.py new file mode 100644 index 00000000..0a998b96 --- /dev/null +++ b/src/merge/resources/accounting/resources/sales_orders/types/sales_orders_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class SalesOrdersRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + CUSTOMER = "customer" + LINES = "lines" + PAYMENT_TERM = "payment_term" + SHIPPING_ADDRESS = "shipping_address" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + company: typing.Callable[[], T_Result], + customer: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + payment_term: typing.Callable[[], T_Result], + shipping_address: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is SalesOrdersRetrieveRequestExpandItem.COMPANY: + return company() + if self is SalesOrdersRetrieveRequestExpandItem.CUSTOMER: + return customer() + if self is SalesOrdersRetrieveRequestExpandItem.LINES: + return lines() + if self is SalesOrdersRetrieveRequestExpandItem.PAYMENT_TERM: + return payment_term() + if self is SalesOrdersRetrieveRequestExpandItem.SHIPPING_ADDRESS: + return shipping_address() + if self is SalesOrdersRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/sync_status/client.py b/src/merge/resources/accounting/resources/sync_status/client.py index 0f2b6791..0a0bd1bb 100644 --- a/src/merge/resources/accounting/resources/sync_status/client.py +++ b/src/merge/resources/accounting/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +40,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.sync_status.list( + response = client.accounting.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.accounting.sync_status.list( + response = await client.accounting.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/accounting/resources/sync_status/raw_client.py b/src/merge/resources/accounting/resources/sync_status/raw_client.py index bff0c1b7..de585c63 100644 --- a/src/merge/resources/accounting/resources/sync_status/raw_client.py +++ b/src/merge/resources/accounting/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +97,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/accounting/resources/tax_rates/client.py b/src/merge/resources/accounting/resources/tax_rates/client.py index b63969c8..64c07ebd 100644 --- a/src/merge/resources/accounting/resources/tax_rates/client.py +++ b/src/merge/resources/accounting/resources/tax_rates/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_tax_rate_list import PaginatedTaxRateList from ...types.tax_rate import TaxRate from .raw_client import AsyncRawTaxRatesClient, RawTaxRatesClient @@ -32,7 +32,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +44,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaxRateList: + ) -> SyncPager[TaxRate]: """ Returns a list of `TaxRate` objects. @@ -60,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +84,7 @@ def list( If provided, will only return TaxRates with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -92,7 +94,7 @@ def list( Returns ------- - PaginatedTaxRateList + SyncPager[TaxRate] Examples @@ -105,7 +107,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.tax_rates.list( + response = client.accounting.tax_rates.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -127,8 +129,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -144,13 +151,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +170,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -225,7 +233,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -235,7 +245,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaxRateList: + ) -> AsyncPager[TaxRate]: """ Returns a list of `TaxRate` objects. @@ -253,7 +263,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,7 +285,7 @@ async def list( If provided, will only return TaxRates with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -285,7 +295,7 @@ async def list( Returns ------- - PaginatedTaxRateList + AsyncPager[TaxRate] Examples @@ -302,7 +312,7 @@ async def list( async def main() -> None: - await client.accounting.tax_rates.list( + response = await client.accounting.tax_rates.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -324,11 +334,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -344,13 +360,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -362,7 +379,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/tax_rates/raw_client.py b/src/merge/resources/accounting/resources/tax_rates/raw_client.py index 349c6857..d077b853 100644 --- a/src/merge/resources/accounting/resources/tax_rates/raw_client.py +++ b/src/merge/resources/accounting/resources/tax_rates/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tax_rate_list import PaginatedTaxRateList @@ -26,7 +27,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTaxRateList]: + ) -> SyncPager[TaxRate]: """ Returns a list of `TaxRate` objects. @@ -54,7 +57,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +79,7 @@ def list( If provided, will only return TaxRates with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -86,7 +89,7 @@ def list( Returns ------- - HttpResponse[PaginatedTaxRateList] + SyncPager[TaxRate] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +114,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaxRateList, construct_type( type_=PaginatedTaxRateList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -128,7 +152,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -140,7 +166,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -194,7 +220,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -204,7 +232,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTaxRateList]: + ) -> AsyncPager[TaxRate]: """ Returns a list of `TaxRate` objects. @@ -222,7 +250,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -244,7 +272,7 @@ async def list( If provided, will only return TaxRates with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -254,7 +282,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTaxRateList] + AsyncPager[TaxRate] """ _response = await self._client_wrapper.httpx_client.request( @@ -279,14 +307,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaxRateList, construct_type( type_=PaginatedTaxRateList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -296,7 +348,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -308,7 +362,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/tracking_categories/client.py b/src/merge/resources/accounting/resources/tracking_categories/client.py index c2f68550..c08dc4e7 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList from ...types.tracking_category import TrackingCategory from .raw_client import AsyncRawTrackingCategoriesClient, RawTrackingCategoriesClient from .types.tracking_categories_list_request_category_type import TrackingCategoriesListRequestCategoryType @@ -35,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +50,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTrackingCategoryList: + ) -> SyncPager[TrackingCategory]: """ Returns a list of `TrackingCategory` objects. @@ -69,7 +71,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,7 +93,7 @@ def list( If provided, will only return tracking categories with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -110,7 +112,7 @@ def list( Returns ------- - PaginatedTrackingCategoryList + SyncPager[TrackingCategory] Examples @@ -127,7 +129,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.tracking_categories.list( + response = client.accounting.tracking_categories.list( category_type=TrackingCategoriesListRequestCategoryType.EMPTY, company_id="company_id", created_after=datetime.datetime.fromisoformat( @@ -151,8 +153,13 @@ def list( remote_id="remote_id", status=TrackingCategoriesListRequestStatus.EMPTY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -172,13 +179,14 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -192,7 +200,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,7 +272,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -277,7 +287,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTrackingCategoryList: + ) -> AsyncPager[TrackingCategory]: """ Returns a list of `TrackingCategory` objects. @@ -298,7 +308,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -320,7 +330,7 @@ async def list( If provided, will only return tracking categories with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -339,7 +349,7 @@ async def list( Returns ------- - PaginatedTrackingCategoryList + AsyncPager[TrackingCategory] Examples @@ -360,7 +370,7 @@ async def list( async def main() -> None: - await client.accounting.tracking_categories.list( + response = await client.accounting.tracking_categories.list( category_type=TrackingCategoriesListRequestCategoryType.EMPTY, company_id="company_id", created_after=datetime.datetime.fromisoformat( @@ -384,11 +394,17 @@ async def main() -> None: remote_id="remote_id", status=TrackingCategoriesListRequestStatus.EMPTY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category_type=category_type, company_id=company_id, created_after=created_after, @@ -408,13 +424,14 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -428,7 +445,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/tracking_categories/raw_client.py b/src/merge/resources/accounting/resources/tracking_categories/raw_client.py index 2b73c9ef..b39bfc4c 100644 --- a/src/merge/resources/accounting/resources/tracking_categories/raw_client.py +++ b/src/merge/resources/accounting/resources/tracking_categories/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tracking_category_list import PaginatedTrackingCategoryList @@ -29,7 +30,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +45,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTrackingCategoryList]: + ) -> SyncPager[TrackingCategory]: """ Returns a list of `TrackingCategory` objects. @@ -63,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -85,7 +88,7 @@ def list( If provided, will only return tracking categories with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -104,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedTrackingCategoryList] + SyncPager[TrackingCategory] """ _response = self._client_wrapper.httpx_client.request( @@ -133,14 +136,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTrackingCategoryList, construct_type( type_=PaginatedTrackingCategoryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category_type=category_type, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +178,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -164,7 +194,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -227,7 +257,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -240,7 +272,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[TrackingCategoriesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTrackingCategoryList]: + ) -> AsyncPager[TrackingCategory]: """ Returns a list of `TrackingCategory` objects. @@ -261,7 +293,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -283,7 +315,7 @@ async def list( If provided, will only return tracking categories with this name. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -302,7 +334,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTrackingCategoryList] + AsyncPager[TrackingCategory] """ _response = await self._client_wrapper.httpx_client.request( @@ -331,14 +363,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTrackingCategoryList, construct_type( type_=PaginatedTrackingCategoryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category_type=category_type, + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -348,7 +408,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["company"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -362,7 +424,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["company"]] + expand : typing.Optional[typing.Union[typing.Literal["company"], typing.Sequence[typing.Literal["company"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/transactions/__init__.py b/src/merge/resources/accounting/resources/transactions/__init__.py index 33273208..48ced57c 100644 --- a/src/merge/resources/accounting/resources/transactions/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TransactionsListRequestExpand, TransactionsRetrieveRequestExpand + from .types import TransactionsListRequestExpandItem, TransactionsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TransactionsListRequestExpand": ".types", - "TransactionsRetrieveRequestExpand": ".types", + "TransactionsListRequestExpandItem": ".types", + "TransactionsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand"] +__all__ = ["TransactionsListRequestExpandItem", "TransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/transactions/client.py b/src/merge/resources/accounting/resources/transactions/client.py index a7842616..11e5c180 100644 --- a/src/merge/resources/accounting/resources/transactions/client.py +++ b/src/merge/resources/accounting/resources/transactions/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_transaction_list import PaginatedTransactionList from ...types.transaction import Transaction from .raw_client import AsyncRawTransactionsClient, RawTransactionsClient -from .types.transactions_list_request_expand import TransactionsListRequestExpand -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand +from .types.transactions_list_request_expand_item import TransactionsListRequestExpandItem +from .types.transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem class TransactionsClient: @@ -34,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +47,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTransactionList: + ) -> SyncPager[Transaction]: """ Returns a list of `Transaction` objects. @@ -63,7 +65,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +84,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -98,7 +100,7 @@ def list( Returns ------- - PaginatedTransactionList + SyncPager[Transaction] Examples @@ -106,15 +108,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.transactions.list( + response = client.accounting.transactions.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -123,7 +122,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -142,8 +140,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -160,13 +163,14 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -178,7 +182,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -198,9 +202,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -208,7 +209,6 @@ def retrieve( ) client.accounting.transactions.retrieve( id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_shell_data=True, ) @@ -245,7 +245,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -256,7 +258,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTransactionList: + ) -> AsyncPager[Transaction]: """ Returns a list of `Transaction` objects. @@ -274,7 +276,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -293,7 +295,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -309,7 +311,7 @@ async def list( Returns ------- - PaginatedTransactionList + AsyncPager[Transaction] Examples @@ -318,9 +320,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.transactions import ( - TransactionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -329,7 +328,7 @@ async def list( async def main() -> None: - await client.accounting.transactions.list( + response = await client.accounting.transactions.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -338,7 +337,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TransactionsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -357,11 +355,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -378,13 +382,14 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -396,7 +401,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -418,9 +423,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.transactions import ( - TransactionsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -431,7 +433,6 @@ async def retrieve( async def main() -> None: await client.accounting.transactions.retrieve( id="id", - expand=TransactionsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/accounting/resources/transactions/raw_client.py b/src/merge/resources/accounting/resources/transactions/raw_client.py index ad8a91c3..a2d9cd09 100644 --- a/src/merge/resources/accounting/resources/transactions/raw_client.py +++ b/src/merge/resources/accounting/resources/transactions/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_transaction_list import PaginatedTransactionList from ...types.transaction import Transaction -from .types.transactions_list_request_expand import TransactionsListRequestExpand -from .types.transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand +from .types.transactions_list_request_expand_item import TransactionsListRequestExpandItem +from .types.transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem class RawTransactionsClient: @@ -28,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,7 +42,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTransactionList]: + ) -> SyncPager[Transaction]: """ Returns a list of `Transaction` objects. @@ -57,7 +60,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +79,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -92,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedTransactionList] + SyncPager[Transaction] """ _response = self._client_wrapper.httpx_client.request( @@ -122,14 +125,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTransactionList, construct_type( type_=PaginatedTransactionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -139,7 +164,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -151,7 +178,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -205,7 +232,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TransactionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -216,7 +245,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTransactionList]: + ) -> AsyncPager[Transaction]: """ Returns a list of `Transaction` objects. @@ -234,7 +263,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TransactionsListRequestExpand] + expand : typing.Optional[typing.Union[TransactionsListRequestExpandItem, typing.Sequence[TransactionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -253,7 +282,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -269,7 +298,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTransactionList] + AsyncPager[Transaction] """ _response = await self._client_wrapper.httpx_client.request( @@ -299,14 +328,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTransactionList, construct_type( type_=PaginatedTransactionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -316,7 +370,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TransactionsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -328,7 +384,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TransactionsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TransactionsRetrieveRequestExpandItem, typing.Sequence[TransactionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/accounting/resources/transactions/types/__init__.py b/src/merge/resources/accounting/resources/transactions/types/__init__.py index 4b58f5e5..67bb4db7 100644 --- a/src/merge/resources/accounting/resources/transactions/types/__init__.py +++ b/src/merge/resources/accounting/resources/transactions/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .transactions_list_request_expand import TransactionsListRequestExpand - from .transactions_retrieve_request_expand import TransactionsRetrieveRequestExpand + from .transactions_list_request_expand_item import TransactionsListRequestExpandItem + from .transactions_retrieve_request_expand_item import TransactionsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TransactionsListRequestExpand": ".transactions_list_request_expand", - "TransactionsRetrieveRequestExpand": ".transactions_retrieve_request_expand", + "TransactionsListRequestExpandItem": ".transactions_list_request_expand_item", + "TransactionsRetrieveRequestExpandItem": ".transactions_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TransactionsListRequestExpand", "TransactionsRetrieveRequestExpand"] +__all__ = ["TransactionsListRequestExpandItem", "TransactionsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py deleted file mode 100644 index 8246398b..00000000 --- a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand.py +++ /dev/null @@ -1,284 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TransactionsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNT = "line_items,account" - LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD = "line_items,account,accounting_period" - LINE_ITEMS_ACCOUNT_COMPANY = "line_items,account,company" - LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,account,company,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNT = "line_items,contact,account" - LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "line_items,contact,account,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY = "line_items,contact,account,company" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,account,company,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT = "line_items,tracking_categories,account" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY = "line_items,tracking_categories,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT = "line_items,tracking_categories,contact,account" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "line_items,tracking_categories,contact,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_account: typing.Callable[[], T_Result], - line_items_account_accounting_period: typing.Callable[[], T_Result], - line_items_account_company: typing.Callable[[], T_Result], - line_items_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_account: typing.Callable[[], T_Result], - line_items_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_contact_account_company: typing.Callable[[], T_Result], - line_items_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_account: typing.Callable[[], T_Result], - line_items_tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TransactionsListRequestExpand.ACCOUNT: - return account() - if self is TransactionsListRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is TransactionsListRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is TransactionsListRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is TransactionsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is TransactionsListRequestExpand.COMPANY: - return company() - if self is TransactionsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is TransactionsListRequestExpand.CONTACT: - return contact() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is TransactionsListRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is TransactionsListRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS: - return line_items() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT: - return line_items_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY: - return line_items_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT: - return line_items_contact_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_contact_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY: - return line_items_contact_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT: - return line_items_tracking_categories_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return line_items_tracking_categories_account_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return line_items_tracking_categories_contact_account() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_account_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return line_items_tracking_categories_contact_account_company() - if ( - self - is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is TransactionsListRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is TransactionsListRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py new file mode 100644 index 00000000..9d90be89 --- /dev/null +++ b/src/merge/resources/accounting/resources/transactions/types/transactions_list_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TransactionsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TransactionsListRequestExpandItem.ACCOUNT: + return account() + if self is TransactionsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is TransactionsListRequestExpandItem.COMPANY: + return company() + if self is TransactionsListRequestExpandItem.CONTACT: + return contact() + if self is TransactionsListRequestExpandItem.LINE_ITEMS: + return line_items() + if self is TransactionsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py deleted file mode 100644 index 89925077..00000000 --- a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand.py +++ /dev/null @@ -1,284 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TransactionsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ACCOUNTING_PERIOD = "account,accounting_period" - ACCOUNT_COMPANY = "account,company" - ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "account,company,accounting_period" - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "contact,account,accounting_period" - CONTACT_ACCOUNT_COMPANY = "contact,account,company" - CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "contact,account,company,accounting_period" - CONTACT_ACCOUNTING_PERIOD = "contact,accounting_period" - CONTACT_COMPANY = "contact,company" - CONTACT_COMPANY_ACCOUNTING_PERIOD = "contact,company,accounting_period" - LINE_ITEMS = "line_items" - LINE_ITEMS_ACCOUNT = "line_items,account" - LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD = "line_items,account,accounting_period" - LINE_ITEMS_ACCOUNT_COMPANY = "line_items,account,company" - LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,account,company,accounting_period" - LINE_ITEMS_ACCOUNTING_PERIOD = "line_items,accounting_period" - LINE_ITEMS_COMPANY = "line_items,company" - LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD = "line_items,company,accounting_period" - LINE_ITEMS_CONTACT = "line_items,contact" - LINE_ITEMS_CONTACT_ACCOUNT = "line_items,contact,account" - LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "line_items,contact,account,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY = "line_items,contact,account,company" - LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,account,company,accounting_period" - LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD = "line_items,contact,accounting_period" - LINE_ITEMS_CONTACT_COMPANY = "line_items,contact,company" - LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD = "line_items,contact,company,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES = "line_items,tracking_categories" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT = "line_items,tracking_categories,account" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY = "line_items,tracking_categories,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "line_items,tracking_categories,accounting_period" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY = "line_items,tracking_categories,company" - LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT = "line_items,tracking_categories,contact" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT = "line_items,tracking_categories,contact,account" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "line_items,tracking_categories,contact,account,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,account,company,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,accounting_period" - ) - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY = "line_items,tracking_categories,contact,company" - LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = ( - "line_items,tracking_categories,contact,company,accounting_period" - ) - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNT = "tracking_categories,account" - TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,account,accounting_period" - TRACKING_CATEGORIES_ACCOUNT_COMPANY = "tracking_categories,account,company" - TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,account,company,accounting_period" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_CONTACT = "tracking_categories,contact" - TRACKING_CATEGORIES_CONTACT_ACCOUNT = "tracking_categories,contact,account" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD = "tracking_categories,contact,account,accounting_period" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY = "tracking_categories,contact,account,company" - TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD = ( - "tracking_categories,contact,account,company,accounting_period" - ) - TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD = "tracking_categories,contact,accounting_period" - TRACKING_CATEGORIES_CONTACT_COMPANY = "tracking_categories,contact,company" - TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,contact,company,accounting_period" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_accounting_period: typing.Callable[[], T_Result], - account_company: typing.Callable[[], T_Result], - account_company_accounting_period: typing.Callable[[], T_Result], - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_accounting_period: typing.Callable[[], T_Result], - contact_account_company: typing.Callable[[], T_Result], - contact_account_company_accounting_period: typing.Callable[[], T_Result], - contact_accounting_period: typing.Callable[[], T_Result], - contact_company: typing.Callable[[], T_Result], - contact_company_accounting_period: typing.Callable[[], T_Result], - line_items: typing.Callable[[], T_Result], - line_items_account: typing.Callable[[], T_Result], - line_items_account_accounting_period: typing.Callable[[], T_Result], - line_items_account_company: typing.Callable[[], T_Result], - line_items_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_accounting_period: typing.Callable[[], T_Result], - line_items_company: typing.Callable[[], T_Result], - line_items_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact: typing.Callable[[], T_Result], - line_items_contact_account: typing.Callable[[], T_Result], - line_items_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_contact_account_company: typing.Callable[[], T_Result], - line_items_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_contact_accounting_period: typing.Callable[[], T_Result], - line_items_contact_company: typing.Callable[[], T_Result], - line_items_contact_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories: typing.Callable[[], T_Result], - line_items_tracking_categories_account: typing.Callable[[], T_Result], - line_items_tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_company: typing.Callable[[], T_Result], - line_items_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company: typing.Callable[[], T_Result], - line_items_tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_account: typing.Callable[[], T_Result], - tracking_categories_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_account_company: typing.Callable[[], T_Result], - tracking_categories_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact: typing.Callable[[], T_Result], - tracking_categories_contact_account: typing.Callable[[], T_Result], - tracking_categories_contact_account_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_account_company: typing.Callable[[], T_Result], - tracking_categories_contact_account_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_accounting_period: typing.Callable[[], T_Result], - tracking_categories_contact_company: typing.Callable[[], T_Result], - tracking_categories_contact_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TransactionsRetrieveRequestExpand.ACCOUNT: - return account() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_ACCOUNTING_PERIOD: - return account_accounting_period() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_COMPANY: - return account_company() - if self is TransactionsRetrieveRequestExpand.ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is TransactionsRetrieveRequestExpand.COMPANY: - return company() - if self is TransactionsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT: - return contact() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY: - return contact_account_company() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_ACCOUNTING_PERIOD: - return contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.CONTACT_COMPANY: - return contact_company() - if self is TransactionsRetrieveRequestExpand.CONTACT_COMPANY_ACCOUNTING_PERIOD: - return contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS: - return line_items() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT: - return line_items_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY: - return line_items_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_ACCOUNTING_PERIOD: - return line_items_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_COMPANY: - return line_items_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_COMPANY_ACCOUNTING_PERIOD: - return line_items_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT: - return line_items_contact() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT: - return line_items_contact_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY: - return line_items_contact_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_ACCOUNTING_PERIOD: - return line_items_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY: - return line_items_contact_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES: - return line_items_tracking_categories() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT: - return line_items_tracking_categories_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return line_items_tracking_categories_account_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return line_items_tracking_categories_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY: - return line_items_tracking_categories_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT: - return line_items_tracking_categories_contact() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return line_items_tracking_categories_contact_account() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return line_items_tracking_categories_contact_account_company() - if ( - self - is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD - ): - return line_items_tracking_categories_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY: - return line_items_tracking_categories_contact_company() - if self is TransactionsRetrieveRequestExpand.LINE_ITEMS_TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return line_items_tracking_categories_contact_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT: - return tracking_categories_account() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY: - return tracking_categories_account_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT: - return tracking_categories_contact() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT: - return tracking_categories_contact_account() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY: - return tracking_categories_contact_account_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_account_company_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_ACCOUNTING_PERIOD: - return tracking_categories_contact_accounting_period() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY: - return tracking_categories_contact_company() - if self is TransactionsRetrieveRequestExpand.TRACKING_CATEGORIES_CONTACT_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_contact_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py new file mode 100644 index 00000000..6d7d402f --- /dev/null +++ b/src/merge/resources/accounting/resources/transactions/types/transactions_retrieve_request_expand_item.py @@ -0,0 +1,37 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TransactionsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + CONTACT = "contact" + LINE_ITEMS = "line_items" + TRACKING_CATEGORIES = "tracking_categories" + + def visit( + self, + account: typing.Callable[[], T_Result], + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + line_items: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TransactionsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TransactionsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is TransactionsRetrieveRequestExpandItem.COMPANY: + return company() + if self is TransactionsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is TransactionsRetrieveRequestExpandItem.LINE_ITEMS: + return line_items() + if self is TransactionsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() diff --git a/src/merge/resources/accounting/resources/vendor_credits/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/__init__.py index 1ef466d1..eaf4507e 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import VendorCreditsListRequestExpand, VendorCreditsRetrieveRequestExpand + from .types import VendorCreditsListRequestExpandItem, VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "VendorCreditsListRequestExpand": ".types", - "VendorCreditsRetrieveRequestExpand": ".types", + "VendorCreditsListRequestExpandItem": ".types", + "VendorCreditsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["VendorCreditsListRequestExpand", "VendorCreditsRetrieveRequestExpand"] +__all__ = ["VendorCreditsListRequestExpandItem", "VendorCreditsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/vendor_credits/client.py b/src/merge/resources/accounting/resources/vendor_credits/client.py index 7b599489..6ad3e9e0 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/client.py @@ -4,15 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList +from ...types.patched_vendor_credit_request import PatchedVendorCreditRequest from ...types.vendor_credit import VendorCredit from ...types.vendor_credit_request import VendorCreditRequest from ...types.vendor_credit_response import VendorCreditResponse from .raw_client import AsyncRawVendorCreditsClient, RawVendorCreditsClient -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand -from .types.vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand +from .types.vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem +from .types.vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +54,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedVendorCreditList: + ) -> SyncPager[VendorCredit]: """ Returns a list of `VendorCredit` objects. @@ -69,7 +72,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +91,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -104,7 +107,7 @@ def list( Returns ------- - PaginatedVendorCreditList + SyncPager[VendorCredit] Examples @@ -112,15 +115,12 @@ def list( import datetime from merge import Merge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.accounting.vendor_credits.list( + response = client.accounting.vendor_credits.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -129,7 +129,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -148,8 +147,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -166,7 +170,6 @@ def list( transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data def create( self, @@ -221,7 +224,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -233,7 +240,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -253,9 +260,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -263,7 +267,6 @@ def retrieve( ) client.accounting.vendor_credits.retrieve( id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, ) @@ -277,6 +280,162 @@ def retrieve( ) return _response.data + def partial_update( + self, + id: str, + *, + model: PatchedVendorCreditRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> VendorCreditResponse: + """ + Updates a `VendorCredit` object with the given `id`. + + Parameters + ---------- + id : str + + model : PatchedVendorCreditRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + VendorCreditResponse + + + Examples + -------- + from merge import Merge + from merge.resources.accounting import PatchedVendorCreditRequest + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.vendor_credits.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedVendorCreditRequest(), + ) + """ + _response = self._raw_client.partial_update( + id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> VendorCreditResponse: + """ + Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the vendor credit is applied to the invoice. + + applied_amount : str + The amount of vendor credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the vendor credit to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + VendorCreditResponse + + + Examples + -------- + import datetime + + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.vendor_credits.application_create( + id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + applied_amount="applied_amount", + ) + """ + _response = self._raw_client.application_create( + id, + applied_date=applied_date, + applied_amount=applied_amount, + is_debug_mode=is_debug_mode, + run_async=run_async, + invoice=invoice, + request_options=request_options, + ) + return _response.data + + def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: + """ + Returns metadata for `VendorCredit` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.accounting.vendor_credits.meta_patch_retrieve( + id="id", + ) + """ + _response = self._raw_client.meta_patch_retrieve(id, request_options=request_options) + return _response.data + def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `VendorCredit` POSTs. @@ -327,7 +486,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -338,7 +499,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedVendorCreditList: + ) -> AsyncPager[VendorCredit]: """ Returns a list of `VendorCredit` objects. @@ -356,7 +517,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -375,7 +536,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -391,7 +552,7 @@ async def list( Returns ------- - PaginatedVendorCreditList + AsyncPager[VendorCredit] Examples @@ -400,9 +561,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -411,7 +569,7 @@ async def list( async def main() -> None: - await client.accounting.vendor_credits.list( + response = await client.accounting.vendor_credits.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -420,7 +578,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=VendorCreditsListRequestExpand.ACCOUNTING_PERIOD, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -439,11 +596,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -460,7 +623,6 @@ async def main() -> None: transaction_date_before=transaction_date_before, request_options=request_options, ) - return _response.data async def create( self, @@ -523,7 +685,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -535,7 +701,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -557,9 +723,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.accounting.resources.vendor_credits import ( - VendorCreditsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -570,7 +733,6 @@ async def retrieve( async def main() -> None: await client.accounting.vendor_credits.retrieve( id="id", - expand=VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD, include_remote_data=True, include_shell_data=True, ) @@ -587,6 +749,187 @@ async def main() -> None: ) return _response.data + async def partial_update( + self, + id: str, + *, + model: PatchedVendorCreditRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> VendorCreditResponse: + """ + Updates a `VendorCredit` object with the given `id`. + + Parameters + ---------- + id : str + + model : PatchedVendorCreditRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + VendorCreditResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + from merge.resources.accounting import PatchedVendorCreditRequest + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.vendor_credits.partial_update( + id="id", + is_debug_mode=True, + run_async=True, + model=PatchedVendorCreditRequest(), + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.partial_update( + id, model=model, is_debug_mode=is_debug_mode, run_async=run_async, request_options=request_options + ) + return _response.data + + async def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> VendorCreditResponse: + """ + Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the vendor credit is applied to the invoice. + + applied_amount : str + The amount of vendor credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the vendor credit to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + VendorCreditResponse + + + Examples + -------- + import asyncio + import datetime + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.vendor_credits.application_create( + id="id", + is_debug_mode=True, + run_async=True, + applied_date=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + applied_amount="applied_amount", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.application_create( + id, + applied_date=applied_date, + applied_amount=applied_amount, + is_debug_mode=is_debug_mode, + run_async=run_async, + invoice=invoice, + request_options=request_options, + ) + return _response.data + + async def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> MetaResponse: + """ + Returns metadata for `VendorCredit` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + MetaResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.accounting.vendor_credits.meta_patch_retrieve( + id="id", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.meta_patch_retrieve(id, request_options=request_options) + return _response.data + async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ Returns metadata for `VendorCredit` POSTs. diff --git a/src/merge/resources/accounting/resources/vendor_credits/raw_client.py b/src/merge/resources/accounting/resources/vendor_credits/raw_client.py index 95c4e621..dfe98a3a 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/raw_client.py +++ b/src/merge/resources/accounting/resources/vendor_credits/raw_client.py @@ -9,15 +9,17 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse from ...types.paginated_vendor_credit_list import PaginatedVendorCreditList +from ...types.patched_vendor_credit_request import PatchedVendorCreditRequest from ...types.vendor_credit import VendorCredit from ...types.vendor_credit_request import VendorCreditRequest from ...types.vendor_credit_response import VendorCreditResponse -from .types.vendor_credits_list_request_expand import VendorCreditsListRequestExpand -from .types.vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand +from .types.vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem +from .types.vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,7 +36,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +49,7 @@ def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedVendorCreditList]: + ) -> SyncPager[VendorCredit]: """ Returns a list of `VendorCredit` objects. @@ -63,7 +67,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -98,7 +102,7 @@ def list( Returns ------- - HttpResponse[PaginatedVendorCreditList] + SyncPager[VendorCredit] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +132,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedVendorCreditList, construct_type( type_=PaginatedVendorCreditList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -205,7 +231,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -217,7 +247,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -259,6 +289,181 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def partial_update( + self, + id: str, + *, + model: PatchedVendorCreditRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[VendorCreditResponse]: + """ + Updates a `VendorCredit` object with the given `id`. + + Parameters + ---------- + id : str + + model : PatchedVendorCreditRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[VendorCreditResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/{jsonable_encoder(id)}", + method="PATCH", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + VendorCreditResponse, + construct_type( + type_=VendorCreditResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[VendorCreditResponse]: + """ + Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the vendor credit is applied to the invoice. + + applied_amount : str + The amount of vendor credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the vendor credit to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[VendorCreditResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/{jsonable_encoder(id)}/application", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "invoice": invoice, + "applied_date": applied_date, + "applied_amount": applied_amount, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + VendorCreditResponse, + construct_type( + type_=VendorCreditResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[MetaResponse]: + """ + Returns metadata for `VendorCredit` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[MetaResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/meta/patch/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[MetaResponse]: @@ -307,7 +512,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[VendorCreditsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -318,7 +525,7 @@ async def list( transaction_date_after: typing.Optional[dt.datetime] = None, transaction_date_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedVendorCreditList]: + ) -> AsyncPager[VendorCredit]: """ Returns a list of `VendorCredit` objects. @@ -336,7 +543,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[VendorCreditsListRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsListRequestExpandItem, typing.Sequence[VendorCreditsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -355,7 +562,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -371,7 +578,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedVendorCreditList] + AsyncPager[VendorCredit] """ _response = await self._client_wrapper.httpx_client.request( @@ -401,14 +608,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedVendorCreditList, construct_type( type_=PaginatedVendorCreditList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + transaction_date_after=transaction_date_after, + transaction_date_before=transaction_date_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -478,7 +710,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[VendorCreditsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -490,7 +726,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[VendorCreditsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[VendorCreditsRetrieveRequestExpandItem, typing.Sequence[VendorCreditsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -532,6 +768,181 @@ async def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def partial_update( + self, + id: str, + *, + model: PatchedVendorCreditRequest, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[VendorCreditResponse]: + """ + Updates a `VendorCredit` object with the given `id`. + + Parameters + ---------- + id : str + + model : PatchedVendorCreditRequest + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[VendorCreditResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/{jsonable_encoder(id)}", + method="PATCH", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "model": model, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + VendorCreditResponse, + construct_type( + type_=VendorCreditResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def application_create( + self, + id: str, + *, + applied_date: dt.datetime, + applied_amount: str, + is_debug_mode: typing.Optional[bool] = None, + run_async: typing.Optional[bool] = None, + invoice: typing.Optional[str] = OMIT, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[VendorCreditResponse]: + """ + Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice + + Parameters + ---------- + id : str + + applied_date : dt.datetime + Date that the vendor credit is applied to the invoice. + + applied_amount : str + The amount of vendor credit applied to the invoice. + + is_debug_mode : typing.Optional[bool] + Whether to include debug fields (such as log file links) in the response. + + run_async : typing.Optional[bool] + Whether or not third-party updates should be run asynchronously. + + invoice : typing.Optional[str] + The invoice to apply the vendor credit to. + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[VendorCreditResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/{jsonable_encoder(id)}/application", + method="POST", + params={ + "is_debug_mode": is_debug_mode, + "run_async": run_async, + }, + json={ + "invoice": invoice, + "applied_date": applied_date, + "applied_amount": applied_amount, + }, + headers={ + "content-type": "application/json", + }, + request_options=request_options, + omit=OMIT, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + VendorCreditResponse, + construct_type( + type_=VendorCreditResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def meta_patch_retrieve( + self, id: str, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[MetaResponse]: + """ + Returns metadata for `VendorCredit` PATCHs. + + Parameters + ---------- + id : str + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[MetaResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + f"accounting/v1/vendor-credits/meta/patch/{jsonable_encoder(id)}", + method="GET", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + MetaResponse, + construct_type( + type_=MetaResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + async def meta_post_retrieve( self, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[MetaResponse]: diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py index 426f9ce5..d880c0fb 100644 --- a/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py +++ b/src/merge/resources/accounting/resources/vendor_credits/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .vendor_credits_list_request_expand import VendorCreditsListRequestExpand - from .vendor_credits_retrieve_request_expand import VendorCreditsRetrieveRequestExpand + from .vendor_credits_list_request_expand_item import VendorCreditsListRequestExpandItem + from .vendor_credits_retrieve_request_expand_item import VendorCreditsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "VendorCreditsListRequestExpand": ".vendor_credits_list_request_expand", - "VendorCreditsRetrieveRequestExpand": ".vendor_credits_retrieve_request_expand", + "VendorCreditsListRequestExpandItem": ".vendor_credits_list_request_expand_item", + "VendorCreditsRetrieveRequestExpandItem": ".vendor_credits_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["VendorCreditsListRequestExpand", "VendorCreditsRetrieveRequestExpand"] +__all__ = ["VendorCreditsListRequestExpandItem", "VendorCreditsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py deleted file mode 100644 index 675c95e9..00000000 --- a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VendorCreditsListRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR = "lines,tracking_categories,vendor" - LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "lines,tracking_categories,vendor,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY = "lines,tracking_categories,vendor,company" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "lines,tracking_categories,vendor,company,accounting_period" - ) - LINES_VENDOR = "lines,vendor" - LINES_VENDOR_ACCOUNTING_PERIOD = "lines,vendor,accounting_period" - LINES_VENDOR_COMPANY = "lines,vendor,company" - LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "lines,vendor,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - lines_vendor: typing.Callable[[], T_Result], - lines_vendor_accounting_period: typing.Callable[[], T_Result], - lines_vendor_company: typing.Callable[[], T_Result], - lines_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VendorCreditsListRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is VendorCreditsListRequestExpand.COMPANY: - return company() - if self is VendorCreditsListRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES: - return lines() - if self is VendorCreditsListRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_COMPANY: - return lines_company() - if self is VendorCreditsListRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR: - return lines_tracking_categories_vendor() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY: - return lines_tracking_categories_vendor_company() - if self is VendorCreditsListRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_VENDOR: - return lines_vendor() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_ACCOUNTING_PERIOD: - return lines_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_COMPANY: - return lines_vendor_company() - if self is VendorCreditsListRequestExpand.LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is VendorCreditsListRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsListRequestExpand.VENDOR: - return vendor() - if self is VendorCreditsListRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is VendorCreditsListRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is VendorCreditsListRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py new file mode 100644 index 00000000..f13f5f69 --- /dev/null +++ b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class VendorCreditsListRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + LINES = "lines" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is VendorCreditsListRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is VendorCreditsListRequestExpandItem.COMPANY: + return company() + if self is VendorCreditsListRequestExpandItem.LINES: + return lines() + if self is VendorCreditsListRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is VendorCreditsListRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py deleted file mode 100644 index a6288272..00000000 --- a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VendorCreditsRetrieveRequestExpand(str, enum.Enum): - ACCOUNTING_PERIOD = "accounting_period" - COMPANY = "company" - COMPANY_ACCOUNTING_PERIOD = "company,accounting_period" - LINES = "lines" - LINES_ACCOUNTING_PERIOD = "lines,accounting_period" - LINES_COMPANY = "lines,company" - LINES_COMPANY_ACCOUNTING_PERIOD = "lines,company,accounting_period" - LINES_TRACKING_CATEGORIES = "lines,tracking_categories" - LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "lines,tracking_categories,accounting_period" - LINES_TRACKING_CATEGORIES_COMPANY = "lines,tracking_categories,company" - LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "lines,tracking_categories,company,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR = "lines,tracking_categories,vendor" - LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "lines,tracking_categories,vendor,accounting_period" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY = "lines,tracking_categories,vendor,company" - LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = ( - "lines,tracking_categories,vendor,company,accounting_period" - ) - LINES_VENDOR = "lines,vendor" - LINES_VENDOR_ACCOUNTING_PERIOD = "lines,vendor,accounting_period" - LINES_VENDOR_COMPANY = "lines,vendor,company" - LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "lines,vendor,company,accounting_period" - TRACKING_CATEGORIES = "tracking_categories" - TRACKING_CATEGORIES_ACCOUNTING_PERIOD = "tracking_categories,accounting_period" - TRACKING_CATEGORIES_COMPANY = "tracking_categories,company" - TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,company,accounting_period" - TRACKING_CATEGORIES_VENDOR = "tracking_categories,vendor" - TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD = "tracking_categories,vendor,accounting_period" - TRACKING_CATEGORIES_VENDOR_COMPANY = "tracking_categories,vendor,company" - TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD = "tracking_categories,vendor,company,accounting_period" - VENDOR = "vendor" - VENDOR_ACCOUNTING_PERIOD = "vendor,accounting_period" - VENDOR_COMPANY = "vendor,company" - VENDOR_COMPANY_ACCOUNTING_PERIOD = "vendor,company,accounting_period" - - def visit( - self, - accounting_period: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - company_accounting_period: typing.Callable[[], T_Result], - lines: typing.Callable[[], T_Result], - lines_accounting_period: typing.Callable[[], T_Result], - lines_company: typing.Callable[[], T_Result], - lines_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories: typing.Callable[[], T_Result], - lines_tracking_categories_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_company: typing.Callable[[], T_Result], - lines_tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company: typing.Callable[[], T_Result], - lines_tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - lines_vendor: typing.Callable[[], T_Result], - lines_vendor_accounting_period: typing.Callable[[], T_Result], - lines_vendor_company: typing.Callable[[], T_Result], - lines_vendor_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories: typing.Callable[[], T_Result], - tracking_categories_accounting_period: typing.Callable[[], T_Result], - tracking_categories_company: typing.Callable[[], T_Result], - tracking_categories_company_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor: typing.Callable[[], T_Result], - tracking_categories_vendor_accounting_period: typing.Callable[[], T_Result], - tracking_categories_vendor_company: typing.Callable[[], T_Result], - tracking_categories_vendor_company_accounting_period: typing.Callable[[], T_Result], - vendor: typing.Callable[[], T_Result], - vendor_accounting_period: typing.Callable[[], T_Result], - vendor_company: typing.Callable[[], T_Result], - vendor_company_accounting_period: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VendorCreditsRetrieveRequestExpand.ACCOUNTING_PERIOD: - return accounting_period() - if self is VendorCreditsRetrieveRequestExpand.COMPANY: - return company() - if self is VendorCreditsRetrieveRequestExpand.COMPANY_ACCOUNTING_PERIOD: - return company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES: - return lines() - if self is VendorCreditsRetrieveRequestExpand.LINES_ACCOUNTING_PERIOD: - return lines_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_COMPANY: - return lines_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_COMPANY_ACCOUNTING_PERIOD: - return lines_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES: - return lines_tracking_categories() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return lines_tracking_categories_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY: - return lines_tracking_categories_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR: - return lines_tracking_categories_vendor() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY: - return lines_tracking_categories_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR: - return lines_vendor() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_ACCOUNTING_PERIOD: - return lines_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_COMPANY: - return lines_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.LINES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return lines_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES: - return tracking_categories() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_ACCOUNTING_PERIOD: - return tracking_categories_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY: - return tracking_categories_company() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR: - return tracking_categories_vendor() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_ACCOUNTING_PERIOD: - return tracking_categories_vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY: - return tracking_categories_vendor_company() - if self is VendorCreditsRetrieveRequestExpand.TRACKING_CATEGORIES_VENDOR_COMPANY_ACCOUNTING_PERIOD: - return tracking_categories_vendor_company_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.VENDOR: - return vendor() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_ACCOUNTING_PERIOD: - return vendor_accounting_period() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_COMPANY: - return vendor_company() - if self is VendorCreditsRetrieveRequestExpand.VENDOR_COMPANY_ACCOUNTING_PERIOD: - return vendor_company_accounting_period() diff --git a/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py new file mode 100644 index 00000000..ecc39a29 --- /dev/null +++ b/src/merge/resources/accounting/resources/vendor_credits/types/vendor_credits_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class VendorCreditsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNTING_PERIOD = "accounting_period" + COMPANY = "company" + LINES = "lines" + TRACKING_CATEGORIES = "tracking_categories" + VENDOR = "vendor" + + def visit( + self, + accounting_period: typing.Callable[[], T_Result], + company: typing.Callable[[], T_Result], + lines: typing.Callable[[], T_Result], + tracking_categories: typing.Callable[[], T_Result], + vendor: typing.Callable[[], T_Result], + ) -> T_Result: + if self is VendorCreditsRetrieveRequestExpandItem.ACCOUNTING_PERIOD: + return accounting_period() + if self is VendorCreditsRetrieveRequestExpandItem.COMPANY: + return company() + if self is VendorCreditsRetrieveRequestExpandItem.LINES: + return lines() + if self is VendorCreditsRetrieveRequestExpandItem.TRACKING_CATEGORIES: + return tracking_categories() + if self is VendorCreditsRetrieveRequestExpandItem.VENDOR: + return vendor() diff --git a/src/merge/resources/accounting/types/__init__.py b/src/merge/resources/accounting/types/__init__.py index 904eaae3..59651f98 100644 --- a/src/merge/resources/accounting/types/__init__.py +++ b/src/merge/resources/accounting/types/__init__.py @@ -10,6 +10,7 @@ from .account_account_type import AccountAccountType from .account_account_type_enum import AccountAccountTypeEnum from .account_classification import AccountClassification + from .account_company import AccountCompany from .account_currency import AccountCurrency from .account_details import AccountDetails from .account_details_and_actions import AccountDetailsAndActions @@ -22,6 +23,7 @@ from .account_request import AccountRequest from .account_request_account_type import AccountRequestAccountType from .account_request_classification import AccountRequestClassification + from .account_request_company import AccountRequestCompany from .account_request_currency import AccountRequestCurrency from .account_request_status import AccountRequestStatus from .account_response import AccountResponse @@ -43,6 +45,7 @@ from .address_type import AddressType from .address_type_enum import AddressTypeEnum from .advanced_metadata import AdvancedMetadata + from .async_bulk_create_response import AsyncBulkCreateResponse from .async_passthrough_reciept import AsyncPassthroughReciept from .async_post_task import AsyncPostTask from .async_post_task_result import AsyncPostTaskResult @@ -74,6 +77,13 @@ ) from .bank_feed_transaction_request_request_credit_or_debit import BankFeedTransactionRequestRequestCreditOrDebit from .bank_feed_transaction_response import BankFeedTransactionResponse + from .batch_object import BatchObject + from .batch_object_item_response import BatchObjectItemResponse + from .batch_object_status import BatchObjectStatus + from .batch_object_status_enum import BatchObjectStatusEnum + from .batch_objects_response import BatchObjectsResponse + from .batch_objects_response_status import BatchObjectsResponseStatus + from .batch_objects_response_status_enum import BatchObjectsResponseStatusEnum from .cash_flow_statement import CashFlowStatement from .cash_flow_statement_company import CashFlowStatementCompany from .cash_flow_statement_currency import CashFlowStatementCurrency @@ -84,12 +94,19 @@ from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest from .company_info import CompanyInfo + from .company_info_addresses_item import CompanyInfoAddressesItem from .company_info_currency import CompanyInfoCurrency + from .company_info_phone_numbers_item import CompanyInfoPhoneNumbersItem + from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum from .component_type_enum import ComponentTypeEnum from .contact import Contact from .contact_addresses_item import ContactAddressesItem + from .contact_company import ContactCompany + from .contact_phone_numbers_item import ContactPhoneNumbersItem from .contact_request import ContactRequest from .contact_request_addresses_item import ContactRequestAddressesItem + from .contact_request_company import ContactRequestCompany + from .contact_request_phone_numbers_item import ContactRequestPhoneNumbersItem from .contact_request_status import ContactRequestStatus from .contact_response import ContactResponse from .contact_status import ContactStatus @@ -116,6 +133,7 @@ from .credit_note_line_item_request_contact import CreditNoteLineItemRequestContact from .credit_note_line_item_request_item import CreditNoteLineItemRequestItem from .credit_note_line_item_request_project import CreditNoteLineItemRequestProject + from .credit_note_line_items_item import CreditNoteLineItemsItem from .credit_note_payments_item import CreditNotePaymentsItem from .credit_note_request import CreditNoteRequest from .credit_note_request_accounting_period import CreditNoteRequestAccountingPeriod @@ -133,7 +151,6 @@ from .credit_note_tracking_categories_item import CreditNoteTrackingCategoriesItem from .credit_or_debit_enum import CreditOrDebitEnum from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod from .debug_mode_log import DebugModeLog from .debug_model_log_summary import DebugModelLogSummary from .employee import Employee @@ -146,6 +163,7 @@ from .expense import Expense from .expense_account import ExpenseAccount from .expense_accounting_period import ExpenseAccountingPeriod + from .expense_batch_item_request import ExpenseBatchItemRequest from .expense_company import ExpenseCompany from .expense_contact import ExpenseContact from .expense_currency import ExpenseCurrency @@ -169,25 +187,33 @@ from .expense_line_tracking_categories_item import ExpenseLineTrackingCategoriesItem from .expense_line_tracking_category import ExpenseLineTrackingCategory from .expense_report import ExpenseReport + from .expense_report_accounting_period import ExpenseReportAccountingPeriod from .expense_report_company import ExpenseReportCompany + from .expense_report_currency import ExpenseReportCurrency + from .expense_report_employee import ExpenseReportEmployee from .expense_report_line import ExpenseReportLine from .expense_report_line_account import ExpenseReportLineAccount from .expense_report_line_company import ExpenseReportLineCompany from .expense_report_line_contact import ExpenseReportLineContact + from .expense_report_line_currency import ExpenseReportLineCurrency from .expense_report_line_employee import ExpenseReportLineEmployee from .expense_report_line_project import ExpenseReportLineProject from .expense_report_line_request import ExpenseReportLineRequest from .expense_report_line_request_account import ExpenseReportLineRequestAccount from .expense_report_line_request_company import ExpenseReportLineRequestCompany from .expense_report_line_request_contact import ExpenseReportLineRequestContact + from .expense_report_line_request_currency import ExpenseReportLineRequestCurrency from .expense_report_line_request_employee import ExpenseReportLineRequestEmployee from .expense_report_line_request_project import ExpenseReportLineRequestProject from .expense_report_line_request_tax_rate import ExpenseReportLineRequestTaxRate from .expense_report_line_tax_rate import ExpenseReportLineTaxRate + from .expense_report_lines_item import ExpenseReportLinesItem from .expense_report_request import ExpenseReportRequest from .expense_report_request_accounting_period import ExpenseReportRequestAccountingPeriod from .expense_report_request_company import ExpenseReportRequestCompany + from .expense_report_request_currency import ExpenseReportRequestCurrency from .expense_report_request_employee import ExpenseReportRequestEmployee + from .expense_report_request_status import ExpenseReportRequestStatus from .expense_report_response import ExpenseReportResponse from .expense_report_status import ExpenseReportStatus from .expense_report_status_enum import ExpenseReportStatusEnum @@ -230,9 +256,6 @@ from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee from .general_ledger_transaction_line_item import GeneralLedgerTransactionLineItem from .general_ledger_transaction_line_project import GeneralLedgerTransactionLineProject - from .general_ledger_transaction_line_tracking_categories_item import ( - GeneralLedgerTransactionLineTrackingCategoriesItem, - ) from .general_ledger_transaction_line_transaction_currency import GeneralLedgerTransactionLineTransactionCurrency from .general_ledger_transaction_tracking_categories_item import GeneralLedgerTransactionTrackingCategoriesItem from .general_ledger_transaction_underlying_transaction_type import ( @@ -248,6 +271,7 @@ from .invoice_applied_credit_notes_item import InvoiceAppliedCreditNotesItem from .invoice_applied_payments_item import InvoiceAppliedPaymentsItem from .invoice_applied_vendor_credits_item import InvoiceAppliedVendorCreditsItem + from .invoice_batch_item_request import InvoiceBatchItemRequest from .invoice_company import InvoiceCompany from .invoice_contact import InvoiceContact from .invoice_currency import InvoiceCurrency @@ -256,28 +280,29 @@ from .invoice_line_item_account import InvoiceLineItemAccount from .invoice_line_item_contact import InvoiceLineItemContact from .invoice_line_item_currency import InvoiceLineItemCurrency - from .invoice_line_item_employee import InvoiceLineItemEmployee from .invoice_line_item_item import InvoiceLineItemItem from .invoice_line_item_project import InvoiceLineItemProject from .invoice_line_item_request import InvoiceLineItemRequest from .invoice_line_item_request_account import InvoiceLineItemRequestAccount from .invoice_line_item_request_contact import InvoiceLineItemRequestContact from .invoice_line_item_request_currency import InvoiceLineItemRequestCurrency - from .invoice_line_item_request_employee import InvoiceLineItemRequestEmployee from .invoice_line_item_request_item import InvoiceLineItemRequestItem from .invoice_line_item_request_project import InvoiceLineItemRequestProject from .invoice_line_item_request_tracking_categories_item import InvoiceLineItemRequestTrackingCategoriesItem from .invoice_line_item_request_tracking_category import InvoiceLineItemRequestTrackingCategory from .invoice_line_item_tracking_categories_item import InvoiceLineItemTrackingCategoriesItem from .invoice_line_item_tracking_category import InvoiceLineItemTrackingCategory + from .invoice_line_items_item import InvoiceLineItemsItem from .invoice_payment_term import InvoicePaymentTerm from .invoice_payments_item import InvoicePaymentsItem from .invoice_purchase_orders_item import InvoicePurchaseOrdersItem from .invoice_request import InvoiceRequest + from .invoice_request_accounting_period import InvoiceRequestAccountingPeriod from .invoice_request_company import InvoiceRequestCompany from .invoice_request_contact import InvoiceRequestContact from .invoice_request_currency import InvoiceRequestCurrency from .invoice_request_employee import InvoiceRequestEmployee + from .invoice_request_line_items_item import InvoiceRequestLineItemsItem from .invoice_request_payment_term import InvoiceRequestPaymentTerm from .invoice_request_payments_item import InvoiceRequestPaymentsItem from .invoice_request_purchase_orders_item import InvoiceRequestPurchaseOrdersItem @@ -285,6 +310,7 @@ from .invoice_request_tracking_categories_item import InvoiceRequestTrackingCategoriesItem from .invoice_request_type import InvoiceRequestType from .invoice_response import InvoiceResponse + from .invoice_sales_orders_item import InvoiceSalesOrdersItem from .invoice_status import InvoiceStatus from .invoice_status_enum import InvoiceStatusEnum from .invoice_tracking_categories_item import InvoiceTrackingCategoriesItem @@ -296,6 +322,29 @@ from .item import Item from .item_company import ItemCompany from .item_format_enum import ItemFormatEnum + from .item_fulfillment import ItemFulfillment + from .item_fulfillment_batch_item_request import ItemFulfillmentBatchItemRequest + from .item_fulfillment_company import ItemFulfillmentCompany + from .item_fulfillment_customer import ItemFulfillmentCustomer + from .item_fulfillment_line import ItemFulfillmentLine + from .item_fulfillment_line_item import ItemFulfillmentLineItem + from .item_fulfillment_line_request import ItemFulfillmentLineRequest + from .item_fulfillment_line_request_item import ItemFulfillmentLineRequestItem + from .item_fulfillment_line_request_sales_order_line import ItemFulfillmentLineRequestSalesOrderLine + from .item_fulfillment_line_request_tracking_categories_item import ItemFulfillmentLineRequestTrackingCategoriesItem + from .item_fulfillment_line_sales_order_line import ItemFulfillmentLineSalesOrderLine + from .item_fulfillment_line_tracking_categories_item import ItemFulfillmentLineTrackingCategoriesItem + from .item_fulfillment_lines_item import ItemFulfillmentLinesItem + from .item_fulfillment_request_request import ItemFulfillmentRequestRequest + from .item_fulfillment_request_request_company import ItemFulfillmentRequestRequestCompany + from .item_fulfillment_request_request_customer import ItemFulfillmentRequestRequestCustomer + from .item_fulfillment_request_request_lines_item import ItemFulfillmentRequestRequestLinesItem + from .item_fulfillment_request_request_sales_order import ItemFulfillmentRequestRequestSalesOrder + from .item_fulfillment_request_request_status import ItemFulfillmentRequestRequestStatus + from .item_fulfillment_response import ItemFulfillmentResponse + from .item_fulfillment_sales_order import ItemFulfillmentSalesOrder + from .item_fulfillment_status import ItemFulfillmentStatus + from .item_fulfillment_status_enum import ItemFulfillmentStatusEnum from .item_purchase_account import ItemPurchaseAccount from .item_purchase_tax_rate import ItemPurchaseTaxRate from .item_request_request import ItemRequestRequest @@ -318,11 +367,13 @@ from .journal_entry_applied_payments_item import JournalEntryAppliedPaymentsItem from .journal_entry_company import JournalEntryCompany from .journal_entry_currency import JournalEntryCurrency + from .journal_entry_lines_item import JournalEntryLinesItem from .journal_entry_payments_item import JournalEntryPaymentsItem from .journal_entry_posting_status import JournalEntryPostingStatus from .journal_entry_request import JournalEntryRequest from .journal_entry_request_company import JournalEntryRequestCompany from .journal_entry_request_currency import JournalEntryRequestCurrency + from .journal_entry_request_lines_item import JournalEntryRequestLinesItem from .journal_entry_request_payments_item import JournalEntryRequestPaymentsItem from .journal_entry_request_posting_status import JournalEntryRequestPostingStatus from .journal_entry_request_tracking_categories_item import JournalEntryRequestTrackingCategoriesItem @@ -372,6 +423,7 @@ from .paginated_income_statement_list import PaginatedIncomeStatementList from .paginated_invoice_list import PaginatedInvoiceList from .paginated_issue_list import PaginatedIssueList + from .paginated_item_fulfillment_list import PaginatedItemFulfillmentList from .paginated_item_list import PaginatedItemList from .paginated_journal_entry_list import PaginatedJournalEntryList from .paginated_payment_list import PaginatedPaymentList @@ -380,26 +432,22 @@ from .paginated_project_list import PaginatedProjectList from .paginated_purchase_order_list import PaginatedPurchaseOrderList from .paginated_remote_field_class_list import PaginatedRemoteFieldClassList + from .paginated_sales_order_list import PaginatedSalesOrderList from .paginated_sync_status_list import PaginatedSyncStatusList from .paginated_tax_rate_list import PaginatedTaxRateList from .paginated_tracking_category_list import PaginatedTrackingCategoryList from .paginated_transaction_list import PaginatedTransactionList from .paginated_vendor_credit_list import PaginatedVendorCreditList from .patched_contact_request import PatchedContactRequest - from .patched_contact_request_addresses_item import PatchedContactRequestAddressesItem + from .patched_contact_request_status import PatchedContactRequestStatus from .patched_item_request_request import PatchedItemRequestRequest from .patched_item_request_request_status import PatchedItemRequestRequestStatus from .patched_item_request_request_type import PatchedItemRequestRequestType from .patched_payment_request import PatchedPaymentRequest - from .patched_payment_request_account import PatchedPaymentRequestAccount - from .patched_payment_request_accounting_period import PatchedPaymentRequestAccountingPeriod - from .patched_payment_request_applied_to_lines_item import PatchedPaymentRequestAppliedToLinesItem - from .patched_payment_request_company import PatchedPaymentRequestCompany - from .patched_payment_request_contact import PatchedPaymentRequestContact from .patched_payment_request_currency import PatchedPaymentRequestCurrency - from .patched_payment_request_payment_method import PatchedPaymentRequestPaymentMethod - from .patched_payment_request_tracking_categories_item import PatchedPaymentRequestTrackingCategoriesItem from .patched_payment_request_type import PatchedPaymentRequestType + from .patched_vendor_credit_request import PatchedVendorCreditRequest + from .patched_vendor_credit_request_currency import PatchedVendorCreditRequestCurrency from .payment import Payment from .payment_account import PaymentAccount from .payment_accounting_period import PaymentAccountingPeriod @@ -443,11 +491,13 @@ from .purchase_order_line_item_request import PurchaseOrderLineItemRequest from .purchase_order_line_item_request_currency import PurchaseOrderLineItemRequestCurrency from .purchase_order_line_item_request_item import PurchaseOrderLineItemRequestItem + from .purchase_order_line_items_item import PurchaseOrderLineItemsItem from .purchase_order_payment_term import PurchaseOrderPaymentTerm from .purchase_order_request import PurchaseOrderRequest from .purchase_order_request_company import PurchaseOrderRequestCompany from .purchase_order_request_currency import PurchaseOrderRequestCurrency from .purchase_order_request_delivery_address import PurchaseOrderRequestDeliveryAddress + from .purchase_order_request_line_items_item import PurchaseOrderRequestLineItemsItem from .purchase_order_request_payment_term import PurchaseOrderRequestPaymentTerm from .purchase_order_request_status import PurchaseOrderRequestStatus from .purchase_order_request_tracking_categories_item import PurchaseOrderRequestTrackingCategoriesItem @@ -457,6 +507,7 @@ from .purchase_order_status_enum import PurchaseOrderStatusEnum from .purchase_order_tracking_categories_item import PurchaseOrderTrackingCategoriesItem from .purchase_order_vendor import PurchaseOrderVendor + from .regenerate_account_token import RegenerateAccountToken from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo from .remote_field import RemoteField @@ -464,27 +515,57 @@ from .remote_field_api_coverage import RemoteFieldApiCoverage from .remote_field_api_response import RemoteFieldApiResponse from .remote_field_class import RemoteFieldClass - from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass from .remote_field_request import RemoteFieldRequest - from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .report_item import ReportItem from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role_enum import RoleEnum + from .sales_order import SalesOrder + from .sales_order_batch_item_request import SalesOrderBatchItemRequest + from .sales_order_company import SalesOrderCompany + from .sales_order_currency import SalesOrderCurrency + from .sales_order_customer import SalesOrderCustomer + from .sales_order_line import SalesOrderLine + from .sales_order_line_company import SalesOrderLineCompany + from .sales_order_line_item import SalesOrderLineItem + from .sales_order_line_request import SalesOrderLineRequest + from .sales_order_line_request_company import SalesOrderLineRequestCompany + from .sales_order_line_request_item import SalesOrderLineRequestItem + from .sales_order_line_request_tax_rate import SalesOrderLineRequestTaxRate + from .sales_order_line_request_tracking_categories_item import SalesOrderLineRequestTrackingCategoriesItem + from .sales_order_line_tax_rate import SalesOrderLineTaxRate + from .sales_order_line_tracking_categories_item import SalesOrderLineTrackingCategoriesItem + from .sales_order_lines_item import SalesOrderLinesItem + from .sales_order_payment_term import SalesOrderPaymentTerm + from .sales_order_request_request import SalesOrderRequestRequest + from .sales_order_request_request_company import SalesOrderRequestRequestCompany + from .sales_order_request_request_currency import SalesOrderRequestRequestCurrency + from .sales_order_request_request_customer import SalesOrderRequestRequestCustomer + from .sales_order_request_request_lines_item import SalesOrderRequestRequestLinesItem + from .sales_order_request_request_payment_term import SalesOrderRequestRequestPaymentTerm + from .sales_order_request_request_shipping_address import SalesOrderRequestRequestShippingAddress + from .sales_order_request_request_status import SalesOrderRequestRequestStatus + from .sales_order_request_request_tracking_categories_item import SalesOrderRequestRequestTrackingCategoriesItem + from .sales_order_response import SalesOrderResponse + from .sales_order_shipping_address import SalesOrderShippingAddress + from .sales_order_status import SalesOrderStatus + from .sales_order_status_enum import SalesOrderStatusEnum + from .sales_order_tracking_categories_item import SalesOrderTrackingCategoriesItem from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum from .status_7_d_1_enum import Status7D1Enum from .status_895_enum import Status895Enum from .status_fd_5_enum import StatusFd5Enum from .sync_status import SyncStatus + from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus from .tax_component import TaxComponent from .tax_component_component_type import TaxComponentComponentType from .tax_rate import TaxRate from .tax_rate_company import TaxRateCompany from .tax_rate_status import TaxRateStatus - from .tax_rate_tax_components_item import TaxRateTaxComponentsItem from .tracking_category import TrackingCategory from .tracking_category_category_type import TrackingCategoryCategoryType from .tracking_category_company import TrackingCategoryCompany @@ -492,12 +573,14 @@ from .transaction import Transaction from .transaction_account import TransactionAccount from .transaction_accounting_period import TransactionAccountingPeriod + from .transaction_company import TransactionCompany from .transaction_contact import TransactionContact from .transaction_currency import TransactionCurrency from .transaction_currency_enum import TransactionCurrencyEnum from .transaction_line_item import TransactionLineItem from .transaction_line_item_currency import TransactionLineItemCurrency from .transaction_line_item_item import TransactionLineItemItem + from .transaction_line_items_item import TransactionLineItemsItem from .transaction_tracking_categories_item import TransactionTrackingCategoriesItem from .type_2_bb_enum import Type2BbEnum from .underlying_transaction_type_enum import UnderlyingTransactionTypeEnum @@ -522,6 +605,7 @@ from .vendor_credit_line_request_account import VendorCreditLineRequestAccount from .vendor_credit_line_request_contact import VendorCreditLineRequestContact from .vendor_credit_line_request_project import VendorCreditLineRequestProject + from .vendor_credit_lines_item import VendorCreditLinesItem from .vendor_credit_request import VendorCreditRequest from .vendor_credit_request_accounting_period import VendorCreditRequestAccountingPeriod from .vendor_credit_request_company import VendorCreditRequestCompany @@ -538,6 +622,7 @@ "AccountAccountType": ".account_account_type", "AccountAccountTypeEnum": ".account_account_type_enum", "AccountClassification": ".account_classification", + "AccountCompany": ".account_company", "AccountCurrency": ".account_currency", "AccountDetails": ".account_details", "AccountDetailsAndActions": ".account_details_and_actions", @@ -550,6 +635,7 @@ "AccountRequest": ".account_request", "AccountRequestAccountType": ".account_request_account_type", "AccountRequestClassification": ".account_request_classification", + "AccountRequestCompany": ".account_request_company", "AccountRequestCurrency": ".account_request_currency", "AccountRequestStatus": ".account_request_status", "AccountResponse": ".account_response", @@ -571,6 +657,7 @@ "AddressType": ".address_type", "AddressTypeEnum": ".address_type_enum", "AdvancedMetadata": ".advanced_metadata", + "AsyncBulkCreateResponse": ".async_bulk_create_response", "AsyncPassthroughReciept": ".async_passthrough_reciept", "AsyncPostTask": ".async_post_task", "AsyncPostTaskResult": ".async_post_task_result", @@ -600,6 +687,13 @@ "BankFeedTransactionRequestRequestBankFeedAccount": ".bank_feed_transaction_request_request_bank_feed_account", "BankFeedTransactionRequestRequestCreditOrDebit": ".bank_feed_transaction_request_request_credit_or_debit", "BankFeedTransactionResponse": ".bank_feed_transaction_response", + "BatchObject": ".batch_object", + "BatchObjectItemResponse": ".batch_object_item_response", + "BatchObjectStatus": ".batch_object_status", + "BatchObjectStatusEnum": ".batch_object_status_enum", + "BatchObjectsResponse": ".batch_objects_response", + "BatchObjectsResponseStatus": ".batch_objects_response_status", + "BatchObjectsResponseStatusEnum": ".batch_objects_response_status_enum", "CashFlowStatement": ".cash_flow_statement", "CashFlowStatementCompany": ".cash_flow_statement_company", "CashFlowStatementCurrency": ".cash_flow_statement_currency", @@ -610,12 +704,19 @@ "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", "CompanyInfo": ".company_info", + "CompanyInfoAddressesItem": ".company_info_addresses_item", "CompanyInfoCurrency": ".company_info_currency", + "CompanyInfoPhoneNumbersItem": ".company_info_phone_numbers_item", + "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", "ComponentTypeEnum": ".component_type_enum", "Contact": ".contact", "ContactAddressesItem": ".contact_addresses_item", + "ContactCompany": ".contact_company", + "ContactPhoneNumbersItem": ".contact_phone_numbers_item", "ContactRequest": ".contact_request", "ContactRequestAddressesItem": ".contact_request_addresses_item", + "ContactRequestCompany": ".contact_request_company", + "ContactRequestPhoneNumbersItem": ".contact_request_phone_numbers_item", "ContactRequestStatus": ".contact_request_status", "ContactResponse": ".contact_response", "ContactStatus": ".contact_status", @@ -642,6 +743,7 @@ "CreditNoteLineItemRequestContact": ".credit_note_line_item_request_contact", "CreditNoteLineItemRequestItem": ".credit_note_line_item_request_item", "CreditNoteLineItemRequestProject": ".credit_note_line_item_request_project", + "CreditNoteLineItemsItem": ".credit_note_line_items_item", "CreditNotePaymentsItem": ".credit_note_payments_item", "CreditNoteRequest": ".credit_note_request", "CreditNoteRequestAccountingPeriod": ".credit_note_request_accounting_period", @@ -659,7 +761,6 @@ "CreditNoteTrackingCategoriesItem": ".credit_note_tracking_categories_item", "CreditOrDebitEnum": ".credit_or_debit_enum", "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", "DebugModeLog": ".debug_mode_log", "DebugModelLogSummary": ".debug_model_log_summary", "Employee": ".employee", @@ -672,6 +773,7 @@ "Expense": ".expense", "ExpenseAccount": ".expense_account", "ExpenseAccountingPeriod": ".expense_accounting_period", + "ExpenseBatchItemRequest": ".expense_batch_item_request", "ExpenseCompany": ".expense_company", "ExpenseContact": ".expense_contact", "ExpenseCurrency": ".expense_currency", @@ -695,25 +797,33 @@ "ExpenseLineTrackingCategoriesItem": ".expense_line_tracking_categories_item", "ExpenseLineTrackingCategory": ".expense_line_tracking_category", "ExpenseReport": ".expense_report", + "ExpenseReportAccountingPeriod": ".expense_report_accounting_period", "ExpenseReportCompany": ".expense_report_company", + "ExpenseReportCurrency": ".expense_report_currency", + "ExpenseReportEmployee": ".expense_report_employee", "ExpenseReportLine": ".expense_report_line", "ExpenseReportLineAccount": ".expense_report_line_account", "ExpenseReportLineCompany": ".expense_report_line_company", "ExpenseReportLineContact": ".expense_report_line_contact", + "ExpenseReportLineCurrency": ".expense_report_line_currency", "ExpenseReportLineEmployee": ".expense_report_line_employee", "ExpenseReportLineProject": ".expense_report_line_project", "ExpenseReportLineRequest": ".expense_report_line_request", "ExpenseReportLineRequestAccount": ".expense_report_line_request_account", "ExpenseReportLineRequestCompany": ".expense_report_line_request_company", "ExpenseReportLineRequestContact": ".expense_report_line_request_contact", + "ExpenseReportLineRequestCurrency": ".expense_report_line_request_currency", "ExpenseReportLineRequestEmployee": ".expense_report_line_request_employee", "ExpenseReportLineRequestProject": ".expense_report_line_request_project", "ExpenseReportLineRequestTaxRate": ".expense_report_line_request_tax_rate", "ExpenseReportLineTaxRate": ".expense_report_line_tax_rate", + "ExpenseReportLinesItem": ".expense_report_lines_item", "ExpenseReportRequest": ".expense_report_request", "ExpenseReportRequestAccountingPeriod": ".expense_report_request_accounting_period", "ExpenseReportRequestCompany": ".expense_report_request_company", + "ExpenseReportRequestCurrency": ".expense_report_request_currency", "ExpenseReportRequestEmployee": ".expense_report_request_employee", + "ExpenseReportRequestStatus": ".expense_report_request_status", "ExpenseReportResponse": ".expense_report_response", "ExpenseReportStatus": ".expense_report_status", "ExpenseReportStatusEnum": ".expense_report_status_enum", @@ -752,7 +862,6 @@ "GeneralLedgerTransactionLineEmployee": ".general_ledger_transaction_line_employee", "GeneralLedgerTransactionLineItem": ".general_ledger_transaction_line_item", "GeneralLedgerTransactionLineProject": ".general_ledger_transaction_line_project", - "GeneralLedgerTransactionLineTrackingCategoriesItem": ".general_ledger_transaction_line_tracking_categories_item", "GeneralLedgerTransactionLineTransactionCurrency": ".general_ledger_transaction_line_transaction_currency", "GeneralLedgerTransactionTrackingCategoriesItem": ".general_ledger_transaction_tracking_categories_item", "GeneralLedgerTransactionUnderlyingTransactionType": ".general_ledger_transaction_underlying_transaction_type", @@ -766,6 +875,7 @@ "InvoiceAppliedCreditNotesItem": ".invoice_applied_credit_notes_item", "InvoiceAppliedPaymentsItem": ".invoice_applied_payments_item", "InvoiceAppliedVendorCreditsItem": ".invoice_applied_vendor_credits_item", + "InvoiceBatchItemRequest": ".invoice_batch_item_request", "InvoiceCompany": ".invoice_company", "InvoiceContact": ".invoice_contact", "InvoiceCurrency": ".invoice_currency", @@ -774,28 +884,29 @@ "InvoiceLineItemAccount": ".invoice_line_item_account", "InvoiceLineItemContact": ".invoice_line_item_contact", "InvoiceLineItemCurrency": ".invoice_line_item_currency", - "InvoiceLineItemEmployee": ".invoice_line_item_employee", "InvoiceLineItemItem": ".invoice_line_item_item", "InvoiceLineItemProject": ".invoice_line_item_project", "InvoiceLineItemRequest": ".invoice_line_item_request", "InvoiceLineItemRequestAccount": ".invoice_line_item_request_account", "InvoiceLineItemRequestContact": ".invoice_line_item_request_contact", "InvoiceLineItemRequestCurrency": ".invoice_line_item_request_currency", - "InvoiceLineItemRequestEmployee": ".invoice_line_item_request_employee", "InvoiceLineItemRequestItem": ".invoice_line_item_request_item", "InvoiceLineItemRequestProject": ".invoice_line_item_request_project", "InvoiceLineItemRequestTrackingCategoriesItem": ".invoice_line_item_request_tracking_categories_item", "InvoiceLineItemRequestTrackingCategory": ".invoice_line_item_request_tracking_category", "InvoiceLineItemTrackingCategoriesItem": ".invoice_line_item_tracking_categories_item", "InvoiceLineItemTrackingCategory": ".invoice_line_item_tracking_category", + "InvoiceLineItemsItem": ".invoice_line_items_item", "InvoicePaymentTerm": ".invoice_payment_term", "InvoicePaymentsItem": ".invoice_payments_item", "InvoicePurchaseOrdersItem": ".invoice_purchase_orders_item", "InvoiceRequest": ".invoice_request", + "InvoiceRequestAccountingPeriod": ".invoice_request_accounting_period", "InvoiceRequestCompany": ".invoice_request_company", "InvoiceRequestContact": ".invoice_request_contact", "InvoiceRequestCurrency": ".invoice_request_currency", "InvoiceRequestEmployee": ".invoice_request_employee", + "InvoiceRequestLineItemsItem": ".invoice_request_line_items_item", "InvoiceRequestPaymentTerm": ".invoice_request_payment_term", "InvoiceRequestPaymentsItem": ".invoice_request_payments_item", "InvoiceRequestPurchaseOrdersItem": ".invoice_request_purchase_orders_item", @@ -803,6 +914,7 @@ "InvoiceRequestTrackingCategoriesItem": ".invoice_request_tracking_categories_item", "InvoiceRequestType": ".invoice_request_type", "InvoiceResponse": ".invoice_response", + "InvoiceSalesOrdersItem": ".invoice_sales_orders_item", "InvoiceStatus": ".invoice_status", "InvoiceStatusEnum": ".invoice_status_enum", "InvoiceTrackingCategoriesItem": ".invoice_tracking_categories_item", @@ -814,6 +926,29 @@ "Item": ".item", "ItemCompany": ".item_company", "ItemFormatEnum": ".item_format_enum", + "ItemFulfillment": ".item_fulfillment", + "ItemFulfillmentBatchItemRequest": ".item_fulfillment_batch_item_request", + "ItemFulfillmentCompany": ".item_fulfillment_company", + "ItemFulfillmentCustomer": ".item_fulfillment_customer", + "ItemFulfillmentLine": ".item_fulfillment_line", + "ItemFulfillmentLineItem": ".item_fulfillment_line_item", + "ItemFulfillmentLineRequest": ".item_fulfillment_line_request", + "ItemFulfillmentLineRequestItem": ".item_fulfillment_line_request_item", + "ItemFulfillmentLineRequestSalesOrderLine": ".item_fulfillment_line_request_sales_order_line", + "ItemFulfillmentLineRequestTrackingCategoriesItem": ".item_fulfillment_line_request_tracking_categories_item", + "ItemFulfillmentLineSalesOrderLine": ".item_fulfillment_line_sales_order_line", + "ItemFulfillmentLineTrackingCategoriesItem": ".item_fulfillment_line_tracking_categories_item", + "ItemFulfillmentLinesItem": ".item_fulfillment_lines_item", + "ItemFulfillmentRequestRequest": ".item_fulfillment_request_request", + "ItemFulfillmentRequestRequestCompany": ".item_fulfillment_request_request_company", + "ItemFulfillmentRequestRequestCustomer": ".item_fulfillment_request_request_customer", + "ItemFulfillmentRequestRequestLinesItem": ".item_fulfillment_request_request_lines_item", + "ItemFulfillmentRequestRequestSalesOrder": ".item_fulfillment_request_request_sales_order", + "ItemFulfillmentRequestRequestStatus": ".item_fulfillment_request_request_status", + "ItemFulfillmentResponse": ".item_fulfillment_response", + "ItemFulfillmentSalesOrder": ".item_fulfillment_sales_order", + "ItemFulfillmentStatus": ".item_fulfillment_status", + "ItemFulfillmentStatusEnum": ".item_fulfillment_status_enum", "ItemPurchaseAccount": ".item_purchase_account", "ItemPurchaseTaxRate": ".item_purchase_tax_rate", "ItemRequestRequest": ".item_request_request", @@ -836,11 +971,13 @@ "JournalEntryAppliedPaymentsItem": ".journal_entry_applied_payments_item", "JournalEntryCompany": ".journal_entry_company", "JournalEntryCurrency": ".journal_entry_currency", + "JournalEntryLinesItem": ".journal_entry_lines_item", "JournalEntryPaymentsItem": ".journal_entry_payments_item", "JournalEntryPostingStatus": ".journal_entry_posting_status", "JournalEntryRequest": ".journal_entry_request", "JournalEntryRequestCompany": ".journal_entry_request_company", "JournalEntryRequestCurrency": ".journal_entry_request_currency", + "JournalEntryRequestLinesItem": ".journal_entry_request_lines_item", "JournalEntryRequestPaymentsItem": ".journal_entry_request_payments_item", "JournalEntryRequestPostingStatus": ".journal_entry_request_posting_status", "JournalEntryRequestTrackingCategoriesItem": ".journal_entry_request_tracking_categories_item", @@ -890,6 +1027,7 @@ "PaginatedIncomeStatementList": ".paginated_income_statement_list", "PaginatedInvoiceList": ".paginated_invoice_list", "PaginatedIssueList": ".paginated_issue_list", + "PaginatedItemFulfillmentList": ".paginated_item_fulfillment_list", "PaginatedItemList": ".paginated_item_list", "PaginatedJournalEntryList": ".paginated_journal_entry_list", "PaginatedPaymentList": ".paginated_payment_list", @@ -898,26 +1036,22 @@ "PaginatedProjectList": ".paginated_project_list", "PaginatedPurchaseOrderList": ".paginated_purchase_order_list", "PaginatedRemoteFieldClassList": ".paginated_remote_field_class_list", + "PaginatedSalesOrderList": ".paginated_sales_order_list", "PaginatedSyncStatusList": ".paginated_sync_status_list", "PaginatedTaxRateList": ".paginated_tax_rate_list", "PaginatedTrackingCategoryList": ".paginated_tracking_category_list", "PaginatedTransactionList": ".paginated_transaction_list", "PaginatedVendorCreditList": ".paginated_vendor_credit_list", "PatchedContactRequest": ".patched_contact_request", - "PatchedContactRequestAddressesItem": ".patched_contact_request_addresses_item", + "PatchedContactRequestStatus": ".patched_contact_request_status", "PatchedItemRequestRequest": ".patched_item_request_request", "PatchedItemRequestRequestStatus": ".patched_item_request_request_status", "PatchedItemRequestRequestType": ".patched_item_request_request_type", "PatchedPaymentRequest": ".patched_payment_request", - "PatchedPaymentRequestAccount": ".patched_payment_request_account", - "PatchedPaymentRequestAccountingPeriod": ".patched_payment_request_accounting_period", - "PatchedPaymentRequestAppliedToLinesItem": ".patched_payment_request_applied_to_lines_item", - "PatchedPaymentRequestCompany": ".patched_payment_request_company", - "PatchedPaymentRequestContact": ".patched_payment_request_contact", "PatchedPaymentRequestCurrency": ".patched_payment_request_currency", - "PatchedPaymentRequestPaymentMethod": ".patched_payment_request_payment_method", - "PatchedPaymentRequestTrackingCategoriesItem": ".patched_payment_request_tracking_categories_item", "PatchedPaymentRequestType": ".patched_payment_request_type", + "PatchedVendorCreditRequest": ".patched_vendor_credit_request", + "PatchedVendorCreditRequestCurrency": ".patched_vendor_credit_request_currency", "Payment": ".payment", "PaymentAccount": ".payment_account", "PaymentAccountingPeriod": ".payment_accounting_period", @@ -961,11 +1095,13 @@ "PurchaseOrderLineItemRequest": ".purchase_order_line_item_request", "PurchaseOrderLineItemRequestCurrency": ".purchase_order_line_item_request_currency", "PurchaseOrderLineItemRequestItem": ".purchase_order_line_item_request_item", + "PurchaseOrderLineItemsItem": ".purchase_order_line_items_item", "PurchaseOrderPaymentTerm": ".purchase_order_payment_term", "PurchaseOrderRequest": ".purchase_order_request", "PurchaseOrderRequestCompany": ".purchase_order_request_company", "PurchaseOrderRequestCurrency": ".purchase_order_request_currency", "PurchaseOrderRequestDeliveryAddress": ".purchase_order_request_delivery_address", + "PurchaseOrderRequestLineItemsItem": ".purchase_order_request_line_items_item", "PurchaseOrderRequestPaymentTerm": ".purchase_order_request_payment_term", "PurchaseOrderRequestStatus": ".purchase_order_request_status", "PurchaseOrderRequestTrackingCategoriesItem": ".purchase_order_request_tracking_categories_item", @@ -975,6 +1111,7 @@ "PurchaseOrderStatusEnum": ".purchase_order_status_enum", "PurchaseOrderTrackingCategoriesItem": ".purchase_order_tracking_categories_item", "PurchaseOrderVendor": ".purchase_order_vendor", + "RegenerateAccountToken": ".regenerate_account_token", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", "RemoteField": ".remote_field", @@ -982,27 +1119,57 @@ "RemoteFieldApiCoverage": ".remote_field_api_coverage", "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteFieldClass": ".remote_field_class", - "RemoteFieldRemoteFieldClass": ".remote_field_remote_field_class", "RemoteFieldRequest": ".remote_field_request", - "RemoteFieldRequestRemoteFieldClass": ".remote_field_request_remote_field_class", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "ReportItem": ".report_item", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "RoleEnum": ".role_enum", + "SalesOrder": ".sales_order", + "SalesOrderBatchItemRequest": ".sales_order_batch_item_request", + "SalesOrderCompany": ".sales_order_company", + "SalesOrderCurrency": ".sales_order_currency", + "SalesOrderCustomer": ".sales_order_customer", + "SalesOrderLine": ".sales_order_line", + "SalesOrderLineCompany": ".sales_order_line_company", + "SalesOrderLineItem": ".sales_order_line_item", + "SalesOrderLineRequest": ".sales_order_line_request", + "SalesOrderLineRequestCompany": ".sales_order_line_request_company", + "SalesOrderLineRequestItem": ".sales_order_line_request_item", + "SalesOrderLineRequestTaxRate": ".sales_order_line_request_tax_rate", + "SalesOrderLineRequestTrackingCategoriesItem": ".sales_order_line_request_tracking_categories_item", + "SalesOrderLineTaxRate": ".sales_order_line_tax_rate", + "SalesOrderLineTrackingCategoriesItem": ".sales_order_line_tracking_categories_item", + "SalesOrderLinesItem": ".sales_order_lines_item", + "SalesOrderPaymentTerm": ".sales_order_payment_term", + "SalesOrderRequestRequest": ".sales_order_request_request", + "SalesOrderRequestRequestCompany": ".sales_order_request_request_company", + "SalesOrderRequestRequestCurrency": ".sales_order_request_request_currency", + "SalesOrderRequestRequestCustomer": ".sales_order_request_request_customer", + "SalesOrderRequestRequestLinesItem": ".sales_order_request_request_lines_item", + "SalesOrderRequestRequestPaymentTerm": ".sales_order_request_request_payment_term", + "SalesOrderRequestRequestShippingAddress": ".sales_order_request_request_shipping_address", + "SalesOrderRequestRequestStatus": ".sales_order_request_request_status", + "SalesOrderRequestRequestTrackingCategoriesItem": ".sales_order_request_request_tracking_categories_item", + "SalesOrderResponse": ".sales_order_response", + "SalesOrderShippingAddress": ".sales_order_shipping_address", + "SalesOrderStatus": ".sales_order_status", + "SalesOrderStatusEnum": ".sales_order_status_enum", + "SalesOrderTrackingCategoriesItem": ".sales_order_tracking_categories_item", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", "Status7D1Enum": ".status_7_d_1_enum", "Status895Enum": ".status_895_enum", "StatusFd5Enum": ".status_fd_5_enum", "SyncStatus": ".sync_status", + "SyncStatusLastSyncResult": ".sync_status_last_sync_result", "SyncStatusStatus": ".sync_status_status", "TaxComponent": ".tax_component", "TaxComponentComponentType": ".tax_component_component_type", "TaxRate": ".tax_rate", "TaxRateCompany": ".tax_rate_company", "TaxRateStatus": ".tax_rate_status", - "TaxRateTaxComponentsItem": ".tax_rate_tax_components_item", "TrackingCategory": ".tracking_category", "TrackingCategoryCategoryType": ".tracking_category_category_type", "TrackingCategoryCompany": ".tracking_category_company", @@ -1010,12 +1177,14 @@ "Transaction": ".transaction", "TransactionAccount": ".transaction_account", "TransactionAccountingPeriod": ".transaction_accounting_period", + "TransactionCompany": ".transaction_company", "TransactionContact": ".transaction_contact", "TransactionCurrency": ".transaction_currency", "TransactionCurrencyEnum": ".transaction_currency_enum", "TransactionLineItem": ".transaction_line_item", "TransactionLineItemCurrency": ".transaction_line_item_currency", "TransactionLineItemItem": ".transaction_line_item_item", + "TransactionLineItemsItem": ".transaction_line_items_item", "TransactionTrackingCategoriesItem": ".transaction_tracking_categories_item", "Type2BbEnum": ".type_2_bb_enum", "UnderlyingTransactionTypeEnum": ".underlying_transaction_type_enum", @@ -1038,6 +1207,7 @@ "VendorCreditLineRequestAccount": ".vendor_credit_line_request_account", "VendorCreditLineRequestContact": ".vendor_credit_line_request_contact", "VendorCreditLineRequestProject": ".vendor_credit_line_request_project", + "VendorCreditLinesItem": ".vendor_credit_lines_item", "VendorCreditRequest": ".vendor_credit_request", "VendorCreditRequestAccountingPeriod": ".vendor_credit_request_accounting_period", "VendorCreditRequestCompany": ".vendor_credit_request_company", @@ -1076,6 +1246,7 @@ def __dir__(): "AccountAccountType", "AccountAccountTypeEnum", "AccountClassification", + "AccountCompany", "AccountCurrency", "AccountDetails", "AccountDetailsAndActions", @@ -1088,6 +1259,7 @@ def __dir__(): "AccountRequest", "AccountRequestAccountType", "AccountRequestClassification", + "AccountRequestCompany", "AccountRequestCurrency", "AccountRequestStatus", "AccountResponse", @@ -1109,6 +1281,7 @@ def __dir__(): "AddressType", "AddressTypeEnum", "AdvancedMetadata", + "AsyncBulkCreateResponse", "AsyncPassthroughReciept", "AsyncPostTask", "AsyncPostTaskResult", @@ -1138,6 +1311,13 @@ def __dir__(): "BankFeedTransactionRequestRequestBankFeedAccount", "BankFeedTransactionRequestRequestCreditOrDebit", "BankFeedTransactionResponse", + "BatchObject", + "BatchObjectItemResponse", + "BatchObjectStatus", + "BatchObjectStatusEnum", + "BatchObjectsResponse", + "BatchObjectsResponseStatus", + "BatchObjectsResponseStatusEnum", "CashFlowStatement", "CashFlowStatementCompany", "CashFlowStatementCurrency", @@ -1148,12 +1328,19 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "CompanyInfo", + "CompanyInfoAddressesItem", "CompanyInfoCurrency", + "CompanyInfoPhoneNumbersItem", + "CompletedAccountInitialScreenEnum", "ComponentTypeEnum", "Contact", "ContactAddressesItem", + "ContactCompany", + "ContactPhoneNumbersItem", "ContactRequest", "ContactRequestAddressesItem", + "ContactRequestCompany", + "ContactRequestPhoneNumbersItem", "ContactRequestStatus", "ContactResponse", "ContactStatus", @@ -1180,6 +1367,7 @@ def __dir__(): "CreditNoteLineItemRequestContact", "CreditNoteLineItemRequestItem", "CreditNoteLineItemRequestProject", + "CreditNoteLineItemsItem", "CreditNotePaymentsItem", "CreditNoteRequest", "CreditNoteRequestAccountingPeriod", @@ -1197,7 +1385,6 @@ def __dir__(): "CreditNoteTrackingCategoriesItem", "CreditOrDebitEnum", "DataPassthroughRequest", - "DataPassthroughRequestMethod", "DebugModeLog", "DebugModelLogSummary", "Employee", @@ -1210,6 +1397,7 @@ def __dir__(): "Expense", "ExpenseAccount", "ExpenseAccountingPeriod", + "ExpenseBatchItemRequest", "ExpenseCompany", "ExpenseContact", "ExpenseCurrency", @@ -1233,25 +1421,33 @@ def __dir__(): "ExpenseLineTrackingCategoriesItem", "ExpenseLineTrackingCategory", "ExpenseReport", + "ExpenseReportAccountingPeriod", "ExpenseReportCompany", + "ExpenseReportCurrency", + "ExpenseReportEmployee", "ExpenseReportLine", "ExpenseReportLineAccount", "ExpenseReportLineCompany", "ExpenseReportLineContact", + "ExpenseReportLineCurrency", "ExpenseReportLineEmployee", "ExpenseReportLineProject", "ExpenseReportLineRequest", "ExpenseReportLineRequestAccount", "ExpenseReportLineRequestCompany", "ExpenseReportLineRequestContact", + "ExpenseReportLineRequestCurrency", "ExpenseReportLineRequestEmployee", "ExpenseReportLineRequestProject", "ExpenseReportLineRequestTaxRate", "ExpenseReportLineTaxRate", + "ExpenseReportLinesItem", "ExpenseReportRequest", "ExpenseReportRequestAccountingPeriod", "ExpenseReportRequestCompany", + "ExpenseReportRequestCurrency", "ExpenseReportRequestEmployee", + "ExpenseReportRequestStatus", "ExpenseReportResponse", "ExpenseReportStatus", "ExpenseReportStatusEnum", @@ -1290,7 +1486,6 @@ def __dir__(): "GeneralLedgerTransactionLineEmployee", "GeneralLedgerTransactionLineItem", "GeneralLedgerTransactionLineProject", - "GeneralLedgerTransactionLineTrackingCategoriesItem", "GeneralLedgerTransactionLineTransactionCurrency", "GeneralLedgerTransactionTrackingCategoriesItem", "GeneralLedgerTransactionUnderlyingTransactionType", @@ -1304,6 +1499,7 @@ def __dir__(): "InvoiceAppliedCreditNotesItem", "InvoiceAppliedPaymentsItem", "InvoiceAppliedVendorCreditsItem", + "InvoiceBatchItemRequest", "InvoiceCompany", "InvoiceContact", "InvoiceCurrency", @@ -1312,28 +1508,29 @@ def __dir__(): "InvoiceLineItemAccount", "InvoiceLineItemContact", "InvoiceLineItemCurrency", - "InvoiceLineItemEmployee", "InvoiceLineItemItem", "InvoiceLineItemProject", "InvoiceLineItemRequest", "InvoiceLineItemRequestAccount", "InvoiceLineItemRequestContact", "InvoiceLineItemRequestCurrency", - "InvoiceLineItemRequestEmployee", "InvoiceLineItemRequestItem", "InvoiceLineItemRequestProject", "InvoiceLineItemRequestTrackingCategoriesItem", "InvoiceLineItemRequestTrackingCategory", "InvoiceLineItemTrackingCategoriesItem", "InvoiceLineItemTrackingCategory", + "InvoiceLineItemsItem", "InvoicePaymentTerm", "InvoicePaymentsItem", "InvoicePurchaseOrdersItem", "InvoiceRequest", + "InvoiceRequestAccountingPeriod", "InvoiceRequestCompany", "InvoiceRequestContact", "InvoiceRequestCurrency", "InvoiceRequestEmployee", + "InvoiceRequestLineItemsItem", "InvoiceRequestPaymentTerm", "InvoiceRequestPaymentsItem", "InvoiceRequestPurchaseOrdersItem", @@ -1341,6 +1538,7 @@ def __dir__(): "InvoiceRequestTrackingCategoriesItem", "InvoiceRequestType", "InvoiceResponse", + "InvoiceSalesOrdersItem", "InvoiceStatus", "InvoiceStatusEnum", "InvoiceTrackingCategoriesItem", @@ -1352,6 +1550,29 @@ def __dir__(): "Item", "ItemCompany", "ItemFormatEnum", + "ItemFulfillment", + "ItemFulfillmentBatchItemRequest", + "ItemFulfillmentCompany", + "ItemFulfillmentCustomer", + "ItemFulfillmentLine", + "ItemFulfillmentLineItem", + "ItemFulfillmentLineRequest", + "ItemFulfillmentLineRequestItem", + "ItemFulfillmentLineRequestSalesOrderLine", + "ItemFulfillmentLineRequestTrackingCategoriesItem", + "ItemFulfillmentLineSalesOrderLine", + "ItemFulfillmentLineTrackingCategoriesItem", + "ItemFulfillmentLinesItem", + "ItemFulfillmentRequestRequest", + "ItemFulfillmentRequestRequestCompany", + "ItemFulfillmentRequestRequestCustomer", + "ItemFulfillmentRequestRequestLinesItem", + "ItemFulfillmentRequestRequestSalesOrder", + "ItemFulfillmentRequestRequestStatus", + "ItemFulfillmentResponse", + "ItemFulfillmentSalesOrder", + "ItemFulfillmentStatus", + "ItemFulfillmentStatusEnum", "ItemPurchaseAccount", "ItemPurchaseTaxRate", "ItemRequestRequest", @@ -1374,11 +1595,13 @@ def __dir__(): "JournalEntryAppliedPaymentsItem", "JournalEntryCompany", "JournalEntryCurrency", + "JournalEntryLinesItem", "JournalEntryPaymentsItem", "JournalEntryPostingStatus", "JournalEntryRequest", "JournalEntryRequestCompany", "JournalEntryRequestCurrency", + "JournalEntryRequestLinesItem", "JournalEntryRequestPaymentsItem", "JournalEntryRequestPostingStatus", "JournalEntryRequestTrackingCategoriesItem", @@ -1428,6 +1651,7 @@ def __dir__(): "PaginatedIncomeStatementList", "PaginatedInvoiceList", "PaginatedIssueList", + "PaginatedItemFulfillmentList", "PaginatedItemList", "PaginatedJournalEntryList", "PaginatedPaymentList", @@ -1436,26 +1660,22 @@ def __dir__(): "PaginatedProjectList", "PaginatedPurchaseOrderList", "PaginatedRemoteFieldClassList", + "PaginatedSalesOrderList", "PaginatedSyncStatusList", "PaginatedTaxRateList", "PaginatedTrackingCategoryList", "PaginatedTransactionList", "PaginatedVendorCreditList", "PatchedContactRequest", - "PatchedContactRequestAddressesItem", + "PatchedContactRequestStatus", "PatchedItemRequestRequest", "PatchedItemRequestRequestStatus", "PatchedItemRequestRequestType", "PatchedPaymentRequest", - "PatchedPaymentRequestAccount", - "PatchedPaymentRequestAccountingPeriod", - "PatchedPaymentRequestAppliedToLinesItem", - "PatchedPaymentRequestCompany", - "PatchedPaymentRequestContact", "PatchedPaymentRequestCurrency", - "PatchedPaymentRequestPaymentMethod", - "PatchedPaymentRequestTrackingCategoriesItem", "PatchedPaymentRequestType", + "PatchedVendorCreditRequest", + "PatchedVendorCreditRequestCurrency", "Payment", "PaymentAccount", "PaymentAccountingPeriod", @@ -1499,11 +1719,13 @@ def __dir__(): "PurchaseOrderLineItemRequest", "PurchaseOrderLineItemRequestCurrency", "PurchaseOrderLineItemRequestItem", + "PurchaseOrderLineItemsItem", "PurchaseOrderPaymentTerm", "PurchaseOrderRequest", "PurchaseOrderRequestCompany", "PurchaseOrderRequestCurrency", "PurchaseOrderRequestDeliveryAddress", + "PurchaseOrderRequestLineItemsItem", "PurchaseOrderRequestPaymentTerm", "PurchaseOrderRequestStatus", "PurchaseOrderRequestTrackingCategoriesItem", @@ -1513,6 +1735,7 @@ def __dir__(): "PurchaseOrderStatusEnum", "PurchaseOrderTrackingCategoriesItem", "PurchaseOrderVendor", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -1520,27 +1743,57 @@ def __dir__(): "RemoteFieldApiCoverage", "RemoteFieldApiResponse", "RemoteFieldClass", - "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", - "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "ReportItem", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", + "SalesOrder", + "SalesOrderBatchItemRequest", + "SalesOrderCompany", + "SalesOrderCurrency", + "SalesOrderCustomer", + "SalesOrderLine", + "SalesOrderLineCompany", + "SalesOrderLineItem", + "SalesOrderLineRequest", + "SalesOrderLineRequestCompany", + "SalesOrderLineRequestItem", + "SalesOrderLineRequestTaxRate", + "SalesOrderLineRequestTrackingCategoriesItem", + "SalesOrderLineTaxRate", + "SalesOrderLineTrackingCategoriesItem", + "SalesOrderLinesItem", + "SalesOrderPaymentTerm", + "SalesOrderRequestRequest", + "SalesOrderRequestRequestCompany", + "SalesOrderRequestRequestCurrency", + "SalesOrderRequestRequestCustomer", + "SalesOrderRequestRequestLinesItem", + "SalesOrderRequestRequestPaymentTerm", + "SalesOrderRequestRequestShippingAddress", + "SalesOrderRequestRequestStatus", + "SalesOrderRequestRequestTrackingCategoriesItem", + "SalesOrderResponse", + "SalesOrderShippingAddress", + "SalesOrderStatus", + "SalesOrderStatusEnum", + "SalesOrderTrackingCategoriesItem", "SelectiveSyncConfigurationsUsageEnum", "Status7D1Enum", "Status895Enum", "StatusFd5Enum", "SyncStatus", + "SyncStatusLastSyncResult", "SyncStatusStatus", "TaxComponent", "TaxComponentComponentType", "TaxRate", "TaxRateCompany", "TaxRateStatus", - "TaxRateTaxComponentsItem", "TrackingCategory", "TrackingCategoryCategoryType", "TrackingCategoryCompany", @@ -1548,12 +1801,14 @@ def __dir__(): "Transaction", "TransactionAccount", "TransactionAccountingPeriod", + "TransactionCompany", "TransactionContact", "TransactionCurrency", "TransactionCurrencyEnum", "TransactionLineItem", "TransactionLineItemCurrency", "TransactionLineItemItem", + "TransactionLineItemsItem", "TransactionTrackingCategoriesItem", "Type2BbEnum", "UnderlyingTransactionTypeEnum", @@ -1576,6 +1831,7 @@ def __dir__(): "VendorCreditLineRequestAccount", "VendorCreditLineRequestContact", "VendorCreditLineRequestProject", + "VendorCreditLinesItem", "VendorCreditRequest", "VendorCreditRequestAccountingPeriod", "VendorCreditRequestCompany", diff --git a/src/merge/resources/accounting/types/account.py b/src/merge/resources/accounting/types/account.py index 48026248..0c2f2c68 100644 --- a/src/merge/resources/accounting/types/account.py +++ b/src/merge/resources/accounting/types/account.py @@ -8,6 +8,7 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .account_account_type import AccountAccountType from .account_classification import AccountClassification +from .account_company import AccountCompany from .account_currency import AccountCurrency from .account_status import AccountStatus from .remote_data import RemoteData @@ -427,7 +428,7 @@ class Account(UncheckedBaseModel): ID of the parent account. """ - company: typing.Optional[str] = pydantic.Field(default=None) + company: typing.Optional[AccountCompany] = pydantic.Field(default=None) """ The company the account belongs to. """ diff --git a/src/merge/resources/accounting/types/patched_payment_request_company.py b/src/merge/resources/accounting/types/account_company.py similarity index 65% rename from src/merge/resources/accounting/types/patched_payment_request_company.py rename to src/merge/resources/accounting/types/account_company.py index 46869369..8366c915 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_company.py +++ b/src/merge/resources/accounting/types/account_company.py @@ -4,4 +4,4 @@ from .company_info import CompanyInfo -PatchedPaymentRequestCompany = typing.Union[str, CompanyInfo] +AccountCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/account_request.py b/src/merge/resources/accounting/types/account_request.py index 471e444e..8c333e61 100644 --- a/src/merge/resources/accounting/types/account_request.py +++ b/src/merge/resources/accounting/types/account_request.py @@ -7,6 +7,7 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .account_request_account_type import AccountRequestAccountType from .account_request_classification import AccountRequestClassification +from .account_request_company import AccountRequestCompany from .account_request_currency import AccountRequestCurrency from .account_request_status import AccountRequestStatus @@ -409,7 +410,7 @@ class AccountRequest(UncheckedBaseModel): ID of the parent account. """ - company: typing.Optional[str] = pydantic.Field(default=None) + company: typing.Optional[AccountRequestCompany] = pydantic.Field(default=None) """ The company the account belongs to. """ diff --git a/src/merge/resources/accounting/types/account_request_company.py b/src/merge/resources/accounting/types/account_request_company.py new file mode 100644 index 00000000..6c9d010e --- /dev/null +++ b/src/merge/resources/accounting/types/account_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +AccountRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/chat/types/async_passthrough_reciept.py b/src/merge/resources/accounting/types/async_bulk_create_response.py similarity index 70% rename from src/merge/resources/chat/types/async_passthrough_reciept.py rename to src/merge/resources/accounting/types/async_bulk_create_response.py index 21c95080..6d720304 100644 --- a/src/merge/resources/chat/types/async_passthrough_reciept.py +++ b/src/merge/resources/accounting/types/async_bulk_create_response.py @@ -7,8 +7,15 @@ from ....core.unchecked_base_model import UncheckedBaseModel -class AsyncPassthroughReciept(UncheckedBaseModel): - async_passthrough_receipt_id: str +class AsyncBulkCreateResponse(UncheckedBaseModel): + """ + Response serializer for POST bulk create - returns only batch_id + """ + + batch_id: str = pydantic.Field() + """ + The ID of the batch. + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/audit_log_event.py b/src/merge/resources/accounting/types/audit_log_event.py index ab69fd32..1bb2fdbf 100644 --- a/src/merge/resources/accounting/types/audit_log_event.py +++ b/src/merge/resources/accounting/types/audit_log_event.py @@ -32,6 +32,7 @@ class AuditLogEvent(UncheckedBaseModel): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ip_address: str diff --git a/src/merge/resources/accounting/types/bank_feed_account.py b/src/merge/resources/accounting/types/bank_feed_account.py index f901ca6a..be06f45e 100644 --- a/src/merge/resources/accounting/types/bank_feed_account.py +++ b/src/merge/resources/accounting/types/bank_feed_account.py @@ -9,6 +9,7 @@ from .bank_feed_account_account_type import BankFeedAccountAccountType from .bank_feed_account_currency import BankFeedAccountCurrency from .bank_feed_account_feed_status import BankFeedAccountFeedStatus +from .remote_data import RemoteData class BankFeedAccount(UncheckedBaseModel): @@ -406,7 +407,7 @@ class BankFeedAccount(UncheckedBaseModel): """ field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]]] = None + remote_data: typing.Optional[typing.List[RemoteData]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/batch_object.py b/src/merge/resources/accounting/types/batch_object.py new file mode 100644 index 00000000..1fdb14de --- /dev/null +++ b/src/merge/resources/accounting/types/batch_object.py @@ -0,0 +1,40 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .batch_object_item_response import BatchObjectItemResponse +from .batch_object_status import BatchObjectStatus + + +class BatchObject(UncheckedBaseModel): + """ + Individual batch object with status + """ + + item_id: str + status: BatchObjectStatus = pydantic.Field() + """ + Possible per-object statuses: + + * `PENDING` - This object has not been processed yet + * `SUCCESS` - This object was successfully POSTed + * `FAILURE` - This object was not successfully POSTed + + * `PENDING` - PENDING + * `SUCCESS` - SUCCESS + * `FAILURE` - FAILURE + """ + + response: typing.Optional[BatchObjectItemResponse] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/common_model_scopes_body_request.py b/src/merge/resources/accounting/types/batch_object_item_response.py similarity index 69% rename from src/merge/resources/chat/types/common_model_scopes_body_request.py rename to src/merge/resources/accounting/types/batch_object_item_response.py index a9fed25b..704203e1 100644 --- a/src/merge/resources/chat/types/common_model_scopes_body_request.py +++ b/src/merge/resources/accounting/types/batch_object_item_response.py @@ -5,13 +5,15 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .enabled_actions_enum import EnabledActionsEnum -class CommonModelScopesBodyRequest(UncheckedBaseModel): - model_id: str - enabled_actions: typing.List[EnabledActionsEnum] - disabled_fields: typing.List[str] +class BatchObjectItemResponse(UncheckedBaseModel): + """ + Response for individual items within a batch + """ + + merge_common_model_id: typing.Optional[str] = None + error_message: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/batch_object_status.py b/src/merge/resources/accounting/types/batch_object_status.py new file mode 100644 index 00000000..0a17f1ed --- /dev/null +++ b/src/merge/resources/accounting/types/batch_object_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .batch_object_status_enum import BatchObjectStatusEnum + +BatchObjectStatus = typing.Union[BatchObjectStatusEnum, str] diff --git a/src/merge/resources/accounting/types/batch_object_status_enum.py b/src/merge/resources/accounting/types/batch_object_status_enum.py new file mode 100644 index 00000000..57b5ca85 --- /dev/null +++ b/src/merge/resources/accounting/types/batch_object_status_enum.py @@ -0,0 +1,35 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BatchObjectStatusEnum(str, enum.Enum): + """ + * `PENDING` - This object has not been processed yet + * `SUCCESS` - This object was successfully POSTed + * `FAILURE` - This object was not successfully POSTed + + * `PENDING` - PENDING + * `SUCCESS` - SUCCESS + * `FAILURE` - FAILURE + """ + + PENDING = "PENDING" + SUCCESS = "SUCCESS" + FAILURE = "FAILURE" + + def visit( + self, + pending: typing.Callable[[], T_Result], + success: typing.Callable[[], T_Result], + failure: typing.Callable[[], T_Result], + ) -> T_Result: + if self is BatchObjectStatusEnum.PENDING: + return pending() + if self is BatchObjectStatusEnum.SUCCESS: + return success() + if self is BatchObjectStatusEnum.FAILURE: + return failure() diff --git a/src/merge/resources/accounting/types/batch_objects_response.py b/src/merge/resources/accounting/types/batch_objects_response.py new file mode 100644 index 00000000..af3277fd --- /dev/null +++ b/src/merge/resources/accounting/types/batch_objects_response.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .batch_object import BatchObject +from .batch_objects_response_status import BatchObjectsResponseStatus + + +class BatchObjectsResponse(UncheckedBaseModel): + """ + Response serializer for GET bulk/{batch_id} - returns batch status and objects + """ + + batch_id: str = pydantic.Field() + """ + The ID of the batch. + """ + + status: BatchObjectsResponseStatus = pydantic.Field() + """ + Possible overall statuses: + + * `ENQUEUED` - The request has been received and a task has been enqueued for processing + * `IN_PROGRESS` - The enqueued task is being processed + * `PARTIAL_SUCCESS` - The task has been processed, but not all objects were written successfully + * `SUCCESS` - The task has been processed, and all objects were written successfully + * `FAILED` - The task has been processed, but ran into an error while processing + * `RATE_LIMITED` - The request was received but ran into rate limits while processing. The rate limited objects are being retried. + + * `ENQUEUED` - ENQUEUED + * `IN_PROGRESS` - IN_PROGRESS + * `PARTIAL_SUCCESS` - PARTIAL_SUCCESS + * `SUCCESS` - SUCCESS + * `FAILED` - FAILED + * `RATE_LIMITED` - RATE_LIMITED + """ + + total_count: int = pydantic.Field() + """ + The total number of objects in the batch. + """ + + objects: typing.List[BatchObject] + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/batch_objects_response_status.py b/src/merge/resources/accounting/types/batch_objects_response_status.py new file mode 100644 index 00000000..f2fe5add --- /dev/null +++ b/src/merge/resources/accounting/types/batch_objects_response_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .batch_objects_response_status_enum import BatchObjectsResponseStatusEnum + +BatchObjectsResponseStatus = typing.Union[BatchObjectsResponseStatusEnum, str] diff --git a/src/merge/resources/accounting/types/batch_objects_response_status_enum.py b/src/merge/resources/accounting/types/batch_objects_response_status_enum.py new file mode 100644 index 00000000..b6b2cdad --- /dev/null +++ b/src/merge/resources/accounting/types/batch_objects_response_status_enum.py @@ -0,0 +1,53 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class BatchObjectsResponseStatusEnum(str, enum.Enum): + """ + * `ENQUEUED` - The request has been received and a task has been enqueued for processing + * `IN_PROGRESS` - The enqueued task is being processed + * `PARTIAL_SUCCESS` - The task has been processed, but not all objects were written successfully + * `SUCCESS` - The task has been processed, and all objects were written successfully + * `FAILED` - The task has been processed, but ran into an error while processing + * `RATE_LIMITED` - The request was received but ran into rate limits while processing. The rate limited objects are being retried. + + * `ENQUEUED` - ENQUEUED + * `IN_PROGRESS` - IN_PROGRESS + * `PARTIAL_SUCCESS` - PARTIAL_SUCCESS + * `SUCCESS` - SUCCESS + * `FAILED` - FAILED + * `RATE_LIMITED` - RATE_LIMITED + """ + + ENQUEUED = "ENQUEUED" + IN_PROGRESS = "IN_PROGRESS" + PARTIAL_SUCCESS = "PARTIAL_SUCCESS" + SUCCESS = "SUCCESS" + FAILED = "FAILED" + RATE_LIMITED = "RATE_LIMITED" + + def visit( + self, + enqueued: typing.Callable[[], T_Result], + in_progress: typing.Callable[[], T_Result], + partial_success: typing.Callable[[], T_Result], + success: typing.Callable[[], T_Result], + failed: typing.Callable[[], T_Result], + rate_limited: typing.Callable[[], T_Result], + ) -> T_Result: + if self is BatchObjectsResponseStatusEnum.ENQUEUED: + return enqueued() + if self is BatchObjectsResponseStatusEnum.IN_PROGRESS: + return in_progress() + if self is BatchObjectsResponseStatusEnum.PARTIAL_SUCCESS: + return partial_success() + if self is BatchObjectsResponseStatusEnum.SUCCESS: + return success() + if self is BatchObjectsResponseStatusEnum.FAILED: + return failed() + if self is BatchObjectsResponseStatusEnum.RATE_LIMITED: + return rate_limited() diff --git a/src/merge/resources/accounting/types/categories_enum.py b/src/merge/resources/accounting/types/categories_enum.py index 3f2dc5a9..da1e0dc0 100644 --- a/src/merge/resources/accounting/types/categories_enum.py +++ b/src/merge/resources/accounting/types/categories_enum.py @@ -15,6 +15,7 @@ class CategoriesEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -24,6 +25,7 @@ class CategoriesEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" + KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -34,6 +36,7 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], + knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoriesEnum.HRIS: return hris() @@ -49,3 +52,5 @@ def visit( return mktg() if self is CategoriesEnum.FILESTORAGE: return filestorage() + if self is CategoriesEnum.KNOWLEDGEBASE: + return knowledgebase() diff --git a/src/merge/resources/accounting/types/category_enum.py b/src/merge/resources/accounting/types/category_enum.py index d37e48f5..1d7cd2c0 100644 --- a/src/merge/resources/accounting/types/category_enum.py +++ b/src/merge/resources/accounting/types/category_enum.py @@ -15,6 +15,7 @@ class CategoryEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage + * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -24,6 +25,7 @@ class CategoryEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" + KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -34,6 +36,7 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], + knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoryEnum.HRIS: return hris() @@ -49,3 +52,5 @@ def visit( return mktg() if self is CategoryEnum.FILESTORAGE: return filestorage() + if self is CategoryEnum.KNOWLEDGEBASE: + return knowledgebase() diff --git a/src/merge/resources/accounting/types/company_info.py b/src/merge/resources/accounting/types/company_info.py index 1f8a46ef..d4ed2d01 100644 --- a/src/merge/resources/accounting/types/company_info.py +++ b/src/merge/resources/accounting/types/company_info.py @@ -6,9 +6,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .accounting_phone_number import AccountingPhoneNumber -from .address import Address +from .company_info_addresses_item import CompanyInfoAddressesItem from .company_info_currency import CompanyInfoCurrency +from .company_info_phone_numbers_item import CompanyInfoPhoneNumbersItem from .remote_data import RemoteData @@ -385,8 +385,8 @@ class CompanyInfo(UncheckedBaseModel): The company's urls. """ - addresses: typing.Optional[typing.List[Address]] = None - phone_numbers: typing.Optional[typing.List[AccountingPhoneNumber]] = None + addresses: typing.Optional[typing.List[CompanyInfoAddressesItem]] = None + phone_numbers: typing.Optional[typing.List[CompanyInfoPhoneNumbersItem]] = None remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/accounting/types/patched_contact_request_addresses_item.py b/src/merge/resources/accounting/types/company_info_addresses_item.py similarity index 63% rename from src/merge/resources/accounting/types/patched_contact_request_addresses_item.py rename to src/merge/resources/accounting/types/company_info_addresses_item.py index fb0884a9..7d2c83fc 100644 --- a/src/merge/resources/accounting/types/patched_contact_request_addresses_item.py +++ b/src/merge/resources/accounting/types/company_info_addresses_item.py @@ -4,4 +4,4 @@ from .address import Address -PatchedContactRequestAddressesItem = typing.Union[str, Address] +CompanyInfoAddressesItem = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/company_info_phone_numbers_item.py b/src/merge/resources/accounting/types/company_info_phone_numbers_item.py new file mode 100644 index 00000000..dea8be47 --- /dev/null +++ b/src/merge/resources/accounting/types/company_info_phone_numbers_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .accounting_phone_number import AccountingPhoneNumber + +CompanyInfoPhoneNumbersItem = typing.Union[str, AccountingPhoneNumber] diff --git a/src/merge/resources/chat/types/completed_account_initial_screen_enum.py b/src/merge/resources/accounting/types/completed_account_initial_screen_enum.py similarity index 100% rename from src/merge/resources/chat/types/completed_account_initial_screen_enum.py rename to src/merge/resources/accounting/types/completed_account_initial_screen_enum.py diff --git a/src/merge/resources/accounting/types/contact.py b/src/merge/resources/accounting/types/contact.py index f036ebc6..1c549242 100644 --- a/src/merge/resources/accounting/types/contact.py +++ b/src/merge/resources/accounting/types/contact.py @@ -6,8 +6,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .accounting_phone_number import AccountingPhoneNumber from .contact_addresses_item import ContactAddressesItem +from .contact_company import ContactCompany +from .contact_phone_numbers_item import ContactPhoneNumbersItem from .contact_status import ContactStatus from .remote_data import RemoteData from .remote_field import RemoteField @@ -84,17 +85,17 @@ class Contact(UncheckedBaseModel): When the third party's contact was updated. """ - company: typing.Optional[str] = pydantic.Field(default=None) + company: typing.Optional[ContactCompany] = pydantic.Field(default=None) """ The company the contact belongs to. """ - addresses: typing.Optional[typing.List[typing.Optional[ContactAddressesItem]]] = pydantic.Field(default=None) + addresses: typing.Optional[typing.List[ContactAddressesItem]] = pydantic.Field(default=None) """ `Address` object IDs for the given `Contacts` object. """ - phone_numbers: typing.Optional[typing.List[AccountingPhoneNumber]] = pydantic.Field(default=None) + phone_numbers: typing.Optional[typing.List[ContactPhoneNumbersItem]] = pydantic.Field(default=None) """ `AccountingPhoneNumber` object for the given `Contacts` object. """ diff --git a/src/merge/resources/accounting/types/contact_company.py b/src/merge/resources/accounting/types/contact_company.py new file mode 100644 index 00000000..0d747f52 --- /dev/null +++ b/src/merge/resources/accounting/types/contact_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ContactCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/contact_phone_numbers_item.py b/src/merge/resources/accounting/types/contact_phone_numbers_item.py new file mode 100644 index 00000000..24bfef25 --- /dev/null +++ b/src/merge/resources/accounting/types/contact_phone_numbers_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .accounting_phone_number import AccountingPhoneNumber + +ContactPhoneNumbersItem = typing.Union[str, AccountingPhoneNumber] diff --git a/src/merge/resources/accounting/types/contact_request.py b/src/merge/resources/accounting/types/contact_request.py index e324842c..e9daca97 100644 --- a/src/merge/resources/accounting/types/contact_request.py +++ b/src/merge/resources/accounting/types/contact_request.py @@ -5,8 +5,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .accounting_phone_number_request import AccountingPhoneNumberRequest from .contact_request_addresses_item import ContactRequestAddressesItem +from .contact_request_company import ContactRequestCompany +from .contact_request_phone_numbers_item import ContactRequestPhoneNumbersItem from .contact_request_status import ContactRequestStatus from .remote_field_request import RemoteFieldRequest @@ -61,17 +62,17 @@ class ContactRequest(UncheckedBaseModel): The currency the contact's transactions are in. """ - company: typing.Optional[str] = pydantic.Field(default=None) + company: typing.Optional[ContactRequestCompany] = pydantic.Field(default=None) """ The company the contact belongs to. """ - addresses: typing.Optional[typing.List[typing.Optional[ContactRequestAddressesItem]]] = pydantic.Field(default=None) + addresses: typing.Optional[typing.List[ContactRequestAddressesItem]] = pydantic.Field(default=None) """ `Address` object IDs for the given `Contacts` object. """ - phone_numbers: typing.Optional[typing.List[AccountingPhoneNumberRequest]] = pydantic.Field(default=None) + phone_numbers: typing.Optional[typing.List[ContactRequestPhoneNumbersItem]] = pydantic.Field(default=None) """ `AccountingPhoneNumber` object for the given `Contacts` object. """ diff --git a/src/merge/resources/accounting/types/contact_request_company.py b/src/merge/resources/accounting/types/contact_request_company.py new file mode 100644 index 00000000..d4aa2a75 --- /dev/null +++ b/src/merge/resources/accounting/types/contact_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ContactRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/contact_request_phone_numbers_item.py b/src/merge/resources/accounting/types/contact_request_phone_numbers_item.py new file mode 100644 index 00000000..c231471f --- /dev/null +++ b/src/merge/resources/accounting/types/contact_request_phone_numbers_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .accounting_phone_number import AccountingPhoneNumber + +ContactRequestPhoneNumbersItem = typing.Union[str, AccountingPhoneNumber] diff --git a/src/merge/resources/accounting/types/credit_note.py b/src/merge/resources/accounting/types/credit_note.py index 58be8048..1b9909a1 100644 --- a/src/merge/resources/accounting/types/credit_note.py +++ b/src/merge/resources/accounting/types/credit_note.py @@ -13,7 +13,7 @@ from .credit_note_company import CreditNoteCompany from .credit_note_contact import CreditNoteContact from .credit_note_currency import CreditNoteCurrency -from .credit_note_line_item import CreditNoteLineItem +from .credit_note_line_items_item import CreditNoteLineItemsItem from .credit_note_payments_item import CreditNotePaymentsItem from .credit_note_status import CreditNoteStatus from .credit_note_tracking_categories_item import CreditNoteTrackingCategoriesItem @@ -95,7 +95,7 @@ class CreditNote(UncheckedBaseModel): If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. """ - line_items: typing.Optional[typing.List[CreditNoteLineItem]] = None + line_items: typing.Optional[typing.List[CreditNoteLineItemsItem]] = None tracking_categories: typing.Optional[typing.List[typing.Optional[CreditNoteTrackingCategoriesItem]]] = None currency: typing.Optional[CreditNoteCurrency] = pydantic.Field(default=None) """ diff --git a/src/merge/resources/accounting/types/credit_note_line_item_request_project.py b/src/merge/resources/accounting/types/credit_note_line_item_request_project.py index 334b238e..d9727951 100644 --- a/src/merge/resources/accounting/types/credit_note_line_item_request_project.py +++ b/src/merge/resources/accounting/types/credit_note_line_item_request_project.py @@ -2,6 +2,6 @@ import typing -from .contact import Contact +from .project import Project -CreditNoteLineItemRequestProject = typing.Union[str, Contact] +CreditNoteLineItemRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/credit_note_line_items_item.py b/src/merge/resources/accounting/types/credit_note_line_items_item.py new file mode 100644 index 00000000..db62aa22 --- /dev/null +++ b/src/merge/resources/accounting/types/credit_note_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .credit_note_line_item import CreditNoteLineItem + +CreditNoteLineItemsItem = typing.Union[str, CreditNoteLineItem] diff --git a/src/merge/resources/accounting/types/credit_note_request_line_items_item.py b/src/merge/resources/accounting/types/credit_note_request_line_items_item.py index 6a4417b3..b81992a1 100644 --- a/src/merge/resources/accounting/types/credit_note_request_line_items_item.py +++ b/src/merge/resources/accounting/types/credit_note_request_line_items_item.py @@ -2,6 +2,6 @@ import typing -from .credit_note_line_item_request import CreditNoteLineItemRequest +from .credit_note_line_item import CreditNoteLineItem -CreditNoteRequestLineItemsItem = typing.Union[str, CreditNoteLineItemRequest] +CreditNoteRequestLineItemsItem = typing.Union[str, CreditNoteLineItem] diff --git a/src/merge/resources/accounting/types/data_passthrough_request.py b/src/merge/resources/accounting/types/data_passthrough_request.py index 67f3359e..c9f0a799 100644 --- a/src/merge/resources/accounting/types/data_passthrough_request.py +++ b/src/merge/resources/accounting/types/data_passthrough_request.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod +from .method_enum import MethodEnum from .multipart_form_field_request import MultipartFormFieldRequest from .request_format_enum import RequestFormatEnum @@ -20,7 +20,7 @@ class DataPassthroughRequest(UncheckedBaseModel): Create a `DataPassthrough` to get team hierarchies from your Rippling integration. """ - method: DataPassthroughRequestMethod + method: MethodEnum path: str = pydantic.Field() """ The path of the request in the third party's platform. diff --git a/src/merge/resources/accounting/types/data_passthrough_request_method.py b/src/merge/resources/accounting/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/accounting/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/accounting/types/error_validation_problem.py b/src/merge/resources/accounting/types/error_validation_problem.py index 04f82d05..eca8e811 100644 --- a/src/merge/resources/accounting/types/error_validation_problem.py +++ b/src/merge/resources/accounting/types/error_validation_problem.py @@ -13,6 +13,9 @@ class ErrorValidationProblem(UncheckedBaseModel): title: str detail: str problem_type: str + block_merge_link: typing.Optional[bool] = None + raw_error: typing.Optional[str] = None + error_code: typing.Optional[int] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/expense.py b/src/merge/resources/accounting/types/expense.py index a995193a..b75f9af3 100644 --- a/src/merge/resources/accounting/types/expense.py +++ b/src/merge/resources/accounting/types/expense.py @@ -24,7 +24,7 @@ class Expense(UncheckedBaseModel): ### Description The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. - The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. + The `Expense` object is also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. ### Usage Example Fetch from the `GET Expense` endpoint and view a company's expense. diff --git a/src/merge/resources/accounting/types/expense_batch_item_request.py b/src/merge/resources/accounting/types/expense_batch_item_request.py new file mode 100644 index 00000000..24e4fa02 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_batch_item_request.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .expense_request import ExpenseRequest + + +class ExpenseBatchItemRequest(UncheckedBaseModel): + item_id: str = pydantic.Field() + """ + The third-party item ID for this model in the bulk create request + """ + + payload: ExpenseRequest + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/expense_line_request_project.py b/src/merge/resources/accounting/types/expense_line_request_project.py index a4a23629..3b00a37e 100644 --- a/src/merge/resources/accounting/types/expense_line_request_project.py +++ b/src/merge/resources/accounting/types/expense_line_request_project.py @@ -2,6 +2,6 @@ import typing -from .contact import Contact +from .project import Project -ExpenseLineRequestProject = typing.Union[str, Contact] +ExpenseLineRequestProject = typing.Union[str, Project] diff --git a/src/merge/resources/accounting/types/expense_report.py b/src/merge/resources/accounting/types/expense_report.py index 9cd03e8d..696ff2d3 100644 --- a/src/merge/resources/accounting/types/expense_report.py +++ b/src/merge/resources/accounting/types/expense_report.py @@ -6,12 +6,14 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .expense_report_accounting_period import ExpenseReportAccountingPeriod from .expense_report_company import ExpenseReportCompany -from .expense_report_line import ExpenseReportLine +from .expense_report_currency import ExpenseReportCurrency +from .expense_report_employee import ExpenseReportEmployee +from .expense_report_lines_item import ExpenseReportLinesItem from .expense_report_status import ExpenseReportStatus from .remote_data import RemoteData from .remote_field import RemoteField -from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseReport(UncheckedBaseModel): @@ -51,7 +53,7 @@ class ExpenseReport(UncheckedBaseModel): Human-readable expense report identifier. """ - employee: typing.Optional[str] = pydantic.Field(default=None) + employee: typing.Optional[ExpenseReportEmployee] = pydantic.Field(default=None) """ Identifier for the employee who submitted or is associated with the expense report """ @@ -71,8 +73,8 @@ class ExpenseReport(UncheckedBaseModel): Total amount of the expense report """ - lines: typing.Optional[typing.List[ExpenseReportLine]] = None - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) + lines: typing.Optional[typing.List[ExpenseReportLinesItem]] = None + currency: typing.Optional[ExpenseReportCurrency] = pydantic.Field(default=None) """ Currency code for the expense report @@ -389,7 +391,7 @@ class ExpenseReport(UncheckedBaseModel): A brief description or purpose for the expense report """ - accounting_period: typing.Optional[str] = pydantic.Field(default=None) + accounting_period: typing.Optional[ExpenseReportAccountingPeriod] = pydantic.Field(default=None) """ The accounting period the report was posted in """ diff --git a/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py b/src/merge/resources/accounting/types/expense_report_accounting_period.py similarity index 62% rename from src/merge/resources/accounting/types/patched_payment_request_accounting_period.py rename to src/merge/resources/accounting/types/expense_report_accounting_period.py index bfd131d4..d72ba214 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_accounting_period.py +++ b/src/merge/resources/accounting/types/expense_report_accounting_period.py @@ -4,4 +4,4 @@ from .accounting_period import AccountingPeriod -PatchedPaymentRequestAccountingPeriod = typing.Union[str, AccountingPeriod] +ExpenseReportAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/expense_report_currency.py b/src/merge/resources/accounting/types/expense_report_currency.py new file mode 100644 index 00000000..a8867d20 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +ExpenseReportCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/invoice_line_item_employee.py b/src/merge/resources/accounting/types/expense_report_employee.py similarity index 67% rename from src/merge/resources/accounting/types/invoice_line_item_employee.py rename to src/merge/resources/accounting/types/expense_report_employee.py index 7eca0667..5ef3f28c 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_employee.py +++ b/src/merge/resources/accounting/types/expense_report_employee.py @@ -4,4 +4,4 @@ from .employee import Employee -InvoiceLineItemEmployee = typing.Union[str, Employee] +ExpenseReportEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/expense_report_line.py b/src/merge/resources/accounting/types/expense_report_line.py index a5b01dfc..2223b994 100644 --- a/src/merge/resources/accounting/types/expense_report_line.py +++ b/src/merge/resources/accounting/types/expense_report_line.py @@ -9,11 +9,11 @@ from .expense_report_line_account import ExpenseReportLineAccount from .expense_report_line_company import ExpenseReportLineCompany from .expense_report_line_contact import ExpenseReportLineContact +from .expense_report_line_currency import ExpenseReportLineCurrency from .expense_report_line_employee import ExpenseReportLineEmployee from .expense_report_line_project import ExpenseReportLineProject from .expense_report_line_tax_rate import ExpenseReportLineTaxRate from .remote_field import RemoteField -from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseReportLine(UncheckedBaseModel): @@ -59,7 +59,7 @@ class ExpenseReportLine(UncheckedBaseModel): The amount of the expense for the line item. """ - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) + currency: typing.Optional[ExpenseReportLineCurrency] = pydantic.Field(default=None) """ Currency of the expense line (if different from the report currency). diff --git a/src/merge/resources/accounting/types/expense_report_line_currency.py b/src/merge/resources/accounting/types/expense_report_line_currency.py new file mode 100644 index 00000000..52610932 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_line_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +ExpenseReportLineCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_report_line_request.py b/src/merge/resources/accounting/types/expense_report_line_request.py index cc0cf8ad..15817037 100644 --- a/src/merge/resources/accounting/types/expense_report_line_request.py +++ b/src/merge/resources/accounting/types/expense_report_line_request.py @@ -9,11 +9,11 @@ from .expense_report_line_request_account import ExpenseReportLineRequestAccount from .expense_report_line_request_company import ExpenseReportLineRequestCompany from .expense_report_line_request_contact import ExpenseReportLineRequestContact +from .expense_report_line_request_currency import ExpenseReportLineRequestCurrency from .expense_report_line_request_employee import ExpenseReportLineRequestEmployee from .expense_report_line_request_project import ExpenseReportLineRequestProject from .expense_report_line_request_tax_rate import ExpenseReportLineRequestTaxRate from .remote_field_request import RemoteFieldRequest -from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseReportLineRequest(UncheckedBaseModel): @@ -48,7 +48,7 @@ class ExpenseReportLineRequest(UncheckedBaseModel): The amount of the expense for the line item. """ - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) + currency: typing.Optional[ExpenseReportLineRequestCurrency] = pydantic.Field(default=None) """ Currency of the expense line (if different from the report currency). diff --git a/src/merge/resources/accounting/types/expense_report_line_request_currency.py b/src/merge/resources/accounting/types/expense_report_line_request_currency.py new file mode 100644 index 00000000..46c67060 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_line_request_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +ExpenseReportLineRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_report_lines_item.py b/src/merge/resources/accounting/types/expense_report_lines_item.py new file mode 100644 index 00000000..979aae79 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .expense_report_line import ExpenseReportLine + +ExpenseReportLinesItem = typing.Union[str, ExpenseReportLine] diff --git a/src/merge/resources/accounting/types/expense_report_request.py b/src/merge/resources/accounting/types/expense_report_request.py index 00243adf..4eda8fa3 100644 --- a/src/merge/resources/accounting/types/expense_report_request.py +++ b/src/merge/resources/accounting/types/expense_report_request.py @@ -8,10 +8,10 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .expense_report_request_accounting_period import ExpenseReportRequestAccountingPeriod from .expense_report_request_company import ExpenseReportRequestCompany +from .expense_report_request_currency import ExpenseReportRequestCurrency from .expense_report_request_employee import ExpenseReportRequestEmployee -from .expense_report_status_enum import ExpenseReportStatusEnum +from .expense_report_request_status import ExpenseReportRequestStatus from .remote_field_request import RemoteFieldRequest -from .transaction_currency_enum import TransactionCurrencyEnum class ExpenseReportRequest(UncheckedBaseModel): @@ -40,7 +40,7 @@ class ExpenseReportRequest(UncheckedBaseModel): Identifier for the employee who submitted or is associated with the expense report """ - status: typing.Optional[ExpenseReportStatusEnum] = pydantic.Field(default=None) + status: typing.Optional[ExpenseReportRequestStatus] = pydantic.Field(default=None) """ Overall status of the expense report. One of DRAFT, SUBMITTED, APPROVED, REJECTED @@ -55,7 +55,7 @@ class ExpenseReportRequest(UncheckedBaseModel): Total amount of the expense report """ - currency: typing.Optional[TransactionCurrencyEnum] = pydantic.Field(default=None) + currency: typing.Optional[ExpenseReportRequestCurrency] = pydantic.Field(default=None) """ Currency code for the expense report diff --git a/src/merge/resources/accounting/types/expense_report_request_currency.py b/src/merge/resources/accounting/types/expense_report_request_currency.py new file mode 100644 index 00000000..c7f21989 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_request_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +ExpenseReportRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/expense_report_request_status.py b/src/merge/resources/accounting/types/expense_report_request_status.py new file mode 100644 index 00000000..6fde38b5 --- /dev/null +++ b/src/merge/resources/accounting/types/expense_report_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .expense_report_status_enum import ExpenseReportStatusEnum + +ExpenseReportRequestStatus = typing.Union[ExpenseReportStatusEnum, str] diff --git a/src/merge/resources/accounting/types/expense_request.py b/src/merge/resources/accounting/types/expense_request.py index b7385ad5..f6942f83 100644 --- a/src/merge/resources/accounting/types/expense_request.py +++ b/src/merge/resources/accounting/types/expense_request.py @@ -23,7 +23,7 @@ class ExpenseRequest(UncheckedBaseModel): ### Description The `Expense` object is used to represent a direct purchase by a business, typically made with a check, credit card, or cash. Each `Expense` object is dedicated to a grouping of expenses, with each expense recorded in the lines object. - The `Expense` object is used also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. + The `Expense` object is also used to represent refunds to direct purchases. Refunds can be distinguished from purchases by the amount sign of the records. Expense objects with a negative amount are purchases and `Expense` objects with a positive amount are refunds to those purchases. ### Usage Example Fetch from the `GET Expense` endpoint and view a company's expense. diff --git a/src/merge/resources/accounting/types/external_target_field_api_response.py b/src/merge/resources/accounting/types/external_target_field_api_response.py index 6e7dbf94..ae4cf405 100644 --- a/src/merge/resources/accounting/types/external_target_field_api_response.py +++ b/src/merge/resources/accounting/types/external_target_field_api_response.py @@ -31,6 +31,10 @@ class ExternalTargetFieldApiResponse(UncheckedBaseModel): purchase_order: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="PurchaseOrder", default=None ) + sales_order: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="SalesOrder", default=None) + item_fulfillment: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( + alias="ItemFulfillment", default=None + ) expense_report: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( alias="ExpenseReport", default=None ) diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance.py b/src/merge/resources/accounting/types/field_mapping_api_instance.py index a5815313..5bac0110 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance.py @@ -14,6 +14,8 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None + jmes_path: typing.Optional[str] = None + advanced_mapping_expression: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/field_mapping_api_instance_response.py b/src/merge/resources/accounting/types/field_mapping_api_instance_response.py index dceac32c..dea44749 100644 --- a/src/merge/resources/accounting/types/field_mapping_api_instance_response.py +++ b/src/merge/resources/accounting/types/field_mapping_api_instance_response.py @@ -33,6 +33,12 @@ class FieldMappingApiInstanceResponse(UncheckedBaseModel): purchase_order: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="PurchaseOrder", default=None ) + sales_order: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( + alias="SalesOrder", default=None + ) + item_fulfillment: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( + alias="ItemFulfillment", default=None + ) expense_report: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( alias="ExpenseReport", default=None ) diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line.py b/src/merge/resources/accounting/types/general_ledger_transaction_line.py index 41f26593..2ba4c7d0 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line.py +++ b/src/merge/resources/accounting/types/general_ledger_transaction_line.py @@ -13,8 +13,8 @@ from .general_ledger_transaction_line_employee import GeneralLedgerTransactionLineEmployee from .general_ledger_transaction_line_item import GeneralLedgerTransactionLineItem from .general_ledger_transaction_line_project import GeneralLedgerTransactionLineProject -from .general_ledger_transaction_line_tracking_categories_item import GeneralLedgerTransactionLineTrackingCategoriesItem from .general_ledger_transaction_line_transaction_currency import GeneralLedgerTransactionLineTransactionCurrency +from .tracking_category import TrackingCategory class GeneralLedgerTransactionLine(UncheckedBaseModel): @@ -688,7 +688,7 @@ class GeneralLedgerTransactionLine(UncheckedBaseModel): A description of the line item. """ - tracking_categories: typing.Optional[typing.List[GeneralLedgerTransactionLineTrackingCategoriesItem]] = None + tracking_categories: typing.Optional[typing.List[TrackingCategory]] = None debit_amount: str credit_amount: str item: typing.Optional[GeneralLedgerTransactionLineItem] = None diff --git a/src/merge/resources/accounting/types/invoice.py b/src/merge/resources/accounting/types/invoice.py index 628e1b78..85d5dedf 100644 --- a/src/merge/resources/accounting/types/invoice.py +++ b/src/merge/resources/accounting/types/invoice.py @@ -14,10 +14,11 @@ from .invoice_contact import InvoiceContact from .invoice_currency import InvoiceCurrency from .invoice_employee import InvoiceEmployee -from .invoice_line_item import InvoiceLineItem +from .invoice_line_items_item import InvoiceLineItemsItem from .invoice_payment_term import InvoicePaymentTerm from .invoice_payments_item import InvoicePaymentsItem from .invoice_purchase_orders_item import InvoicePurchaseOrdersItem +from .invoice_sales_orders_item import InvoiceSalesOrdersItem from .invoice_status import InvoiceStatus from .invoice_tracking_categories_item import InvoiceTrackingCategoriesItem from .invoice_type import InvoiceType @@ -473,6 +474,7 @@ class Invoice(UncheckedBaseModel): """ purchase_orders: typing.Optional[typing.List[typing.Optional[InvoicePurchaseOrdersItem]]] = None + sales_orders: typing.Optional[typing.List[typing.Optional[InvoiceSalesOrdersItem]]] = None payments: typing.Optional[typing.List[typing.Optional[InvoicePaymentsItem]]] = pydantic.Field(default=None) """ Array of `Payment` object IDs. @@ -485,7 +487,7 @@ class Invoice(UncheckedBaseModel): A list of the Payment Applied to Lines common models related to a given Invoice, Credit Note, or Journal Entry. """ - line_items: typing.Optional[typing.List[InvoiceLineItem]] = None + line_items: typing.Optional[typing.List[InvoiceLineItemsItem]] = None applied_credit_notes: typing.Optional[typing.List["InvoiceAppliedCreditNotesItem"]] = pydantic.Field(default=None) """ `CreditNoteApplyLines` applied to the Invoice. diff --git a/src/merge/resources/accounting/types/invoice_batch_item_request.py b/src/merge/resources/accounting/types/invoice_batch_item_request.py new file mode 100644 index 00000000..7d6264e9 --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_batch_item_request.py @@ -0,0 +1,26 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .invoice_request import InvoiceRequest + + +class InvoiceBatchItemRequest(UncheckedBaseModel): + item_id: str = pydantic.Field() + """ + The third-party item ID for this model in the bulk create request + """ + + payload: InvoiceRequest + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/invoice_line_item.py b/src/merge/resources/accounting/types/invoice_line_item.py index 2ef8d245..04ac2429 100644 --- a/src/merge/resources/accounting/types/invoice_line_item.py +++ b/src/merge/resources/accounting/types/invoice_line_item.py @@ -9,7 +9,6 @@ from .invoice_line_item_account import InvoiceLineItemAccount from .invoice_line_item_contact import InvoiceLineItemContact from .invoice_line_item_currency import InvoiceLineItemCurrency -from .invoice_line_item_employee import InvoiceLineItemEmployee from .invoice_line_item_item import InvoiceLineItemItem from .invoice_line_item_project import InvoiceLineItemProject from .invoice_line_item_tracking_categories_item import InvoiceLineItemTrackingCategoriesItem @@ -63,7 +62,7 @@ class InvoiceLineItem(UncheckedBaseModel): The line item's total amount. """ - employee: typing.Optional[InvoiceLineItemEmployee] = pydantic.Field(default=None) + employee: typing.Optional[str] = pydantic.Field(default=None) """ The employee this overall transaction relates to. """ @@ -416,6 +415,11 @@ class InvoiceLineItem(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ + is_billable: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates if the line item can be charged to the client/customer. + """ + field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None diff --git a/src/merge/resources/accounting/types/invoice_line_item_request.py b/src/merge/resources/accounting/types/invoice_line_item_request.py index aeea1507..530b6d7d 100644 --- a/src/merge/resources/accounting/types/invoice_line_item_request.py +++ b/src/merge/resources/accounting/types/invoice_line_item_request.py @@ -8,7 +8,6 @@ from .invoice_line_item_request_account import InvoiceLineItemRequestAccount from .invoice_line_item_request_contact import InvoiceLineItemRequestContact from .invoice_line_item_request_currency import InvoiceLineItemRequestCurrency -from .invoice_line_item_request_employee import InvoiceLineItemRequestEmployee from .invoice_line_item_request_item import InvoiceLineItemRequestItem from .invoice_line_item_request_project import InvoiceLineItemRequestProject from .invoice_line_item_request_tracking_categories_item import InvoiceLineItemRequestTrackingCategoriesItem @@ -51,7 +50,7 @@ class InvoiceLineItemRequest(UncheckedBaseModel): The line item's total amount. """ - employee: typing.Optional[InvoiceLineItemRequestEmployee] = pydantic.Field(default=None) + employee: typing.Optional[str] = pydantic.Field(default=None) """ The employee this overall transaction relates to. """ @@ -399,6 +398,11 @@ class InvoiceLineItemRequest(UncheckedBaseModel): The company the invoice belongs to. """ + is_billable: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates if the line item can be charged to the client/customer. + """ + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None diff --git a/src/merge/resources/accounting/types/invoice_line_item_request_employee.py b/src/merge/resources/accounting/types/invoice_line_item_request_employee.py deleted file mode 100644 index 1a6c561e..00000000 --- a/src/merge/resources/accounting/types/invoice_line_item_request_employee.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .employee import Employee - -InvoiceLineItemRequestEmployee = typing.Union[str, Employee] diff --git a/src/merge/resources/accounting/types/invoice_line_items_item.py b/src/merge/resources/accounting/types/invoice_line_items_item.py new file mode 100644 index 00000000..5d65d34c --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .invoice_line_item import InvoiceLineItem + +InvoiceLineItemsItem = typing.Union[str, InvoiceLineItem] diff --git a/src/merge/resources/accounting/types/invoice_request.py b/src/merge/resources/accounting/types/invoice_request.py index 5bfa2e9f..62b7425c 100644 --- a/src/merge/resources/accounting/types/invoice_request.py +++ b/src/merge/resources/accounting/types/invoice_request.py @@ -6,11 +6,12 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .invoice_line_item_request import InvoiceLineItemRequest +from .invoice_request_accounting_period import InvoiceRequestAccountingPeriod from .invoice_request_company import InvoiceRequestCompany from .invoice_request_contact import InvoiceRequestContact from .invoice_request_currency import InvoiceRequestCurrency from .invoice_request_employee import InvoiceRequestEmployee +from .invoice_request_line_items_item import InvoiceRequestLineItemsItem from .invoice_request_payment_term import InvoiceRequestPaymentTerm from .invoice_request_payments_item import InvoiceRequestPaymentsItem from .invoice_request_purchase_orders_item import InvoiceRequestPurchaseOrdersItem @@ -451,7 +452,12 @@ class InvoiceRequest(UncheckedBaseModel): """ tracking_categories: typing.Optional[typing.List[typing.Optional[InvoiceRequestTrackingCategoriesItem]]] = None - line_items: typing.Optional[typing.List[InvoiceLineItemRequest]] = None + accounting_period: typing.Optional[InvoiceRequestAccountingPeriod] = pydantic.Field(default=None) + """ + The accounting period that the Invoice was generated in. + """ + + line_items: typing.Optional[typing.List[InvoiceRequestLineItemsItem]] = None purchase_orders: typing.Optional[typing.List[typing.Optional[InvoiceRequestPurchaseOrdersItem]]] = None integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None diff --git a/src/merge/resources/accounting/types/invoice_request_accounting_period.py b/src/merge/resources/accounting/types/invoice_request_accounting_period.py new file mode 100644 index 00000000..54be650e --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_request_accounting_period.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .accounting_period import AccountingPeriod + +InvoiceRequestAccountingPeriod = typing.Union[str, AccountingPeriod] diff --git a/src/merge/resources/accounting/types/invoice_request_line_items_item.py b/src/merge/resources/accounting/types/invoice_request_line_items_item.py new file mode 100644 index 00000000..e01b4e33 --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_request_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .invoice_line_item_request import InvoiceLineItemRequest + +InvoiceRequestLineItemsItem = typing.Union[str, InvoiceLineItemRequest] diff --git a/src/merge/resources/accounting/types/invoice_sales_orders_item.py b/src/merge/resources/accounting/types/invoice_sales_orders_item.py new file mode 100644 index 00000000..eb301439 --- /dev/null +++ b/src/merge/resources/accounting/types/invoice_sales_orders_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order import SalesOrder + +InvoiceSalesOrdersItem = typing.Union[str, SalesOrder] diff --git a/src/merge/resources/accounting/types/item_fulfillment.py b/src/merge/resources/accounting/types/item_fulfillment.py new file mode 100644 index 00000000..16a1c7e4 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment.py @@ -0,0 +1,106 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_fulfillment_company import ItemFulfillmentCompany +from .item_fulfillment_customer import ItemFulfillmentCustomer +from .item_fulfillment_lines_item import ItemFulfillmentLinesItem +from .item_fulfillment_sales_order import ItemFulfillmentSalesOrder +from .item_fulfillment_status import ItemFulfillmentStatus +from .remote_data import RemoteData +from .remote_field import RemoteField + + +class ItemFulfillment(UncheckedBaseModel): + """ + # The ItemFulfillment Object + ### Description + The `ItemFulfillment` object represents the recorded shipment or delivery of some or all items on an associated sales order. + + ### Usage Example + Fetch from the `LIST ItemFulfillments` endpoint and view a company's item fulfillments. + """ + + id: typing.Optional[str] = None + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was created by Merge. + """ + + modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was modified by Merge. + """ + + sales_order: typing.Optional[ItemFulfillmentSalesOrder] = pydantic.Field(default=None) + """ + The ID of the sales order that the item fulfillment originated from. + """ + + fulfillment_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The date the fulfillment was created. + """ + + customer: typing.Optional[ItemFulfillmentCustomer] = pydantic.Field(default=None) + """ + The customer associated with the item fulfillment. + """ + + company: typing.Optional[ItemFulfillmentCompany] = pydantic.Field(default=None) + """ + The subsidiary associated with the fulfillment. + """ + + status: typing.Optional[ItemFulfillmentStatus] = pydantic.Field(default=None) + """ + The status of the item fulfillment. + + * `DRAFT` - DRAFT + * `IN_PROGRESS` - IN_PROGRESS + * `SHIPPED` - SHIPPED + * `CANCELLED` - CANCELLED + """ + + memo: typing.Optional[str] = pydantic.Field(default=None) + """ + Comment attached to the fulfillment. + """ + + lines: typing.Optional[typing.List[ItemFulfillmentLinesItem]] = None + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's item fulfillment was created. + """ + + remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's item fulfillment was updated. + """ + + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + """ + + field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_data: typing.Optional[typing.List[RemoteData]] = None + remote_fields: typing.Optional[typing.List[RemoteField]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/common_model_scope_api.py b/src/merge/resources/accounting/types/item_fulfillment_batch_item_request.py similarity index 64% rename from src/merge/resources/chat/types/common_model_scope_api.py rename to src/merge/resources/accounting/types/item_fulfillment_batch_item_request.py index 5484808d..6a37ce78 100644 --- a/src/merge/resources/chat/types/common_model_scope_api.py +++ b/src/merge/resources/accounting/types/item_fulfillment_batch_item_request.py @@ -5,15 +5,17 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer +from .item_fulfillment_request_request import ItemFulfillmentRequestRequest -class CommonModelScopeApi(UncheckedBaseModel): - common_models: typing.List[IndividualCommonModelScopeDeserializer] = pydantic.Field() +class ItemFulfillmentBatchItemRequest(UncheckedBaseModel): + item_id: str = pydantic.Field() """ - The common models you want to update the scopes for + The third-party item ID for this model in the bulk create request """ + payload: ItemFulfillmentRequestRequest + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/merge/resources/accounting/types/item_fulfillment_company.py b/src/merge/resources/accounting/types/item_fulfillment_company.py new file mode 100644 index 00000000..5a02d291 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ItemFulfillmentCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/patched_payment_request_contact.py b/src/merge/resources/accounting/types/item_fulfillment_customer.py similarity index 65% rename from src/merge/resources/accounting/types/patched_payment_request_contact.py rename to src/merge/resources/accounting/types/item_fulfillment_customer.py index 1478828a..8e57f0c2 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_contact.py +++ b/src/merge/resources/accounting/types/item_fulfillment_customer.py @@ -4,4 +4,4 @@ from .contact import Contact -PatchedPaymentRequestContact = typing.Union[str, Contact] +ItemFulfillmentCustomer = typing.Union[str, Contact] diff --git a/src/merge/resources/chat/types/user.py b/src/merge/resources/accounting/types/item_fulfillment_line.py similarity index 56% rename from src/merge/resources/chat/types/user.py rename to src/merge/resources/accounting/types/item_fulfillment_line.py index 28eb5802..aaa6d231 100644 --- a/src/merge/resources/chat/types/user.py +++ b/src/merge/resources/accounting/types/item_fulfillment_line.py @@ -6,17 +6,20 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData +from .item_fulfillment_line_item import ItemFulfillmentLineItem +from .item_fulfillment_line_sales_order_line import ItemFulfillmentLineSalesOrderLine +from .item_fulfillment_line_tracking_categories_item import ItemFulfillmentLineTrackingCategoriesItem +from .remote_field import RemoteField -class User(UncheckedBaseModel): +class ItemFulfillmentLine(UncheckedBaseModel): """ - # The User Object + # The ItemFulfillmentLine Object ### Description - The `User` object is used to represent a user within the Chat account. + The `ItemFulfillmentLine` object represents the specific quantity of a particular product or service that has actually been shipped or delivered against its corresponding order line. ### Usage Example - Fetch from the `GET /api/chat/v1/users` endpoint and view their users. + Fetch from the `GET ItemFulfillment` endpoint and view a company's item fulfillment lines. """ id: typing.Optional[str] = None @@ -35,45 +38,28 @@ class User(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - username: typing.Optional[str] = pydantic.Field(default=None) + item: typing.Optional[ItemFulfillmentLineItem] = None + sales_order_line: typing.Optional[ItemFulfillmentLineSalesOrderLine] = None + quantity: typing.Optional[str] = pydantic.Field(default=None) """ - Username or handle + The amount of item being delivered. """ - display_name: typing.Optional[str] = pydantic.Field(default=None) + tracking_categories: typing.Optional[typing.List[typing.Optional[ItemFulfillmentLineTrackingCategoriesItem]]] = ( + pydantic.Field(default=None) + ) """ - Full name or display name - """ - - first_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's first name - """ - - last_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's last name - """ - - is_bot: typing.Optional[bool] = pydantic.Field(default=None) - """ - Returns true if the user is a bot - """ - - groups: typing.Optional[typing.List[typing.Optional[str]]] = None - avatar: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's avatar image + The dimensions or classification tags. """ remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ - When the third party's user was created. + When the third party's item fulfillment line item was created. """ remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ - When the third party's user was updated. + When the third party's item fulfillment line item was updated. """ remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) @@ -81,8 +67,7 @@ class User(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None + remote_fields: typing.Optional[typing.List[RemoteField]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/knowledgebase/types/article_last_edited_by.py b/src/merge/resources/accounting/types/item_fulfillment_line_item.py similarity index 52% rename from src/merge/resources/knowledgebase/types/article_last_edited_by.py rename to src/merge/resources/accounting/types/item_fulfillment_line_item.py index 9d158df5..5cb2145f 100644 --- a/src/merge/resources/knowledgebase/types/article_last_edited_by.py +++ b/src/merge/resources/accounting/types/item_fulfillment_line_item.py @@ -2,6 +2,6 @@ import typing -from .user import User +from .item import Item -ArticleLastEditedBy = typing.Union[str, User] +ItemFulfillmentLineItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/item_fulfillment_line_request.py b/src/merge/resources/accounting/types/item_fulfillment_line_request.py new file mode 100644 index 00000000..a87d536f --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_line_request.py @@ -0,0 +1,65 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_fulfillment_line_request_item import ItemFulfillmentLineRequestItem +from .item_fulfillment_line_request_sales_order_line import ItemFulfillmentLineRequestSalesOrderLine +from .item_fulfillment_line_request_tracking_categories_item import ItemFulfillmentLineRequestTrackingCategoriesItem +from .remote_field_request import RemoteFieldRequest + + +class ItemFulfillmentLineRequest(UncheckedBaseModel): + """ + # The ItemFulfillmentLine Object + ### Description + The `ItemFulfillmentLine` object represents the specific quantity of a particular product or service that has actually been shipped or delivered against its corresponding order line. + + ### Usage Example + Fetch from the `GET ItemFulfillment` endpoint and view a company's item fulfillment lines. + """ + + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + item: typing.Optional[ItemFulfillmentLineRequestItem] = None + sales_order_line: typing.Optional[ItemFulfillmentLineRequestSalesOrderLine] = None + quantity: typing.Optional[str] = pydantic.Field(default=None) + """ + The amount of item being delivered. + """ + + tracking_categories: typing.Optional[ + typing.List[typing.Optional[ItemFulfillmentLineRequestTrackingCategoriesItem]] + ] = pydantic.Field(default=None) + """ + The dimensions or classification tags. + """ + + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's item fulfillment line item was created. + """ + + remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's item fulfillment line item was updated. + """ + + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/conversation_type.py b/src/merge/resources/accounting/types/item_fulfillment_line_request_item.py similarity index 50% rename from src/merge/resources/chat/types/conversation_type.py rename to src/merge/resources/accounting/types/item_fulfillment_line_request_item.py index c54e60bf..9b890d7f 100644 --- a/src/merge/resources/chat/types/conversation_type.py +++ b/src/merge/resources/accounting/types/item_fulfillment_line_request_item.py @@ -2,6 +2,6 @@ import typing -from .type_enum import TypeEnum +from .item import Item -ConversationType = typing.Union[TypeEnum, str] +ItemFulfillmentLineRequestItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/item_fulfillment_line_request_sales_order_line.py b/src/merge/resources/accounting/types/item_fulfillment_line_request_sales_order_line.py new file mode 100644 index 00000000..e0f83e59 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_line_request_sales_order_line.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_line import SalesOrderLine + +ItemFulfillmentLineRequestSalesOrderLine = typing.Union[str, SalesOrderLine] diff --git a/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py b/src/merge/resources/accounting/types/item_fulfillment_line_request_tracking_categories_item.py similarity index 59% rename from src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py rename to src/merge/resources/accounting/types/item_fulfillment_line_request_tracking_categories_item.py index 42e27203..d8d6b706 100644 --- a/src/merge/resources/accounting/types/general_ledger_transaction_line_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/item_fulfillment_line_request_tracking_categories_item.py @@ -4,4 +4,4 @@ from .tracking_category import TrackingCategory -GeneralLedgerTransactionLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] +ItemFulfillmentLineRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/item_fulfillment_line_sales_order_line.py b/src/merge/resources/accounting/types/item_fulfillment_line_sales_order_line.py new file mode 100644 index 00000000..89f7ba50 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_line_sales_order_line.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_line import SalesOrderLine + +ItemFulfillmentLineSalesOrderLine = typing.Union[str, SalesOrderLine] diff --git a/src/merge/resources/accounting/types/item_fulfillment_line_tracking_categories_item.py b/src/merge/resources/accounting/types/item_fulfillment_line_tracking_categories_item.py new file mode 100644 index 00000000..0d277868 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_line_tracking_categories_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tracking_category import TrackingCategory + +ItemFulfillmentLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/item_fulfillment_lines_item.py b/src/merge/resources/accounting/types/item_fulfillment_lines_item.py new file mode 100644 index 00000000..6a97b0a6 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .item_fulfillment_line import ItemFulfillmentLine + +ItemFulfillmentLinesItem = typing.Union[str, ItemFulfillmentLine] diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request.py b/src/merge/resources/accounting/types/item_fulfillment_request_request.py new file mode 100644 index 00000000..099083f3 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request.py @@ -0,0 +1,74 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .item_fulfillment_request_request_company import ItemFulfillmentRequestRequestCompany +from .item_fulfillment_request_request_customer import ItemFulfillmentRequestRequestCustomer +from .item_fulfillment_request_request_lines_item import ItemFulfillmentRequestRequestLinesItem +from .item_fulfillment_request_request_sales_order import ItemFulfillmentRequestRequestSalesOrder +from .item_fulfillment_request_request_status import ItemFulfillmentRequestRequestStatus +from .remote_field_request import RemoteFieldRequest + + +class ItemFulfillmentRequestRequest(UncheckedBaseModel): + """ + # The ItemFulfillment Object + ### Description + The `ItemFulfillment` object represents the recorded shipment or delivery of some or all items on an associated sales order. + + ### Usage Example + Fetch from the `LIST ItemFulfillments` endpoint and view a company's item fulfillments. + """ + + sales_order: typing.Optional[ItemFulfillmentRequestRequestSalesOrder] = pydantic.Field(default=None) + """ + The ID of the sales order that the item fulfillment originated from. + """ + + fulfillment_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The date the fulfillment was created. + """ + + customer: typing.Optional[ItemFulfillmentRequestRequestCustomer] = pydantic.Field(default=None) + """ + The customer associated with the item fulfillment. + """ + + company: typing.Optional[ItemFulfillmentRequestRequestCompany] = pydantic.Field(default=None) + """ + The subsidiary associated with the fulfillment. + """ + + status: typing.Optional[ItemFulfillmentRequestRequestStatus] = pydantic.Field(default=None) + """ + The status of the item fulfillment. + + * `DRAFT` - DRAFT + * `IN_PROGRESS` - IN_PROGRESS + * `SHIPPED` - SHIPPED + * `CANCELLED` - CANCELLED + """ + + memo: typing.Optional[str] = pydantic.Field(default=None) + """ + Comment attached to the fulfillment. + """ + + lines: typing.Optional[typing.List[ItemFulfillmentRequestRequestLinesItem]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request_company.py b/src/merge/resources/accounting/types/item_fulfillment_request_request_company.py new file mode 100644 index 00000000..28de7f14 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +ItemFulfillmentRequestRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request_customer.py b/src/merge/resources/accounting/types/item_fulfillment_request_request_customer.py new file mode 100644 index 00000000..67ea6a2e --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request_customer.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +ItemFulfillmentRequestRequestCustomer = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request_lines_item.py b/src/merge/resources/accounting/types/item_fulfillment_request_request_lines_item.py new file mode 100644 index 00000000..9749918d --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .item_fulfillment_line_request import ItemFulfillmentLineRequest + +ItemFulfillmentRequestRequestLinesItem = typing.Union[str, ItemFulfillmentLineRequest] diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request_sales_order.py b/src/merge/resources/accounting/types/item_fulfillment_request_request_sales_order.py new file mode 100644 index 00000000..695053f3 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request_sales_order.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order import SalesOrder + +ItemFulfillmentRequestRequestSalesOrder = typing.Union[str, SalesOrder] diff --git a/src/merge/resources/accounting/types/item_fulfillment_request_request_status.py b/src/merge/resources/accounting/types/item_fulfillment_request_request_status.py new file mode 100644 index 00000000..76c05731 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_request_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .item_fulfillment_status_enum import ItemFulfillmentStatusEnum + +ItemFulfillmentRequestRequestStatus = typing.Union[ItemFulfillmentStatusEnum, str] diff --git a/src/merge/resources/chat/types/field_mapping_instance_response.py b/src/merge/resources/accounting/types/item_fulfillment_response.py similarity index 84% rename from src/merge/resources/chat/types/field_mapping_instance_response.py rename to src/merge/resources/accounting/types/item_fulfillment_response.py index f921e641..e7c1b662 100644 --- a/src/merge/resources/chat/types/field_mapping_instance_response.py +++ b/src/merge/resources/accounting/types/item_fulfillment_response.py @@ -7,12 +7,12 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .debug_mode_log import DebugModeLog from .error_validation_problem import ErrorValidationProblem -from .field_mapping_api_instance import FieldMappingApiInstance +from .item_fulfillment import ItemFulfillment from .warning_validation_problem import WarningValidationProblem -class FieldMappingInstanceResponse(UncheckedBaseModel): - model: FieldMappingApiInstance +class ItemFulfillmentResponse(UncheckedBaseModel): + model: ItemFulfillment warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None diff --git a/src/merge/resources/accounting/types/item_fulfillment_sales_order.py b/src/merge/resources/accounting/types/item_fulfillment_sales_order.py new file mode 100644 index 00000000..049ad344 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_sales_order.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order import SalesOrder + +ItemFulfillmentSalesOrder = typing.Union[str, SalesOrder] diff --git a/src/merge/resources/accounting/types/item_fulfillment_status.py b/src/merge/resources/accounting/types/item_fulfillment_status.py new file mode 100644 index 00000000..bef98b10 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .item_fulfillment_status_enum import ItemFulfillmentStatusEnum + +ItemFulfillmentStatus = typing.Union[ItemFulfillmentStatusEnum, str] diff --git a/src/merge/resources/accounting/types/item_fulfillment_status_enum.py b/src/merge/resources/accounting/types/item_fulfillment_status_enum.py new file mode 100644 index 00000000..8e62c629 --- /dev/null +++ b/src/merge/resources/accounting/types/item_fulfillment_status_enum.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ItemFulfillmentStatusEnum(str, enum.Enum): + """ + * `DRAFT` - DRAFT + * `IN_PROGRESS` - IN_PROGRESS + * `SHIPPED` - SHIPPED + * `CANCELLED` - CANCELLED + """ + + DRAFT = "DRAFT" + IN_PROGRESS = "IN_PROGRESS" + SHIPPED = "SHIPPED" + CANCELLED = "CANCELLED" + + def visit( + self, + draft: typing.Callable[[], T_Result], + in_progress: typing.Callable[[], T_Result], + shipped: typing.Callable[[], T_Result], + cancelled: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ItemFulfillmentStatusEnum.DRAFT: + return draft() + if self is ItemFulfillmentStatusEnum.IN_PROGRESS: + return in_progress() + if self is ItemFulfillmentStatusEnum.SHIPPED: + return shipped() + if self is ItemFulfillmentStatusEnum.CANCELLED: + return cancelled() diff --git a/src/merge/resources/accounting/types/journal_entry.py b/src/merge/resources/accounting/types/journal_entry.py index 886ffa58..d0c1fffe 100644 --- a/src/merge/resources/accounting/types/journal_entry.py +++ b/src/merge/resources/accounting/types/journal_entry.py @@ -10,10 +10,10 @@ from .journal_entry_applied_payments_item import JournalEntryAppliedPaymentsItem from .journal_entry_company import JournalEntryCompany from .journal_entry_currency import JournalEntryCurrency +from .journal_entry_lines_item import JournalEntryLinesItem from .journal_entry_payments_item import JournalEntryPaymentsItem from .journal_entry_posting_status import JournalEntryPostingStatus from .journal_entry_tracking_categories_item import JournalEntryTrackingCategoriesItem -from .journal_line import JournalLine from .remote_data import RemoteData from .remote_field import RemoteField @@ -397,7 +397,7 @@ class JournalEntry(UncheckedBaseModel): If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. """ - lines: typing.Optional[typing.List[JournalLine]] = None + lines: typing.Optional[typing.List[JournalEntryLinesItem]] = None journal_number: typing.Optional[str] = pydantic.Field(default=None) """ Reference number for identifying journal entries. diff --git a/src/merge/resources/accounting/types/journal_entry_lines_item.py b/src/merge/resources/accounting/types/journal_entry_lines_item.py new file mode 100644 index 00000000..ca106dc4 --- /dev/null +++ b/src/merge/resources/accounting/types/journal_entry_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .journal_line import JournalLine + +JournalEntryLinesItem = typing.Union[str, JournalLine] diff --git a/src/merge/resources/accounting/types/journal_entry_request.py b/src/merge/resources/accounting/types/journal_entry_request.py index 5c45360e..d00339aa 100644 --- a/src/merge/resources/accounting/types/journal_entry_request.py +++ b/src/merge/resources/accounting/types/journal_entry_request.py @@ -8,10 +8,10 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .journal_entry_request_company import JournalEntryRequestCompany from .journal_entry_request_currency import JournalEntryRequestCurrency +from .journal_entry_request_lines_item import JournalEntryRequestLinesItem from .journal_entry_request_payments_item import JournalEntryRequestPaymentsItem from .journal_entry_request_posting_status import JournalEntryRequestPostingStatus from .journal_entry_request_tracking_categories_item import JournalEntryRequestTrackingCategoriesItem -from .journal_line_request import JournalLineRequest from .remote_field_request import RemoteFieldRequest @@ -370,7 +370,7 @@ class JournalEntryRequest(UncheckedBaseModel): If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. """ - lines: typing.Optional[typing.List[JournalLineRequest]] = None + lines: typing.Optional[typing.List[JournalEntryRequestLinesItem]] = None journal_number: typing.Optional[str] = pydantic.Field(default=None) """ Reference number for identifying journal entries. diff --git a/src/merge/resources/accounting/types/journal_entry_request_lines_item.py b/src/merge/resources/accounting/types/journal_entry_request_lines_item.py new file mode 100644 index 00000000..f663a1c5 --- /dev/null +++ b/src/merge/resources/accounting/types/journal_entry_request_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .journal_line import JournalLine + +JournalEntryRequestLinesItem = typing.Union[str, JournalLine] diff --git a/src/merge/resources/accounting/types/meta_response.py b/src/merge/resources/accounting/types/meta_response.py index caa2c831..d538cf73 100644 --- a/src/merge/resources/accounting/types/meta_response.py +++ b/src/merge/resources/accounting/types/meta_response.py @@ -10,10 +10,13 @@ class MetaResponse(UncheckedBaseModel): request_schema: typing.Dict[str, typing.Optional[typing.Any]] - remote_field_classes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool + remote_fields: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Remote field values to populate + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/chat/types/paginated_audit_log_event_list.py b/src/merge/resources/accounting/types/paginated_item_fulfillment_list.py similarity index 77% rename from src/merge/resources/chat/types/paginated_audit_log_event_list.py rename to src/merge/resources/accounting/types/paginated_item_fulfillment_list.py index 24139397..6d9127e5 100644 --- a/src/merge/resources/chat/types/paginated_audit_log_event_list.py +++ b/src/merge/resources/accounting/types/paginated_item_fulfillment_list.py @@ -5,13 +5,13 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event import AuditLogEvent +from .item_fulfillment import ItemFulfillment -class PaginatedAuditLogEventList(UncheckedBaseModel): +class PaginatedItemFulfillmentList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AuditLogEvent]] = None + results: typing.Optional[typing.List[ItemFulfillment]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/chat/types/paginated_issue_list.py b/src/merge/resources/accounting/types/paginated_sales_order_list.py similarity index 79% rename from src/merge/resources/chat/types/paginated_issue_list.py rename to src/merge/resources/accounting/types/paginated_sales_order_list.py index 686173e5..4fc254ce 100644 --- a/src/merge/resources/chat/types/paginated_issue_list.py +++ b/src/merge/resources/accounting/types/paginated_sales_order_list.py @@ -5,13 +5,13 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .issue import Issue +from .sales_order import SalesOrder -class PaginatedIssueList(UncheckedBaseModel): +class PaginatedSalesOrderList(UncheckedBaseModel): next: typing.Optional[str] = None previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Issue]] = None + results: typing.Optional[typing.List[SalesOrder]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/patched_contact_request.py b/src/merge/resources/accounting/types/patched_contact_request.py index 7d513c2a..1e14de6d 100644 --- a/src/merge/resources/accounting/types/patched_contact_request.py +++ b/src/merge/resources/accounting/types/patched_contact_request.py @@ -6,7 +6,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .accounting_phone_number_request import AccountingPhoneNumberRequest -from .patched_contact_request_addresses_item import PatchedContactRequestAddressesItem +from .address_request import AddressRequest +from .patched_contact_request_status import PatchedContactRequestStatus from .remote_field_request import RemoteFieldRequest @@ -47,7 +48,7 @@ class PatchedContactRequest(UncheckedBaseModel): The contact's tax number. """ - status: typing.Optional[str] = pydantic.Field(default=None) + status: typing.Optional[PatchedContactRequestStatus] = pydantic.Field(default=None) """ The contact's status @@ -65,9 +66,7 @@ class PatchedContactRequest(UncheckedBaseModel): The company the contact belongs to. """ - addresses: typing.Optional[typing.List[typing.Optional[PatchedContactRequestAddressesItem]]] = pydantic.Field( - default=None - ) + addresses: typing.Optional[typing.List[AddressRequest]] = pydantic.Field(default=None) """ `Address` object IDs for the given `Contacts` object. """ diff --git a/src/merge/resources/accounting/types/patched_contact_request_status.py b/src/merge/resources/accounting/types/patched_contact_request_status.py new file mode 100644 index 00000000..2436681f --- /dev/null +++ b/src/merge/resources/accounting/types/patched_contact_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_7_d_1_enum import Status7D1Enum + +PatchedContactRequestStatus = typing.Union[Status7D1Enum, str] diff --git a/src/merge/resources/accounting/types/patched_payment_request.py b/src/merge/resources/accounting/types/patched_payment_request.py index 7222862a..f2df644a 100644 --- a/src/merge/resources/accounting/types/patched_payment_request.py +++ b/src/merge/resources/accounting/types/patched_payment_request.py @@ -6,15 +6,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .patched_payment_request_account import PatchedPaymentRequestAccount -from .patched_payment_request_accounting_period import PatchedPaymentRequestAccountingPeriod -from .patched_payment_request_applied_to_lines_item import PatchedPaymentRequestAppliedToLinesItem -from .patched_payment_request_company import PatchedPaymentRequestCompany -from .patched_payment_request_contact import PatchedPaymentRequestContact from .patched_payment_request_currency import PatchedPaymentRequestCurrency -from .patched_payment_request_payment_method import PatchedPaymentRequestPaymentMethod -from .patched_payment_request_tracking_categories_item import PatchedPaymentRequestTrackingCategoriesItem from .patched_payment_request_type import PatchedPaymentRequestType +from .payment_line_item_request import PaymentLineItemRequest from .remote_field_request import RemoteFieldRequest @@ -33,17 +27,17 @@ class PatchedPaymentRequest(UncheckedBaseModel): The payment's transaction date. """ - contact: typing.Optional[PatchedPaymentRequestContact] = pydantic.Field(default=None) + contact: typing.Optional[str] = pydantic.Field(default=None) """ The supplier, or customer involved in the payment. """ - account: typing.Optional[PatchedPaymentRequestAccount] = pydantic.Field(default=None) + account: typing.Optional[str] = pydantic.Field(default=None) """ The supplier’s or customer’s account in which the payment is made. """ - payment_method: typing.Optional[PatchedPaymentRequestPaymentMethod] = pydantic.Field(default=None) + payment_method: typing.Optional[str] = pydantic.Field(default=None) """ The method which this payment was made by. """ @@ -365,7 +359,7 @@ class PatchedPaymentRequest(UncheckedBaseModel): The payment's exchange rate. """ - company: typing.Optional[PatchedPaymentRequestCompany] = pydantic.Field(default=None) + company: typing.Optional[str] = pydantic.Field(default=None) """ The company the payment belongs to. """ @@ -383,17 +377,13 @@ class PatchedPaymentRequest(UncheckedBaseModel): * `ACCOUNTS_RECEIVABLE` - ACCOUNTS_RECEIVABLE """ - tracking_categories: typing.Optional[typing.List[typing.Optional[PatchedPaymentRequestTrackingCategoriesItem]]] = ( - None - ) - accounting_period: typing.Optional[PatchedPaymentRequestAccountingPeriod] = pydantic.Field(default=None) + tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = None + accounting_period: typing.Optional[str] = pydantic.Field(default=None) """ The accounting period that the Payment was generated in. """ - applied_to_lines: typing.Optional[typing.List[PatchedPaymentRequestAppliedToLinesItem]] = pydantic.Field( - default=None - ) + applied_to_lines: typing.Optional[typing.List[PaymentLineItemRequest]] = pydantic.Field(default=None) """ A list of “Payment Applied to Lines” objects. """ diff --git a/src/merge/resources/accounting/types/patched_payment_request_account.py b/src/merge/resources/accounting/types/patched_payment_request_account.py deleted file mode 100644 index f051a194..00000000 --- a/src/merge/resources/accounting/types/patched_payment_request_account.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .account import Account - -PatchedPaymentRequestAccount = typing.Union[str, Account] diff --git a/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py b/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py deleted file mode 100644 index b7624b38..00000000 --- a/src/merge/resources/accounting/types/patched_payment_request_applied_to_lines_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .payment_line_item_request import PaymentLineItemRequest - -PatchedPaymentRequestAppliedToLinesItem = typing.Union[str, PaymentLineItemRequest] diff --git a/src/merge/resources/accounting/types/patched_payment_request_payment_method.py b/src/merge/resources/accounting/types/patched_payment_request_payment_method.py deleted file mode 100644 index 0ae7a0d7..00000000 --- a/src/merge/resources/accounting/types/patched_payment_request_payment_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .payment_method import PaymentMethod - -PatchedPaymentRequestPaymentMethod = typing.Union[str, PaymentMethod] diff --git a/src/merge/resources/accounting/types/patched_vendor_credit_request.py b/src/merge/resources/accounting/types/patched_vendor_credit_request.py new file mode 100644 index 00000000..748d1155 --- /dev/null +++ b/src/merge/resources/accounting/types/patched_vendor_credit_request.py @@ -0,0 +1,375 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .patched_vendor_credit_request_currency import PatchedVendorCreditRequestCurrency + + +class PatchedVendorCreditRequest(UncheckedBaseModel): + """ + # The VendorCredit Object + ### Description + A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease the overall amount of the `Invoice`. + + ### Usage Example + Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits. + """ + + number: typing.Optional[str] = pydantic.Field(default=None) + """ + The vendor credit's number. + """ + + transaction_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The vendor credit's transaction date. + """ + + vendor: typing.Optional[str] = pydantic.Field(default=None) + """ + The vendor that owes the gift or refund. + """ + + currency: typing.Optional[PatchedVendorCreditRequestCurrency] = pydantic.Field(default=None) + """ + The vendor credit's currency. + + * `XUA` - ADB Unit of Account + * `AFN` - Afghan Afghani + * `AFA` - Afghan Afghani (1927–2002) + * `ALL` - Albanian Lek + * `ALK` - Albanian Lek (1946–1965) + * `DZD` - Algerian Dinar + * `ADP` - Andorran Peseta + * `AOA` - Angolan Kwanza + * `AOK` - Angolan Kwanza (1977–1991) + * `AON` - Angolan New Kwanza (1990–2000) + * `AOR` - Angolan Readjusted Kwanza (1995–1999) + * `ARA` - Argentine Austral + * `ARS` - Argentine Peso + * `ARM` - Argentine Peso (1881–1970) + * `ARP` - Argentine Peso (1983–1985) + * `ARL` - Argentine Peso Ley (1970–1983) + * `AMD` - Armenian Dram + * `AWG` - Aruban Florin + * `AUD` - Australian Dollar + * `ATS` - Austrian Schilling + * `AZN` - Azerbaijani Manat + * `AZM` - Azerbaijani Manat (1993–2006) + * `BSD` - Bahamian Dollar + * `BHD` - Bahraini Dinar + * `BDT` - Bangladeshi Taka + * `BBD` - Barbadian Dollar + * `BYN` - Belarusian Ruble + * `BYB` - Belarusian Ruble (1994–1999) + * `BYR` - Belarusian Ruble (2000–2016) + * `BEF` - Belgian Franc + * `BEC` - Belgian Franc (convertible) + * `BEL` - Belgian Franc (financial) + * `BZD` - Belize Dollar + * `BMD` - Bermudan Dollar + * `BTN` - Bhutanese Ngultrum + * `BOB` - Bolivian Boliviano + * `BOL` - Bolivian Boliviano (1863–1963) + * `BOV` - Bolivian Mvdol + * `BOP` - Bolivian Peso + * `BAM` - Bosnia-Herzegovina Convertible Mark + * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * `BWP` - Botswanan Pula + * `BRC` - Brazilian Cruzado (1986–1989) + * `BRZ` - Brazilian Cruzeiro (1942–1967) + * `BRE` - Brazilian Cruzeiro (1990–1993) + * `BRR` - Brazilian Cruzeiro (1993–1994) + * `BRN` - Brazilian New Cruzado (1989–1990) + * `BRB` - Brazilian New Cruzeiro (1967–1986) + * `BRL` - Brazilian Real + * `GBP` - British Pound + * `BND` - Brunei Dollar + * `BGL` - Bulgarian Hard Lev + * `BGN` - Bulgarian Lev + * `BGO` - Bulgarian Lev (1879–1952) + * `BGM` - Bulgarian Socialist Lev + * `BUK` - Burmese Kyat + * `BIF` - Burundian Franc + * `XPF` - CFP Franc + * `KHR` - Cambodian Riel + * `CAD` - Canadian Dollar + * `CVE` - Cape Verdean Escudo + * `KYD` - Cayman Islands Dollar + * `XAF` - Central African CFA Franc + * `CLE` - Chilean Escudo + * `CLP` - Chilean Peso + * `CLF` - Chilean Unit of Account (UF) + * `CNX` - Chinese People’s Bank Dollar + * `CNY` - Chinese Yuan + * `CNH` - Chinese Yuan (offshore) + * `COP` - Colombian Peso + * `COU` - Colombian Real Value Unit + * `KMF` - Comorian Franc + * `CDF` - Congolese Franc + * `CRC` - Costa Rican Colón + * `HRD` - Croatian Dinar + * `HRK` - Croatian Kuna + * `CUC` - Cuban Convertible Peso + * `CUP` - Cuban Peso + * `CYP` - Cypriot Pound + * `CZK` - Czech Koruna + * `CSK` - Czechoslovak Hard Koruna + * `DKK` - Danish Krone + * `DJF` - Djiboutian Franc + * `DOP` - Dominican Peso + * `NLG` - Dutch Guilder + * `XCD` - East Caribbean Dollar + * `DDM` - East German Mark + * `ECS` - Ecuadorian Sucre + * `ECV` - Ecuadorian Unit of Constant Value + * `EGP` - Egyptian Pound + * `GQE` - Equatorial Guinean Ekwele + * `ERN` - Eritrean Nakfa + * `EEK` - Estonian Kroon + * `ETB` - Ethiopian Birr + * `EUR` - Euro + * `XBA` - European Composite Unit + * `XEU` - European Currency Unit + * `XBB` - European Monetary Unit + * `XBC` - European Unit of Account (XBC) + * `XBD` - European Unit of Account (XBD) + * `FKP` - Falkland Islands Pound + * `FJD` - Fijian Dollar + * `FIM` - Finnish Markka + * `FRF` - French Franc + * `XFO` - French Gold Franc + * `XFU` - French UIC-Franc + * `GMD` - Gambian Dalasi + * `GEK` - Georgian Kupon Larit + * `GEL` - Georgian Lari + * `DEM` - German Mark + * `GHS` - Ghanaian Cedi + * `GHC` - Ghanaian Cedi (1979–2007) + * `GIP` - Gibraltar Pound + * `XAU` - Gold + * `GRD` - Greek Drachma + * `GTQ` - Guatemalan Quetzal + * `GWP` - Guinea-Bissau Peso + * `GNF` - Guinean Franc + * `GNS` - Guinean Syli + * `GYD` - Guyanaese Dollar + * `HTG` - Haitian Gourde + * `HNL` - Honduran Lempira + * `HKD` - Hong Kong Dollar + * `HUF` - Hungarian Forint + * `IMP` - IMP + * `ISK` - Icelandic Króna + * `ISJ` - Icelandic Króna (1918–1981) + * `INR` - Indian Rupee + * `IDR` - Indonesian Rupiah + * `IRR` - Iranian Rial + * `IQD` - Iraqi Dinar + * `IEP` - Irish Pound + * `ILS` - Israeli New Shekel + * `ILP` - Israeli Pound + * `ILR` - Israeli Shekel (1980–1985) + * `ITL` - Italian Lira + * `JMD` - Jamaican Dollar + * `JPY` - Japanese Yen + * `JOD` - Jordanian Dinar + * `KZT` - Kazakhstani Tenge + * `KES` - Kenyan Shilling + * `KWD` - Kuwaiti Dinar + * `KGS` - Kyrgystani Som + * `LAK` - Laotian Kip + * `LVL` - Latvian Lats + * `LVR` - Latvian Ruble + * `LBP` - Lebanese Pound + * `LSL` - Lesotho Loti + * `LRD` - Liberian Dollar + * `LYD` - Libyan Dinar + * `LTL` - Lithuanian Litas + * `LTT` - Lithuanian Talonas + * `LUL` - Luxembourg Financial Franc + * `LUC` - Luxembourgian Convertible Franc + * `LUF` - Luxembourgian Franc + * `MOP` - Macanese Pataca + * `MKD` - Macedonian Denar + * `MKN` - Macedonian Denar (1992–1993) + * `MGA` - Malagasy Ariary + * `MGF` - Malagasy Franc + * `MWK` - Malawian Kwacha + * `MYR` - Malaysian Ringgit + * `MVR` - Maldivian Rufiyaa + * `MVP` - Maldivian Rupee (1947–1981) + * `MLF` - Malian Franc + * `MTL` - Maltese Lira + * `MTP` - Maltese Pound + * `MRU` - Mauritanian Ouguiya + * `MRO` - Mauritanian Ouguiya (1973–2017) + * `MUR` - Mauritian Rupee + * `MXV` - Mexican Investment Unit + * `MXN` - Mexican Peso + * `MXP` - Mexican Silver Peso (1861–1992) + * `MDC` - Moldovan Cupon + * `MDL` - Moldovan Leu + * `MCF` - Monegasque Franc + * `MNT` - Mongolian Tugrik + * `MAD` - Moroccan Dirham + * `MAF` - Moroccan Franc + * `MZE` - Mozambican Escudo + * `MZN` - Mozambican Metical + * `MZM` - Mozambican Metical (1980–2006) + * `MMK` - Myanmar Kyat + * `NAD` - Namibian Dollar + * `NPR` - Nepalese Rupee + * `ANG` - Netherlands Antillean Guilder + * `TWD` - New Taiwan Dollar + * `NZD` - New Zealand Dollar + * `NIO` - Nicaraguan Córdoba + * `NIC` - Nicaraguan Córdoba (1988–1991) + * `NGN` - Nigerian Naira + * `KPW` - North Korean Won + * `NOK` - Norwegian Krone + * `OMR` - Omani Rial + * `PKR` - Pakistani Rupee + * `XPD` - Palladium + * `PAB` - Panamanian Balboa + * `PGK` - Papua New Guinean Kina + * `PYG` - Paraguayan Guarani + * `PEI` - Peruvian Inti + * `PEN` - Peruvian Sol + * `PES` - Peruvian Sol (1863–1965) + * `PHP` - Philippine Peso + * `XPT` - Platinum + * `PLN` - Polish Zloty + * `PLZ` - Polish Zloty (1950–1995) + * `PTE` - Portuguese Escudo + * `GWE` - Portuguese Guinea Escudo + * `QAR` - Qatari Rial + * `XRE` - RINET Funds + * `RHD` - Rhodesian Dollar + * `RON` - Romanian Leu + * `ROL` - Romanian Leu (1952–2006) + * `RUB` - Russian Ruble + * `RUR` - Russian Ruble (1991–1998) + * `RWF` - Rwandan Franc + * `SVC` - Salvadoran Colón + * `WST` - Samoan Tala + * `SAR` - Saudi Riyal + * `RSD` - Serbian Dinar + * `CSD` - Serbian Dinar (2002–2006) + * `SCR` - Seychellois Rupee + * `SLL` - Sierra Leonean Leone + * `XAG` - Silver + * `SGD` - Singapore Dollar + * `SKK` - Slovak Koruna + * `SIT` - Slovenian Tolar + * `SBD` - Solomon Islands Dollar + * `SOS` - Somali Shilling + * `ZAR` - South African Rand + * `ZAL` - South African Rand (financial) + * `KRH` - South Korean Hwan (1953–1962) + * `KRW` - South Korean Won + * `KRO` - South Korean Won (1945–1953) + * `SSP` - South Sudanese Pound + * `SUR` - Soviet Rouble + * `ESP` - Spanish Peseta + * `ESA` - Spanish Peseta (A account) + * `ESB` - Spanish Peseta (convertible account) + * `XDR` - Special Drawing Rights + * `LKR` - Sri Lankan Rupee + * `SHP` - St. Helena Pound + * `XSU` - Sucre + * `SDD` - Sudanese Dinar (1992–2007) + * `SDG` - Sudanese Pound + * `SDP` - Sudanese Pound (1957–1998) + * `SRD` - Surinamese Dollar + * `SRG` - Surinamese Guilder + * `SZL` - Swazi Lilangeni + * `SEK` - Swedish Krona + * `CHF` - Swiss Franc + * `SYP` - Syrian Pound + * `STN` - São Tomé & Príncipe Dobra + * `STD` - São Tomé & Príncipe Dobra (1977–2017) + * `TVD` - TVD + * `TJR` - Tajikistani Ruble + * `TJS` - Tajikistani Somoni + * `TZS` - Tanzanian Shilling + * `XTS` - Testing Currency Code + * `THB` - Thai Baht + * `XXX` - The codes assigned for transactions where no currency is involved + * `TPE` - Timorese Escudo + * `TOP` - Tongan Paʻanga + * `TTD` - Trinidad & Tobago Dollar + * `TND` - Tunisian Dinar + * `TRY` - Turkish Lira + * `TRL` - Turkish Lira (1922–2005) + * `TMT` - Turkmenistani Manat + * `TMM` - Turkmenistani Manat (1993–2009) + * `USD` - US Dollar + * `USN` - US Dollar (Next day) + * `USS` - US Dollar (Same day) + * `UGX` - Ugandan Shilling + * `UGS` - Ugandan Shilling (1966–1987) + * `UAH` - Ukrainian Hryvnia + * `UAK` - Ukrainian Karbovanets + * `AED` - United Arab Emirates Dirham + * `UYW` - Uruguayan Nominal Wage Index Unit + * `UYU` - Uruguayan Peso + * `UYP` - Uruguayan Peso (1975–1993) + * `UYI` - Uruguayan Peso (Indexed Units) + * `UZS` - Uzbekistani Som + * `VUV` - Vanuatu Vatu + * `VES` - Venezuelan Bolívar + * `VEB` - Venezuelan Bolívar (1871–2008) + * `VEF` - Venezuelan Bolívar (2008–2018) + * `VND` - Vietnamese Dong + * `VNN` - Vietnamese Dong (1978–1985) + * `CHE` - WIR Euro + * `CHW` - WIR Franc + * `XOF` - West African CFA Franc + * `YDD` - Yemeni Dinar + * `YER` - Yemeni Rial + * `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * `YUD` - Yugoslavian Hard Dinar (1966–1990) + * `YUM` - Yugoslavian New Dinar (1994–2002) + * `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * `ZWN` - ZWN + * `ZRN` - Zairean New Zaire (1993–1998) + * `ZRZ` - Zairean Zaire (1971–1993) + * `ZMW` - Zambian Kwacha + * `ZMK` - Zambian Kwacha (1968–2012) + * `ZWD` - Zimbabwean Dollar (1980–2008) + * `ZWR` - Zimbabwean Dollar (2008) + * `ZWL` - Zimbabwean Dollar (2009) + """ + + exchange_rate: typing.Optional[str] = pydantic.Field(default=None) + """ + The vendor credit's exchange rate. + """ + + inclusive_of_tax: typing.Optional[bool] = pydantic.Field(default=None) + """ + If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. + """ + + company: typing.Optional[str] = pydantic.Field(default=None) + """ + The company the vendor credit belongs to. + """ + + tracking_categories: typing.Optional[typing.List[typing.Optional[str]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/patched_vendor_credit_request_currency.py b/src/merge/resources/accounting/types/patched_vendor_credit_request_currency.py new file mode 100644 index 00000000..8b9113c2 --- /dev/null +++ b/src/merge/resources/accounting/types/patched_vendor_credit_request_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +PatchedVendorCreditRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/payment_method.py b/src/merge/resources/accounting/types/payment_method.py index 0a3ec48d..7d4483d9 100644 --- a/src/merge/resources/accounting/types/payment_method.py +++ b/src/merge/resources/accounting/types/payment_method.py @@ -36,7 +36,7 @@ class PaymentMethod(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - method_type: PaymentMethodMethodType = pydantic.Field() + method_type: typing.Optional[PaymentMethodMethodType] = pydantic.Field(default=None) """ The type of the payment method. diff --git a/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py b/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py index ecd42a0d..f844b10c 100644 --- a/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py +++ b/src/merge/resources/accounting/types/payment_request_applied_to_lines_item.py @@ -2,6 +2,6 @@ import typing -from .payment_line_item_request import PaymentLineItemRequest +from .payment_line_item import PaymentLineItem -PaymentRequestAppliedToLinesItem = typing.Union[str, PaymentLineItemRequest] +PaymentRequestAppliedToLinesItem = typing.Union[str, PaymentLineItem] diff --git a/src/merge/resources/accounting/types/purchase_order.py b/src/merge/resources/accounting/types/purchase_order.py index 6de72fda..6d0e5e07 100644 --- a/src/merge/resources/accounting/types/purchase_order.py +++ b/src/merge/resources/accounting/types/purchase_order.py @@ -10,7 +10,7 @@ from .purchase_order_company import PurchaseOrderCompany from .purchase_order_currency import PurchaseOrderCurrency from .purchase_order_delivery_address import PurchaseOrderDeliveryAddress -from .purchase_order_line_item import PurchaseOrderLineItem +from .purchase_order_line_items_item import PurchaseOrderLineItemsItem from .purchase_order_payment_term import PurchaseOrderPaymentTerm from .purchase_order_status import PurchaseOrderStatus from .purchase_order_tracking_categories_item import PurchaseOrderTrackingCategoriesItem @@ -425,7 +425,7 @@ class PurchaseOrder(UncheckedBaseModel): The payment term that applies to this transaction. """ - line_items: typing.Optional[typing.List[PurchaseOrderLineItem]] = None + line_items: typing.Optional[typing.List[PurchaseOrderLineItemsItem]] = None inclusive_of_tax: typing.Optional[bool] = pydantic.Field(default=None) """ If the transaction is inclusive or exclusive of tax. `True` if inclusive, `False` if exclusive. diff --git a/src/merge/resources/accounting/types/purchase_order_line_items_item.py b/src/merge/resources/accounting/types/purchase_order_line_items_item.py new file mode 100644 index 00000000..602abe71 --- /dev/null +++ b/src/merge/resources/accounting/types/purchase_order_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .purchase_order_line_item import PurchaseOrderLineItem + +PurchaseOrderLineItemsItem = typing.Union[str, PurchaseOrderLineItem] diff --git a/src/merge/resources/accounting/types/purchase_order_request.py b/src/merge/resources/accounting/types/purchase_order_request.py index 95fa1a1e..90890d0c 100644 --- a/src/merge/resources/accounting/types/purchase_order_request.py +++ b/src/merge/resources/accounting/types/purchase_order_request.py @@ -6,10 +6,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .purchase_order_line_item_request import PurchaseOrderLineItemRequest from .purchase_order_request_company import PurchaseOrderRequestCompany from .purchase_order_request_currency import PurchaseOrderRequestCurrency from .purchase_order_request_delivery_address import PurchaseOrderRequestDeliveryAddress +from .purchase_order_request_line_items_item import PurchaseOrderRequestLineItemsItem from .purchase_order_request_payment_term import PurchaseOrderRequestPaymentTerm from .purchase_order_request_status import PurchaseOrderRequestStatus from .purchase_order_request_tracking_categories_item import PurchaseOrderRequestTrackingCategoriesItem @@ -408,7 +408,7 @@ class PurchaseOrderRequest(UncheckedBaseModel): tracking_categories: typing.Optional[typing.List[typing.Optional[PurchaseOrderRequestTrackingCategoriesItem]]] = ( None ) - line_items: typing.Optional[typing.List[PurchaseOrderLineItemRequest]] = None + line_items: typing.Optional[typing.List[PurchaseOrderRequestLineItemsItem]] = None integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None diff --git a/src/merge/resources/accounting/types/purchase_order_request_line_items_item.py b/src/merge/resources/accounting/types/purchase_order_request_line_items_item.py new file mode 100644 index 00000000..268a5f32 --- /dev/null +++ b/src/merge/resources/accounting/types/purchase_order_request_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .purchase_order_line_item import PurchaseOrderLineItem + +PurchaseOrderRequestLineItemsItem = typing.Union[str, PurchaseOrderLineItem] diff --git a/src/merge/resources/chat/types/remote_key.py b/src/merge/resources/accounting/types/regenerate_account_token.py similarity index 66% rename from src/merge/resources/chat/types/remote_key.py rename to src/merge/resources/accounting/types/regenerate_account_token.py index e5d9758c..5c31cf57 100644 --- a/src/merge/resources/chat/types/remote_key.py +++ b/src/merge/resources/accounting/types/regenerate_account_token.py @@ -7,18 +7,18 @@ from ....core.unchecked_base_model import UncheckedBaseModel -class RemoteKey(UncheckedBaseModel): +class RegenerateAccountToken(UncheckedBaseModel): """ - # The RemoteKey Object + # The RegenerateAccountToken Object ### Description - The `RemoteKey` object is used to represent a request for a new remote key. + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. ### Usage Example - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. + Post to receive a new `RegenerateAccountToken`. """ - name: str - key: str + linked_account_id: str + account_token: str if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/remote_field.py b/src/merge/resources/accounting/types/remote_field.py index 1a9272f0..e3acba4e 100644 --- a/src/merge/resources/accounting/types/remote_field.py +++ b/src/merge/resources/accounting/types/remote_field.py @@ -5,12 +5,12 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass +from .remote_field_class import RemoteFieldClass class RemoteField(UncheckedBaseModel): - remote_field_class: RemoteFieldRemoteFieldClass - value: typing.Optional[typing.Optional[typing.Any]] = None + remote_field_class: RemoteFieldClass + value: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/remote_field_api_response.py b/src/merge/resources/accounting/types/remote_field_api_response.py index 68f5ce25..0eeab3e5 100644 --- a/src/merge/resources/accounting/types/remote_field_api_response.py +++ b/src/merge/resources/accounting/types/remote_field_api_response.py @@ -25,6 +25,11 @@ class RemoteFieldApiResponse(UncheckedBaseModel): credit_note: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="CreditNote", default=None) item: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Item", default=None) purchase_order: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="PurchaseOrder", default=None) + sales_order: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="SalesOrder", default=None) + item_fulfillment: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field( + alias="ItemFulfillment", default=None + ) + expense_report: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="ExpenseReport", default=None) tracking_category: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field( alias="TrackingCategory", default=None ) diff --git a/src/merge/resources/accounting/types/remote_field_remote_field_class.py b/src/merge/resources/accounting/types/remote_field_remote_field_class.py deleted file mode 100644 index b7ab0ef6..00000000 --- a/src/merge/resources/accounting/types/remote_field_remote_field_class.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .remote_field_class import RemoteFieldClass - -RemoteFieldRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/accounting/types/remote_field_request.py b/src/merge/resources/accounting/types/remote_field_request.py index 69bc39da..062e9781 100644 --- a/src/merge/resources/accounting/types/remote_field_request.py +++ b/src/merge/resources/accounting/types/remote_field_request.py @@ -5,11 +5,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass class RemoteFieldRequest(UncheckedBaseModel): - remote_field_class: RemoteFieldRequestRemoteFieldClass + remote_field_class: str value: typing.Optional[typing.Optional[typing.Any]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py b/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py deleted file mode 100644 index 08797e5e..00000000 --- a/src/merge/resources/accounting/types/remote_field_request_remote_field_class.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .remote_field_class import RemoteFieldClass - -RemoteFieldRequestRemoteFieldClass = typing.Union[str, RemoteFieldClass] diff --git a/src/merge/resources/accounting/types/remote_response.py b/src/merge/resources/accounting/types/remote_response.py index af181fc0..db01131f 100644 --- a/src/merge/resources/accounting/types/remote_response.py +++ b/src/merge/resources/accounting/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -23,7 +23,7 @@ class RemoteResponse(UncheckedBaseModel): status: int response: typing.Optional[typing.Any] = None response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None + response_type: typing.Optional[RemoteResponseResponseType] = None headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/chat/types/remote_response_response_type.py b/src/merge/resources/accounting/types/remote_response_response_type.py similarity index 100% rename from src/merge/resources/chat/types/remote_response_response_type.py rename to src/merge/resources/accounting/types/remote_response_response_type.py diff --git a/src/merge/resources/accounting/types/report_item.py b/src/merge/resources/accounting/types/report_item.py index 4fdbd010..b217e114 100644 --- a/src/merge/resources/accounting/types/report_item.py +++ b/src/merge/resources/accounting/types/report_item.py @@ -43,7 +43,7 @@ class ReportItem(UncheckedBaseModel): The report item's value. """ - sub_items: typing.Optional[typing.List[typing.Dict[str, typing.Optional[typing.Any]]]] = None + sub_items: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None company: typing.Optional[str] = pydantic.Field(default=None) """ The company the report item belongs to. diff --git a/src/merge/resources/accounting/types/role_enum.py b/src/merge/resources/accounting/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/accounting/types/role_enum.py +++ b/src/merge/resources/accounting/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/accounting/types/sales_order.py b/src/merge/resources/accounting/types/sales_order.py new file mode 100644 index 00000000..2b4ccc27 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order.py @@ -0,0 +1,444 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_data import RemoteData +from .remote_field import RemoteField +from .sales_order_company import SalesOrderCompany +from .sales_order_currency import SalesOrderCurrency +from .sales_order_customer import SalesOrderCustomer +from .sales_order_lines_item import SalesOrderLinesItem +from .sales_order_payment_term import SalesOrderPaymentTerm +from .sales_order_shipping_address import SalesOrderShippingAddress +from .sales_order_status import SalesOrderStatus +from .sales_order_tracking_categories_item import SalesOrderTrackingCategoriesItem + + +class SalesOrder(UncheckedBaseModel): + """ + # The SalesOrder Object + ### Description + The `SalesOrder` object represents a seller's formal record and confirmation of a customer's purchase request. + + ### Usage Example + Fetch from the `LIST SalesOrders` endpoint and view a company's sales orders. + """ + + id: typing.Optional[str] = None + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was created by Merge. + """ + + modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The datetime that this object was modified by Merge. + """ + + customer: typing.Optional[SalesOrderCustomer] = pydantic.Field(default=None) + """ + The customer associated with the sales order. + """ + + currency: typing.Optional[SalesOrderCurrency] = pydantic.Field(default=None) + """ + The currency code for the order. + + * `XUA` - ADB Unit of Account + * `AFN` - Afghan Afghani + * `AFA` - Afghan Afghani (1927–2002) + * `ALL` - Albanian Lek + * `ALK` - Albanian Lek (1946–1965) + * `DZD` - Algerian Dinar + * `ADP` - Andorran Peseta + * `AOA` - Angolan Kwanza + * `AOK` - Angolan Kwanza (1977–1991) + * `AON` - Angolan New Kwanza (1990–2000) + * `AOR` - Angolan Readjusted Kwanza (1995–1999) + * `ARA` - Argentine Austral + * `ARS` - Argentine Peso + * `ARM` - Argentine Peso (1881–1970) + * `ARP` - Argentine Peso (1983–1985) + * `ARL` - Argentine Peso Ley (1970–1983) + * `AMD` - Armenian Dram + * `AWG` - Aruban Florin + * `AUD` - Australian Dollar + * `ATS` - Austrian Schilling + * `AZN` - Azerbaijani Manat + * `AZM` - Azerbaijani Manat (1993–2006) + * `BSD` - Bahamian Dollar + * `BHD` - Bahraini Dinar + * `BDT` - Bangladeshi Taka + * `BBD` - Barbadian Dollar + * `BYN` - Belarusian Ruble + * `BYB` - Belarusian Ruble (1994–1999) + * `BYR` - Belarusian Ruble (2000–2016) + * `BEF` - Belgian Franc + * `BEC` - Belgian Franc (convertible) + * `BEL` - Belgian Franc (financial) + * `BZD` - Belize Dollar + * `BMD` - Bermudan Dollar + * `BTN` - Bhutanese Ngultrum + * `BOB` - Bolivian Boliviano + * `BOL` - Bolivian Boliviano (1863–1963) + * `BOV` - Bolivian Mvdol + * `BOP` - Bolivian Peso + * `BAM` - Bosnia-Herzegovina Convertible Mark + * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * `BWP` - Botswanan Pula + * `BRC` - Brazilian Cruzado (1986–1989) + * `BRZ` - Brazilian Cruzeiro (1942–1967) + * `BRE` - Brazilian Cruzeiro (1990–1993) + * `BRR` - Brazilian Cruzeiro (1993–1994) + * `BRN` - Brazilian New Cruzado (1989–1990) + * `BRB` - Brazilian New Cruzeiro (1967–1986) + * `BRL` - Brazilian Real + * `GBP` - British Pound + * `BND` - Brunei Dollar + * `BGL` - Bulgarian Hard Lev + * `BGN` - Bulgarian Lev + * `BGO` - Bulgarian Lev (1879–1952) + * `BGM` - Bulgarian Socialist Lev + * `BUK` - Burmese Kyat + * `BIF` - Burundian Franc + * `XPF` - CFP Franc + * `KHR` - Cambodian Riel + * `CAD` - Canadian Dollar + * `CVE` - Cape Verdean Escudo + * `KYD` - Cayman Islands Dollar + * `XAF` - Central African CFA Franc + * `CLE` - Chilean Escudo + * `CLP` - Chilean Peso + * `CLF` - Chilean Unit of Account (UF) + * `CNX` - Chinese People’s Bank Dollar + * `CNY` - Chinese Yuan + * `CNH` - Chinese Yuan (offshore) + * `COP` - Colombian Peso + * `COU` - Colombian Real Value Unit + * `KMF` - Comorian Franc + * `CDF` - Congolese Franc + * `CRC` - Costa Rican Colón + * `HRD` - Croatian Dinar + * `HRK` - Croatian Kuna + * `CUC` - Cuban Convertible Peso + * `CUP` - Cuban Peso + * `CYP` - Cypriot Pound + * `CZK` - Czech Koruna + * `CSK` - Czechoslovak Hard Koruna + * `DKK` - Danish Krone + * `DJF` - Djiboutian Franc + * `DOP` - Dominican Peso + * `NLG` - Dutch Guilder + * `XCD` - East Caribbean Dollar + * `DDM` - East German Mark + * `ECS` - Ecuadorian Sucre + * `ECV` - Ecuadorian Unit of Constant Value + * `EGP` - Egyptian Pound + * `GQE` - Equatorial Guinean Ekwele + * `ERN` - Eritrean Nakfa + * `EEK` - Estonian Kroon + * `ETB` - Ethiopian Birr + * `EUR` - Euro + * `XBA` - European Composite Unit + * `XEU` - European Currency Unit + * `XBB` - European Monetary Unit + * `XBC` - European Unit of Account (XBC) + * `XBD` - European Unit of Account (XBD) + * `FKP` - Falkland Islands Pound + * `FJD` - Fijian Dollar + * `FIM` - Finnish Markka + * `FRF` - French Franc + * `XFO` - French Gold Franc + * `XFU` - French UIC-Franc + * `GMD` - Gambian Dalasi + * `GEK` - Georgian Kupon Larit + * `GEL` - Georgian Lari + * `DEM` - German Mark + * `GHS` - Ghanaian Cedi + * `GHC` - Ghanaian Cedi (1979–2007) + * `GIP` - Gibraltar Pound + * `XAU` - Gold + * `GRD` - Greek Drachma + * `GTQ` - Guatemalan Quetzal + * `GWP` - Guinea-Bissau Peso + * `GNF` - Guinean Franc + * `GNS` - Guinean Syli + * `GYD` - Guyanaese Dollar + * `HTG` - Haitian Gourde + * `HNL` - Honduran Lempira + * `HKD` - Hong Kong Dollar + * `HUF` - Hungarian Forint + * `IMP` - IMP + * `ISK` - Icelandic Króna + * `ISJ` - Icelandic Króna (1918–1981) + * `INR` - Indian Rupee + * `IDR` - Indonesian Rupiah + * `IRR` - Iranian Rial + * `IQD` - Iraqi Dinar + * `IEP` - Irish Pound + * `ILS` - Israeli New Shekel + * `ILP` - Israeli Pound + * `ILR` - Israeli Shekel (1980–1985) + * `ITL` - Italian Lira + * `JMD` - Jamaican Dollar + * `JPY` - Japanese Yen + * `JOD` - Jordanian Dinar + * `KZT` - Kazakhstani Tenge + * `KES` - Kenyan Shilling + * `KWD` - Kuwaiti Dinar + * `KGS` - Kyrgystani Som + * `LAK` - Laotian Kip + * `LVL` - Latvian Lats + * `LVR` - Latvian Ruble + * `LBP` - Lebanese Pound + * `LSL` - Lesotho Loti + * `LRD` - Liberian Dollar + * `LYD` - Libyan Dinar + * `LTL` - Lithuanian Litas + * `LTT` - Lithuanian Talonas + * `LUL` - Luxembourg Financial Franc + * `LUC` - Luxembourgian Convertible Franc + * `LUF` - Luxembourgian Franc + * `MOP` - Macanese Pataca + * `MKD` - Macedonian Denar + * `MKN` - Macedonian Denar (1992–1993) + * `MGA` - Malagasy Ariary + * `MGF` - Malagasy Franc + * `MWK` - Malawian Kwacha + * `MYR` - Malaysian Ringgit + * `MVR` - Maldivian Rufiyaa + * `MVP` - Maldivian Rupee (1947–1981) + * `MLF` - Malian Franc + * `MTL` - Maltese Lira + * `MTP` - Maltese Pound + * `MRU` - Mauritanian Ouguiya + * `MRO` - Mauritanian Ouguiya (1973–2017) + * `MUR` - Mauritian Rupee + * `MXV` - Mexican Investment Unit + * `MXN` - Mexican Peso + * `MXP` - Mexican Silver Peso (1861–1992) + * `MDC` - Moldovan Cupon + * `MDL` - Moldovan Leu + * `MCF` - Monegasque Franc + * `MNT` - Mongolian Tugrik + * `MAD` - Moroccan Dirham + * `MAF` - Moroccan Franc + * `MZE` - Mozambican Escudo + * `MZN` - Mozambican Metical + * `MZM` - Mozambican Metical (1980–2006) + * `MMK` - Myanmar Kyat + * `NAD` - Namibian Dollar + * `NPR` - Nepalese Rupee + * `ANG` - Netherlands Antillean Guilder + * `TWD` - New Taiwan Dollar + * `NZD` - New Zealand Dollar + * `NIO` - Nicaraguan Córdoba + * `NIC` - Nicaraguan Córdoba (1988–1991) + * `NGN` - Nigerian Naira + * `KPW` - North Korean Won + * `NOK` - Norwegian Krone + * `OMR` - Omani Rial + * `PKR` - Pakistani Rupee + * `XPD` - Palladium + * `PAB` - Panamanian Balboa + * `PGK` - Papua New Guinean Kina + * `PYG` - Paraguayan Guarani + * `PEI` - Peruvian Inti + * `PEN` - Peruvian Sol + * `PES` - Peruvian Sol (1863–1965) + * `PHP` - Philippine Peso + * `XPT` - Platinum + * `PLN` - Polish Zloty + * `PLZ` - Polish Zloty (1950–1995) + * `PTE` - Portuguese Escudo + * `GWE` - Portuguese Guinea Escudo + * `QAR` - Qatari Rial + * `XRE` - RINET Funds + * `RHD` - Rhodesian Dollar + * `RON` - Romanian Leu + * `ROL` - Romanian Leu (1952–2006) + * `RUB` - Russian Ruble + * `RUR` - Russian Ruble (1991–1998) + * `RWF` - Rwandan Franc + * `SVC` - Salvadoran Colón + * `WST` - Samoan Tala + * `SAR` - Saudi Riyal + * `RSD` - Serbian Dinar + * `CSD` - Serbian Dinar (2002–2006) + * `SCR` - Seychellois Rupee + * `SLL` - Sierra Leonean Leone + * `XAG` - Silver + * `SGD` - Singapore Dollar + * `SKK` - Slovak Koruna + * `SIT` - Slovenian Tolar + * `SBD` - Solomon Islands Dollar + * `SOS` - Somali Shilling + * `ZAR` - South African Rand + * `ZAL` - South African Rand (financial) + * `KRH` - South Korean Hwan (1953–1962) + * `KRW` - South Korean Won + * `KRO` - South Korean Won (1945–1953) + * `SSP` - South Sudanese Pound + * `SUR` - Soviet Rouble + * `ESP` - Spanish Peseta + * `ESA` - Spanish Peseta (A account) + * `ESB` - Spanish Peseta (convertible account) + * `XDR` - Special Drawing Rights + * `LKR` - Sri Lankan Rupee + * `SHP` - St. Helena Pound + * `XSU` - Sucre + * `SDD` - Sudanese Dinar (1992–2007) + * `SDG` - Sudanese Pound + * `SDP` - Sudanese Pound (1957–1998) + * `SRD` - Surinamese Dollar + * `SRG` - Surinamese Guilder + * `SZL` - Swazi Lilangeni + * `SEK` - Swedish Krona + * `CHF` - Swiss Franc + * `SYP` - Syrian Pound + * `STN` - São Tomé & Príncipe Dobra + * `STD` - São Tomé & Príncipe Dobra (1977–2017) + * `TVD` - TVD + * `TJR` - Tajikistani Ruble + * `TJS` - Tajikistani Somoni + * `TZS` - Tanzanian Shilling + * `XTS` - Testing Currency Code + * `THB` - Thai Baht + * `XXX` - The codes assigned for transactions where no currency is involved + * `TPE` - Timorese Escudo + * `TOP` - Tongan Paʻanga + * `TTD` - Trinidad & Tobago Dollar + * `TND` - Tunisian Dinar + * `TRY` - Turkish Lira + * `TRL` - Turkish Lira (1922–2005) + * `TMT` - Turkmenistani Manat + * `TMM` - Turkmenistani Manat (1993–2009) + * `USD` - US Dollar + * `USN` - US Dollar (Next day) + * `USS` - US Dollar (Same day) + * `UGX` - Ugandan Shilling + * `UGS` - Ugandan Shilling (1966–1987) + * `UAH` - Ukrainian Hryvnia + * `UAK` - Ukrainian Karbovanets + * `AED` - United Arab Emirates Dirham + * `UYW` - Uruguayan Nominal Wage Index Unit + * `UYU` - Uruguayan Peso + * `UYP` - Uruguayan Peso (1975–1993) + * `UYI` - Uruguayan Peso (Indexed Units) + * `UZS` - Uzbekistani Som + * `VUV` - Vanuatu Vatu + * `VES` - Venezuelan Bolívar + * `VEB` - Venezuelan Bolívar (1871–2008) + * `VEF` - Venezuelan Bolívar (2008–2018) + * `VND` - Vietnamese Dong + * `VNN` - Vietnamese Dong (1978–1985) + * `CHE` - WIR Euro + * `CHW` - WIR Franc + * `XOF` - West African CFA Franc + * `YDD` - Yemeni Dinar + * `YER` - Yemeni Rial + * `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * `YUD` - Yugoslavian Hard Dinar (1966–1990) + * `YUM` - Yugoslavian New Dinar (1994–2002) + * `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * `ZWN` - ZWN + * `ZRN` - Zairean New Zaire (1993–1998) + * `ZRZ` - Zairean Zaire (1971–1993) + * `ZMW` - Zambian Kwacha + * `ZMK` - Zambian Kwacha (1968–2012) + * `ZWD` - Zimbabwean Dollar (1980–2008) + * `ZWR` - Zimbabwean Dollar (2008) + * `ZWL` - Zimbabwean Dollar (2009) + """ + + exchange_rate: typing.Optional[str] = pydantic.Field(default=None) + """ + The exchange rate applied if the order currency differs from the base currency. + """ + + company: typing.Optional[SalesOrderCompany] = pydantic.Field(default=None) + """ + The subsidiary associated with the order. + """ + + status: typing.Optional[SalesOrderStatus] = pydantic.Field(default=None) + """ + The status of the sales order. + + * `DRAFT` - DRAFT + * `PENDING_APPROVAL` - PENDING_APPROVAL + * `OPEN` - OPEN + * `PARTIALLY_COMPLETED` - PARTIALLY_COMPLETED + * `COMPLETED` - COMPLETED + * `CLOSED` - CLOSED + """ + + payment_term: typing.Optional[SalesOrderPaymentTerm] = pydantic.Field(default=None) + """ + The payment terms applied to this order. + """ + + memo: typing.Optional[str] = pydantic.Field(default=None) + """ + Notes or comments attached to the order. + """ + + shipping_address: typing.Optional[SalesOrderShippingAddress] = pydantic.Field(default=None) + """ + The shipping address for the order. + """ + + tracking_categories: typing.Optional[typing.List[typing.Optional[SalesOrderTrackingCategoriesItem]]] = None + issue_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The date the sales order was issued. + """ + + transaction_number: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable sales order number or transaction reference. + """ + + total: typing.Optional[float] = pydantic.Field(default=None) + """ + Total amount of order. + """ + + lines: typing.Optional[typing.List[SalesOrderLinesItem]] = None + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's sales order was created. + """ + + remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's sales order was updated. + """ + + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + """ + + field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_data: typing.Optional[typing.List[RemoteData]] = None + remote_fields: typing.Optional[typing.List[RemoteField]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/common_model_scope_api.py b/src/merge/resources/accounting/types/sales_order_batch_item_request.py similarity index 64% rename from src/merge/resources/knowledgebase/types/common_model_scope_api.py rename to src/merge/resources/accounting/types/sales_order_batch_item_request.py index 5484808d..0b9513cf 100644 --- a/src/merge/resources/knowledgebase/types/common_model_scope_api.py +++ b/src/merge/resources/accounting/types/sales_order_batch_item_request.py @@ -5,15 +5,17 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer +from .sales_order_request_request import SalesOrderRequestRequest -class CommonModelScopeApi(UncheckedBaseModel): - common_models: typing.List[IndividualCommonModelScopeDeserializer] = pydantic.Field() +class SalesOrderBatchItemRequest(UncheckedBaseModel): + item_id: str = pydantic.Field() """ - The common models you want to update the scopes for + The third-party item ID for this model in the bulk create request """ + payload: SalesOrderRequestRequest + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/merge/resources/accounting/types/sales_order_company.py b/src/merge/resources/accounting/types/sales_order_company.py new file mode 100644 index 00000000..63822639 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +SalesOrderCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/sales_order_currency.py b/src/merge/resources/accounting/types/sales_order_currency.py new file mode 100644 index 00000000..3e286b2c --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +SalesOrderCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/sales_order_customer.py b/src/merge/resources/accounting/types/sales_order_customer.py new file mode 100644 index 00000000..7641695c --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_customer.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +SalesOrderCustomer = typing.Union[str, Contact] diff --git a/src/merge/resources/chat/types/conversation.py b/src/merge/resources/accounting/types/sales_order_line.py similarity index 54% rename from src/merge/resources/chat/types/conversation.py rename to src/merge/resources/accounting/types/sales_order_line.py index 6b118501..812a4316 100644 --- a/src/merge/resources/chat/types/conversation.py +++ b/src/merge/resources/accounting/types/sales_order_line.py @@ -6,18 +6,21 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .conversation_type import ConversationType -from .remote_data import RemoteData +from .remote_field import RemoteField +from .sales_order_line_company import SalesOrderLineCompany +from .sales_order_line_item import SalesOrderLineItem +from .sales_order_line_tax_rate import SalesOrderLineTaxRate +from .sales_order_line_tracking_categories_item import SalesOrderLineTrackingCategoriesItem -class Conversation(UncheckedBaseModel): +class SalesOrderLine(UncheckedBaseModel): """ - # The Conversation Object + # The SalesOrderLine Object ### Description - The `Conversation` object is used to represent a conversation within the Chat account. + The `SalesOrderLine` object represents a specific line item on a sales order. ### Usage Example - Fetch from the `GET /api/chat/v1/conversations` endpoint and view their conversations. + Fetch from the `GET SalesOrder` endpoint and view a company's sales order line items. """ id: typing.Optional[str] = None @@ -36,43 +39,47 @@ class Conversation(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - name: typing.Optional[str] = pydantic.Field(default=None) + description: typing.Optional[str] = pydantic.Field(default=None) """ - The name of the conversation + Description of the line item. """ - description: typing.Optional[str] = pydantic.Field(default=None) + unit_price: typing.Optional[str] = pydantic.Field(default=None) + """ + The unit price of the item. + """ + + quantity: typing.Optional[str] = pydantic.Field(default=None) + """ + Quantity ordered for this line. + """ + + item: typing.Optional[SalesOrderLineItem] = None + tax_rate: typing.Optional[SalesOrderLineTaxRate] = pydantic.Field(default=None) """ - The description of the conversation. + The tax rate of the line item. """ - url: typing.Optional[str] = pydantic.Field(default=None) + tracking_categories: typing.Optional[typing.List[typing.Optional[SalesOrderLineTrackingCategoriesItem]]] = ( + pydantic.Field(default=None) + ) """ - The url of the conversation. + The dimensions or classification tags. """ - type: typing.Optional[ConversationType] = pydantic.Field(default=None) + company: typing.Optional[SalesOrderLineCompany] = pydantic.Field(default=None) """ - The type of the conversation. - - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - * `ONE_ON_ONE_CHAT` - ONE_ON_ONE_CHAT - * `GROUP_CHAT` - GROUP_CHAT - * `MEETING_CHAT` - MEETING_CHAT + The subsidiary associated with the order. """ - members: typing.Optional[typing.List[typing.Optional[str]]] = None remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ - When the third party's conversation was created. + When the third party's sales order line item was created. """ remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ - When the third party's conversation was updated. + When the third party's sales order line item was updated. """ remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) @@ -80,8 +87,7 @@ class Conversation(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None + remote_fields: typing.Optional[typing.List[RemoteField]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/accounting/types/sales_order_line_company.py b/src/merge/resources/accounting/types/sales_order_line_company.py new file mode 100644 index 00000000..0c979e9c --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_line_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +SalesOrderLineCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/knowledgebase/types/permission_user.py b/src/merge/resources/accounting/types/sales_order_line_item.py similarity index 54% rename from src/merge/resources/knowledgebase/types/permission_user.py rename to src/merge/resources/accounting/types/sales_order_line_item.py index 85fec9a9..e32b1816 100644 --- a/src/merge/resources/knowledgebase/types/permission_user.py +++ b/src/merge/resources/accounting/types/sales_order_line_item.py @@ -2,6 +2,6 @@ import typing -from .user import User +from .item import Item -PermissionUser = typing.Union[str, User] +SalesOrderLineItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/sales_order_line_request.py b/src/merge/resources/accounting/types/sales_order_line_request.py new file mode 100644 index 00000000..c6c1589b --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_line_request.py @@ -0,0 +1,85 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request import RemoteFieldRequest +from .sales_order_line_request_company import SalesOrderLineRequestCompany +from .sales_order_line_request_item import SalesOrderLineRequestItem +from .sales_order_line_request_tax_rate import SalesOrderLineRequestTaxRate +from .sales_order_line_request_tracking_categories_item import SalesOrderLineRequestTrackingCategoriesItem + + +class SalesOrderLineRequest(UncheckedBaseModel): + """ + # The SalesOrderLine Object + ### Description + The `SalesOrderLine` object represents a specific line item on a sales order. + + ### Usage Example + Fetch from the `GET SalesOrder` endpoint and view a company's sales order line items. + """ + + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + description: typing.Optional[str] = pydantic.Field(default=None) + """ + Description of the line item. + """ + + unit_price: typing.Optional[str] = pydantic.Field(default=None) + """ + The unit price of the item. + """ + + quantity: typing.Optional[str] = pydantic.Field(default=None) + """ + Quantity ordered for this line. + """ + + item: typing.Optional[SalesOrderLineRequestItem] = None + tax_rate: typing.Optional[SalesOrderLineRequestTaxRate] = pydantic.Field(default=None) + """ + The tax rate of the line item. + """ + + tracking_categories: typing.Optional[typing.List[typing.Optional[SalesOrderLineRequestTrackingCategoriesItem]]] = ( + pydantic.Field(default=None) + ) + """ + The dimensions or classification tags. + """ + + company: typing.Optional[SalesOrderLineRequestCompany] = pydantic.Field(default=None) + """ + The subsidiary associated with the order. + """ + + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's sales order line item was created. + """ + + remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the third party's sales order line item was updated. + """ + + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/sales_order_line_request_company.py b/src/merge/resources/accounting/types/sales_order_line_request_company.py new file mode 100644 index 00000000..e649c189 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_line_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +SalesOrderLineRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/knowledgebase/types/group_users_item.py b/src/merge/resources/accounting/types/sales_order_line_request_item.py similarity index 51% rename from src/merge/resources/knowledgebase/types/group_users_item.py rename to src/merge/resources/accounting/types/sales_order_line_request_item.py index 969cb173..fb794bb6 100644 --- a/src/merge/resources/knowledgebase/types/group_users_item.py +++ b/src/merge/resources/accounting/types/sales_order_line_request_item.py @@ -2,6 +2,6 @@ import typing -from .user import User +from .item import Item -GroupUsersItem = typing.Union[str, User] +SalesOrderLineRequestItem = typing.Union[str, Item] diff --git a/src/merge/resources/accounting/types/sales_order_line_request_tax_rate.py b/src/merge/resources/accounting/types/sales_order_line_request_tax_rate.py new file mode 100644 index 00000000..ad347b34 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_line_request_tax_rate.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tax_rate import TaxRate + +SalesOrderLineRequestTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py b/src/merge/resources/accounting/types/sales_order_line_request_tracking_categories_item.py similarity index 69% rename from src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py rename to src/merge/resources/accounting/types/sales_order_line_request_tracking_categories_item.py index 5ec2c8f9..b4a06627 100644 --- a/src/merge/resources/accounting/types/patched_payment_request_tracking_categories_item.py +++ b/src/merge/resources/accounting/types/sales_order_line_request_tracking_categories_item.py @@ -4,4 +4,4 @@ from .tracking_category import TrackingCategory -PatchedPaymentRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] +SalesOrderLineRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/chat/types/audit_log_event_role.py b/src/merge/resources/accounting/types/sales_order_line_tax_rate.py similarity index 50% rename from src/merge/resources/chat/types/audit_log_event_role.py rename to src/merge/resources/accounting/types/sales_order_line_tax_rate.py index fe91ed6f..7f0b52be 100644 --- a/src/merge/resources/chat/types/audit_log_event_role.py +++ b/src/merge/resources/accounting/types/sales_order_line_tax_rate.py @@ -2,6 +2,6 @@ import typing -from .role_enum import RoleEnum +from .tax_rate import TaxRate -AuditLogEventRole = typing.Union[RoleEnum, str] +SalesOrderLineTaxRate = typing.Union[str, TaxRate] diff --git a/src/merge/resources/accounting/types/sales_order_line_tracking_categories_item.py b/src/merge/resources/accounting/types/sales_order_line_tracking_categories_item.py new file mode 100644 index 00000000..7112f15f --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_line_tracking_categories_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tracking_category import TrackingCategory + +SalesOrderLineTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/sales_order_lines_item.py b/src/merge/resources/accounting/types/sales_order_lines_item.py new file mode 100644 index 00000000..234c5168 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_line import SalesOrderLine + +SalesOrderLinesItem = typing.Union[str, SalesOrderLine] diff --git a/src/merge/resources/accounting/types/sales_order_payment_term.py b/src/merge/resources/accounting/types/sales_order_payment_term.py new file mode 100644 index 00000000..c9012fa8 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_payment_term.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .payment_term import PaymentTerm + +SalesOrderPaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/sales_order_request_request.py b/src/merge/resources/accounting/types/sales_order_request_request.py new file mode 100644 index 00000000..b447a280 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request.py @@ -0,0 +1,414 @@ +# This file was auto-generated by Fern from our API Definition. + +import datetime as dt +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .remote_field_request import RemoteFieldRequest +from .sales_order_request_request_company import SalesOrderRequestRequestCompany +from .sales_order_request_request_currency import SalesOrderRequestRequestCurrency +from .sales_order_request_request_customer import SalesOrderRequestRequestCustomer +from .sales_order_request_request_lines_item import SalesOrderRequestRequestLinesItem +from .sales_order_request_request_payment_term import SalesOrderRequestRequestPaymentTerm +from .sales_order_request_request_shipping_address import SalesOrderRequestRequestShippingAddress +from .sales_order_request_request_status import SalesOrderRequestRequestStatus +from .sales_order_request_request_tracking_categories_item import SalesOrderRequestRequestTrackingCategoriesItem + + +class SalesOrderRequestRequest(UncheckedBaseModel): + """ + # The SalesOrder Object + ### Description + The `SalesOrder` object represents a seller's formal record and confirmation of a customer's purchase request. + + ### Usage Example + Fetch from the `LIST SalesOrders` endpoint and view a company's sales orders. + """ + + customer: typing.Optional[SalesOrderRequestRequestCustomer] = pydantic.Field(default=None) + """ + The customer associated with the sales order. + """ + + currency: typing.Optional[SalesOrderRequestRequestCurrency] = pydantic.Field(default=None) + """ + The currency code for the order. + + * `XUA` - ADB Unit of Account + * `AFN` - Afghan Afghani + * `AFA` - Afghan Afghani (1927–2002) + * `ALL` - Albanian Lek + * `ALK` - Albanian Lek (1946–1965) + * `DZD` - Algerian Dinar + * `ADP` - Andorran Peseta + * `AOA` - Angolan Kwanza + * `AOK` - Angolan Kwanza (1977–1991) + * `AON` - Angolan New Kwanza (1990–2000) + * `AOR` - Angolan Readjusted Kwanza (1995–1999) + * `ARA` - Argentine Austral + * `ARS` - Argentine Peso + * `ARM` - Argentine Peso (1881–1970) + * `ARP` - Argentine Peso (1983–1985) + * `ARL` - Argentine Peso Ley (1970–1983) + * `AMD` - Armenian Dram + * `AWG` - Aruban Florin + * `AUD` - Australian Dollar + * `ATS` - Austrian Schilling + * `AZN` - Azerbaijani Manat + * `AZM` - Azerbaijani Manat (1993–2006) + * `BSD` - Bahamian Dollar + * `BHD` - Bahraini Dinar + * `BDT` - Bangladeshi Taka + * `BBD` - Barbadian Dollar + * `BYN` - Belarusian Ruble + * `BYB` - Belarusian Ruble (1994–1999) + * `BYR` - Belarusian Ruble (2000–2016) + * `BEF` - Belgian Franc + * `BEC` - Belgian Franc (convertible) + * `BEL` - Belgian Franc (financial) + * `BZD` - Belize Dollar + * `BMD` - Bermudan Dollar + * `BTN` - Bhutanese Ngultrum + * `BOB` - Bolivian Boliviano + * `BOL` - Bolivian Boliviano (1863–1963) + * `BOV` - Bolivian Mvdol + * `BOP` - Bolivian Peso + * `BAM` - Bosnia-Herzegovina Convertible Mark + * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) + * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) + * `BWP` - Botswanan Pula + * `BRC` - Brazilian Cruzado (1986–1989) + * `BRZ` - Brazilian Cruzeiro (1942–1967) + * `BRE` - Brazilian Cruzeiro (1990–1993) + * `BRR` - Brazilian Cruzeiro (1993–1994) + * `BRN` - Brazilian New Cruzado (1989–1990) + * `BRB` - Brazilian New Cruzeiro (1967–1986) + * `BRL` - Brazilian Real + * `GBP` - British Pound + * `BND` - Brunei Dollar + * `BGL` - Bulgarian Hard Lev + * `BGN` - Bulgarian Lev + * `BGO` - Bulgarian Lev (1879–1952) + * `BGM` - Bulgarian Socialist Lev + * `BUK` - Burmese Kyat + * `BIF` - Burundian Franc + * `XPF` - CFP Franc + * `KHR` - Cambodian Riel + * `CAD` - Canadian Dollar + * `CVE` - Cape Verdean Escudo + * `KYD` - Cayman Islands Dollar + * `XAF` - Central African CFA Franc + * `CLE` - Chilean Escudo + * `CLP` - Chilean Peso + * `CLF` - Chilean Unit of Account (UF) + * `CNX` - Chinese People’s Bank Dollar + * `CNY` - Chinese Yuan + * `CNH` - Chinese Yuan (offshore) + * `COP` - Colombian Peso + * `COU` - Colombian Real Value Unit + * `KMF` - Comorian Franc + * `CDF` - Congolese Franc + * `CRC` - Costa Rican Colón + * `HRD` - Croatian Dinar + * `HRK` - Croatian Kuna + * `CUC` - Cuban Convertible Peso + * `CUP` - Cuban Peso + * `CYP` - Cypriot Pound + * `CZK` - Czech Koruna + * `CSK` - Czechoslovak Hard Koruna + * `DKK` - Danish Krone + * `DJF` - Djiboutian Franc + * `DOP` - Dominican Peso + * `NLG` - Dutch Guilder + * `XCD` - East Caribbean Dollar + * `DDM` - East German Mark + * `ECS` - Ecuadorian Sucre + * `ECV` - Ecuadorian Unit of Constant Value + * `EGP` - Egyptian Pound + * `GQE` - Equatorial Guinean Ekwele + * `ERN` - Eritrean Nakfa + * `EEK` - Estonian Kroon + * `ETB` - Ethiopian Birr + * `EUR` - Euro + * `XBA` - European Composite Unit + * `XEU` - European Currency Unit + * `XBB` - European Monetary Unit + * `XBC` - European Unit of Account (XBC) + * `XBD` - European Unit of Account (XBD) + * `FKP` - Falkland Islands Pound + * `FJD` - Fijian Dollar + * `FIM` - Finnish Markka + * `FRF` - French Franc + * `XFO` - French Gold Franc + * `XFU` - French UIC-Franc + * `GMD` - Gambian Dalasi + * `GEK` - Georgian Kupon Larit + * `GEL` - Georgian Lari + * `DEM` - German Mark + * `GHS` - Ghanaian Cedi + * `GHC` - Ghanaian Cedi (1979–2007) + * `GIP` - Gibraltar Pound + * `XAU` - Gold + * `GRD` - Greek Drachma + * `GTQ` - Guatemalan Quetzal + * `GWP` - Guinea-Bissau Peso + * `GNF` - Guinean Franc + * `GNS` - Guinean Syli + * `GYD` - Guyanaese Dollar + * `HTG` - Haitian Gourde + * `HNL` - Honduran Lempira + * `HKD` - Hong Kong Dollar + * `HUF` - Hungarian Forint + * `IMP` - IMP + * `ISK` - Icelandic Króna + * `ISJ` - Icelandic Króna (1918–1981) + * `INR` - Indian Rupee + * `IDR` - Indonesian Rupiah + * `IRR` - Iranian Rial + * `IQD` - Iraqi Dinar + * `IEP` - Irish Pound + * `ILS` - Israeli New Shekel + * `ILP` - Israeli Pound + * `ILR` - Israeli Shekel (1980–1985) + * `ITL` - Italian Lira + * `JMD` - Jamaican Dollar + * `JPY` - Japanese Yen + * `JOD` - Jordanian Dinar + * `KZT` - Kazakhstani Tenge + * `KES` - Kenyan Shilling + * `KWD` - Kuwaiti Dinar + * `KGS` - Kyrgystani Som + * `LAK` - Laotian Kip + * `LVL` - Latvian Lats + * `LVR` - Latvian Ruble + * `LBP` - Lebanese Pound + * `LSL` - Lesotho Loti + * `LRD` - Liberian Dollar + * `LYD` - Libyan Dinar + * `LTL` - Lithuanian Litas + * `LTT` - Lithuanian Talonas + * `LUL` - Luxembourg Financial Franc + * `LUC` - Luxembourgian Convertible Franc + * `LUF` - Luxembourgian Franc + * `MOP` - Macanese Pataca + * `MKD` - Macedonian Denar + * `MKN` - Macedonian Denar (1992–1993) + * `MGA` - Malagasy Ariary + * `MGF` - Malagasy Franc + * `MWK` - Malawian Kwacha + * `MYR` - Malaysian Ringgit + * `MVR` - Maldivian Rufiyaa + * `MVP` - Maldivian Rupee (1947–1981) + * `MLF` - Malian Franc + * `MTL` - Maltese Lira + * `MTP` - Maltese Pound + * `MRU` - Mauritanian Ouguiya + * `MRO` - Mauritanian Ouguiya (1973–2017) + * `MUR` - Mauritian Rupee + * `MXV` - Mexican Investment Unit + * `MXN` - Mexican Peso + * `MXP` - Mexican Silver Peso (1861–1992) + * `MDC` - Moldovan Cupon + * `MDL` - Moldovan Leu + * `MCF` - Monegasque Franc + * `MNT` - Mongolian Tugrik + * `MAD` - Moroccan Dirham + * `MAF` - Moroccan Franc + * `MZE` - Mozambican Escudo + * `MZN` - Mozambican Metical + * `MZM` - Mozambican Metical (1980–2006) + * `MMK` - Myanmar Kyat + * `NAD` - Namibian Dollar + * `NPR` - Nepalese Rupee + * `ANG` - Netherlands Antillean Guilder + * `TWD` - New Taiwan Dollar + * `NZD` - New Zealand Dollar + * `NIO` - Nicaraguan Córdoba + * `NIC` - Nicaraguan Córdoba (1988–1991) + * `NGN` - Nigerian Naira + * `KPW` - North Korean Won + * `NOK` - Norwegian Krone + * `OMR` - Omani Rial + * `PKR` - Pakistani Rupee + * `XPD` - Palladium + * `PAB` - Panamanian Balboa + * `PGK` - Papua New Guinean Kina + * `PYG` - Paraguayan Guarani + * `PEI` - Peruvian Inti + * `PEN` - Peruvian Sol + * `PES` - Peruvian Sol (1863–1965) + * `PHP` - Philippine Peso + * `XPT` - Platinum + * `PLN` - Polish Zloty + * `PLZ` - Polish Zloty (1950–1995) + * `PTE` - Portuguese Escudo + * `GWE` - Portuguese Guinea Escudo + * `QAR` - Qatari Rial + * `XRE` - RINET Funds + * `RHD` - Rhodesian Dollar + * `RON` - Romanian Leu + * `ROL` - Romanian Leu (1952–2006) + * `RUB` - Russian Ruble + * `RUR` - Russian Ruble (1991–1998) + * `RWF` - Rwandan Franc + * `SVC` - Salvadoran Colón + * `WST` - Samoan Tala + * `SAR` - Saudi Riyal + * `RSD` - Serbian Dinar + * `CSD` - Serbian Dinar (2002–2006) + * `SCR` - Seychellois Rupee + * `SLL` - Sierra Leonean Leone + * `XAG` - Silver + * `SGD` - Singapore Dollar + * `SKK` - Slovak Koruna + * `SIT` - Slovenian Tolar + * `SBD` - Solomon Islands Dollar + * `SOS` - Somali Shilling + * `ZAR` - South African Rand + * `ZAL` - South African Rand (financial) + * `KRH` - South Korean Hwan (1953–1962) + * `KRW` - South Korean Won + * `KRO` - South Korean Won (1945–1953) + * `SSP` - South Sudanese Pound + * `SUR` - Soviet Rouble + * `ESP` - Spanish Peseta + * `ESA` - Spanish Peseta (A account) + * `ESB` - Spanish Peseta (convertible account) + * `XDR` - Special Drawing Rights + * `LKR` - Sri Lankan Rupee + * `SHP` - St. Helena Pound + * `XSU` - Sucre + * `SDD` - Sudanese Dinar (1992–2007) + * `SDG` - Sudanese Pound + * `SDP` - Sudanese Pound (1957–1998) + * `SRD` - Surinamese Dollar + * `SRG` - Surinamese Guilder + * `SZL` - Swazi Lilangeni + * `SEK` - Swedish Krona + * `CHF` - Swiss Franc + * `SYP` - Syrian Pound + * `STN` - São Tomé & Príncipe Dobra + * `STD` - São Tomé & Príncipe Dobra (1977–2017) + * `TVD` - TVD + * `TJR` - Tajikistani Ruble + * `TJS` - Tajikistani Somoni + * `TZS` - Tanzanian Shilling + * `XTS` - Testing Currency Code + * `THB` - Thai Baht + * `XXX` - The codes assigned for transactions where no currency is involved + * `TPE` - Timorese Escudo + * `TOP` - Tongan Paʻanga + * `TTD` - Trinidad & Tobago Dollar + * `TND` - Tunisian Dinar + * `TRY` - Turkish Lira + * `TRL` - Turkish Lira (1922–2005) + * `TMT` - Turkmenistani Manat + * `TMM` - Turkmenistani Manat (1993–2009) + * `USD` - US Dollar + * `USN` - US Dollar (Next day) + * `USS` - US Dollar (Same day) + * `UGX` - Ugandan Shilling + * `UGS` - Ugandan Shilling (1966–1987) + * `UAH` - Ukrainian Hryvnia + * `UAK` - Ukrainian Karbovanets + * `AED` - United Arab Emirates Dirham + * `UYW` - Uruguayan Nominal Wage Index Unit + * `UYU` - Uruguayan Peso + * `UYP` - Uruguayan Peso (1975–1993) + * `UYI` - Uruguayan Peso (Indexed Units) + * `UZS` - Uzbekistani Som + * `VUV` - Vanuatu Vatu + * `VES` - Venezuelan Bolívar + * `VEB` - Venezuelan Bolívar (1871–2008) + * `VEF` - Venezuelan Bolívar (2008–2018) + * `VND` - Vietnamese Dong + * `VNN` - Vietnamese Dong (1978–1985) + * `CHE` - WIR Euro + * `CHW` - WIR Franc + * `XOF` - West African CFA Franc + * `YDD` - Yemeni Dinar + * `YER` - Yemeni Rial + * `YUN` - Yugoslavian Convertible Dinar (1990–1992) + * `YUD` - Yugoslavian Hard Dinar (1966–1990) + * `YUM` - Yugoslavian New Dinar (1994–2002) + * `YUR` - Yugoslavian Reformed Dinar (1992–1993) + * `ZWN` - ZWN + * `ZRN` - Zairean New Zaire (1993–1998) + * `ZRZ` - Zairean Zaire (1971–1993) + * `ZMW` - Zambian Kwacha + * `ZMK` - Zambian Kwacha (1968–2012) + * `ZWD` - Zimbabwean Dollar (1980–2008) + * `ZWR` - Zimbabwean Dollar (2008) + * `ZWL` - Zimbabwean Dollar (2009) + """ + + exchange_rate: typing.Optional[str] = pydantic.Field(default=None) + """ + The exchange rate applied if the order currency differs from the base currency. + """ + + company: typing.Optional[SalesOrderRequestRequestCompany] = pydantic.Field(default=None) + """ + The subsidiary associated with the order. + """ + + status: typing.Optional[SalesOrderRequestRequestStatus] = pydantic.Field(default=None) + """ + The status of the sales order. + + * `DRAFT` - DRAFT + * `PENDING_APPROVAL` - PENDING_APPROVAL + * `OPEN` - OPEN + * `PARTIALLY_COMPLETED` - PARTIALLY_COMPLETED + * `COMPLETED` - COMPLETED + * `CLOSED` - CLOSED + """ + + payment_term: typing.Optional[SalesOrderRequestRequestPaymentTerm] = pydantic.Field(default=None) + """ + The payment terms applied to this order. + """ + + memo: typing.Optional[str] = pydantic.Field(default=None) + """ + Notes or comments attached to the order. + """ + + shipping_address: typing.Optional[SalesOrderRequestRequestShippingAddress] = pydantic.Field(default=None) + """ + The shipping address for the order. + """ + + tracking_categories: typing.Optional[ + typing.List[typing.Optional[SalesOrderRequestRequestTrackingCategoriesItem]] + ] = None + issue_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + The date the sales order was issued. + """ + + transaction_number: typing.Optional[str] = pydantic.Field(default=None) + """ + The human-readable sales order number or transaction reference. + """ + + total: typing.Optional[float] = pydantic.Field(default=None) + """ + Total amount of order. + """ + + lines: typing.Optional[typing.List[SalesOrderRequestRequestLinesItem]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/accounting/types/sales_order_request_request_company.py b/src/merge/resources/accounting/types/sales_order_request_request_company.py new file mode 100644 index 00000000..2399ecbf --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +SalesOrderRequestRequestCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_currency.py b/src/merge/resources/accounting/types/sales_order_request_request_currency.py new file mode 100644 index 00000000..8e5dedca --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_currency.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_currency_enum import TransactionCurrencyEnum + +SalesOrderRequestRequestCurrency = typing.Union[TransactionCurrencyEnum, str] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_customer.py b/src/merge/resources/accounting/types/sales_order_request_request_customer.py new file mode 100644 index 00000000..23954d1e --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_customer.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +SalesOrderRequestRequestCustomer = typing.Union[str, Contact] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_lines_item.py b/src/merge/resources/accounting/types/sales_order_request_request_lines_item.py new file mode 100644 index 00000000..4d110107 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_line_request import SalesOrderLineRequest + +SalesOrderRequestRequestLinesItem = typing.Union[str, SalesOrderLineRequest] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_payment_term.py b/src/merge/resources/accounting/types/sales_order_request_request_payment_term.py new file mode 100644 index 00000000..0fe03d69 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_payment_term.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .payment_term import PaymentTerm + +SalesOrderRequestRequestPaymentTerm = typing.Union[str, PaymentTerm] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_shipping_address.py b/src/merge/resources/accounting/types/sales_order_request_request_shipping_address.py new file mode 100644 index 00000000..5bdb6009 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_shipping_address.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .address import Address + +SalesOrderRequestRequestShippingAddress = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_status.py b/src/merge/resources/accounting/types/sales_order_request_request_status.py new file mode 100644 index 00000000..548b98c7 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_status_enum import SalesOrderStatusEnum + +SalesOrderRequestRequestStatus = typing.Union[SalesOrderStatusEnum, str] diff --git a/src/merge/resources/accounting/types/sales_order_request_request_tracking_categories_item.py b/src/merge/resources/accounting/types/sales_order_request_request_tracking_categories_item.py new file mode 100644 index 00000000..b6e862a2 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_request_request_tracking_categories_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tracking_category import TrackingCategory + +SalesOrderRequestRequestTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/knowledgebase/types/field_mapping_instance_response.py b/src/merge/resources/accounting/types/sales_order_response.py similarity index 84% rename from src/merge/resources/knowledgebase/types/field_mapping_instance_response.py rename to src/merge/resources/accounting/types/sales_order_response.py index f921e641..aa0c948c 100644 --- a/src/merge/resources/knowledgebase/types/field_mapping_instance_response.py +++ b/src/merge/resources/accounting/types/sales_order_response.py @@ -7,12 +7,12 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .debug_mode_log import DebugModeLog from .error_validation_problem import ErrorValidationProblem -from .field_mapping_api_instance import FieldMappingApiInstance +from .sales_order import SalesOrder from .warning_validation_problem import WarningValidationProblem -class FieldMappingInstanceResponse(UncheckedBaseModel): - model: FieldMappingApiInstance +class SalesOrderResponse(UncheckedBaseModel): + model: SalesOrder warnings: typing.List[WarningValidationProblem] errors: typing.List[ErrorValidationProblem] logs: typing.Optional[typing.List[DebugModeLog]] = None diff --git a/src/merge/resources/accounting/types/sales_order_shipping_address.py b/src/merge/resources/accounting/types/sales_order_shipping_address.py new file mode 100644 index 00000000..9c1f0b00 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_shipping_address.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .address import Address + +SalesOrderShippingAddress = typing.Union[str, Address] diff --git a/src/merge/resources/accounting/types/sales_order_status.py b/src/merge/resources/accounting/types/sales_order_status.py new file mode 100644 index 00000000..69480307 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .sales_order_status_enum import SalesOrderStatusEnum + +SalesOrderStatus = typing.Union[SalesOrderStatusEnum, str] diff --git a/src/merge/resources/accounting/types/sales_order_status_enum.py b/src/merge/resources/accounting/types/sales_order_status_enum.py new file mode 100644 index 00000000..bc23fbb7 --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_status_enum.py @@ -0,0 +1,46 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class SalesOrderStatusEnum(str, enum.Enum): + """ + * `DRAFT` - DRAFT + * `PENDING_APPROVAL` - PENDING_APPROVAL + * `OPEN` - OPEN + * `PARTIALLY_COMPLETED` - PARTIALLY_COMPLETED + * `COMPLETED` - COMPLETED + * `CLOSED` - CLOSED + """ + + DRAFT = "DRAFT" + PENDING_APPROVAL = "PENDING_APPROVAL" + OPEN = "OPEN" + PARTIALLY_COMPLETED = "PARTIALLY_COMPLETED" + COMPLETED = "COMPLETED" + CLOSED = "CLOSED" + + def visit( + self, + draft: typing.Callable[[], T_Result], + pending_approval: typing.Callable[[], T_Result], + open: typing.Callable[[], T_Result], + partially_completed: typing.Callable[[], T_Result], + completed: typing.Callable[[], T_Result], + closed: typing.Callable[[], T_Result], + ) -> T_Result: + if self is SalesOrderStatusEnum.DRAFT: + return draft() + if self is SalesOrderStatusEnum.PENDING_APPROVAL: + return pending_approval() + if self is SalesOrderStatusEnum.OPEN: + return open() + if self is SalesOrderStatusEnum.PARTIALLY_COMPLETED: + return partially_completed() + if self is SalesOrderStatusEnum.COMPLETED: + return completed() + if self is SalesOrderStatusEnum.CLOSED: + return closed() diff --git a/src/merge/resources/accounting/types/sales_order_tracking_categories_item.py b/src/merge/resources/accounting/types/sales_order_tracking_categories_item.py new file mode 100644 index 00000000..3c59cb1c --- /dev/null +++ b/src/merge/resources/accounting/types/sales_order_tracking_categories_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .tracking_category import TrackingCategory + +SalesOrderTrackingCategoriesItem = typing.Union[str, TrackingCategory] diff --git a/src/merge/resources/accounting/types/sync_status.py b/src/merge/resources/accounting/types/sync_status.py index ca6a53b0..07ab1dc2 100644 --- a/src/merge/resources/accounting/types/sync_status.py +++ b/src/merge/resources/accounting/types/sync_status.py @@ -6,8 +6,8 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .last_sync_result_enum import LastSyncResultEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum +from .sync_status_last_sync_result import SyncStatusLastSyncResult from .sync_status_status import SyncStatusStatus @@ -25,7 +25,7 @@ class SyncStatus(UncheckedBaseModel): model_id: str last_sync_start: typing.Optional[dt.datetime] = None next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[LastSyncResultEnum] = None + last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None status: SyncStatusStatus is_initial_sync: bool diff --git a/src/merge/resources/chat/types/sync_status_last_sync_result.py b/src/merge/resources/accounting/types/sync_status_last_sync_result.py similarity index 100% rename from src/merge/resources/chat/types/sync_status_last_sync_result.py rename to src/merge/resources/accounting/types/sync_status_last_sync_result.py diff --git a/src/merge/resources/accounting/types/tax_rate.py b/src/merge/resources/accounting/types/tax_rate.py index 66b673c1..ca34264a 100644 --- a/src/merge/resources/accounting/types/tax_rate.py +++ b/src/merge/resources/accounting/types/tax_rate.py @@ -7,9 +7,9 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .remote_data import RemoteData +from .tax_component import TaxComponent from .tax_rate_company import TaxRateCompany from .tax_rate_status import TaxRateStatus -from .tax_rate_tax_components_item import TaxRateTaxComponentsItem class TaxRate(UncheckedBaseModel): @@ -81,7 +81,7 @@ class TaxRate(UncheckedBaseModel): The tax rate’s effective tax rate - total amount of tax with compounding. """ - tax_components: typing.Optional[typing.List[TaxRateTaxComponentsItem]] = pydantic.Field(default=None) + tax_components: typing.Optional[typing.List[TaxComponent]] = pydantic.Field(default=None) """ The related tax components of the tax rate. """ diff --git a/src/merge/resources/accounting/types/tax_rate_tax_components_item.py b/src/merge/resources/accounting/types/tax_rate_tax_components_item.py deleted file mode 100644 index 203fbae8..00000000 --- a/src/merge/resources/accounting/types/tax_rate_tax_components_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .tax_component import TaxComponent - -TaxRateTaxComponentsItem = typing.Union[str, TaxComponent] diff --git a/src/merge/resources/accounting/types/transaction.py b/src/merge/resources/accounting/types/transaction.py index 9a014736..fe5a54b2 100644 --- a/src/merge/resources/accounting/types/transaction.py +++ b/src/merge/resources/accounting/types/transaction.py @@ -9,9 +9,10 @@ from .remote_data import RemoteData from .transaction_account import TransactionAccount from .transaction_accounting_period import TransactionAccountingPeriod +from .transaction_company import TransactionCompany from .transaction_contact import TransactionContact from .transaction_currency import TransactionCurrency -from .transaction_line_item import TransactionLineItem +from .transaction_line_items_item import TransactionLineItemsItem from .transaction_tracking_categories_item import TransactionTrackingCategoriesItem @@ -400,13 +401,13 @@ class Transaction(UncheckedBaseModel): The transaction's exchange rate. """ - company: typing.Optional[str] = pydantic.Field(default=None) + company: typing.Optional[TransactionCompany] = pydantic.Field(default=None) """ The company the transaction belongs to. """ tracking_categories: typing.Optional[typing.List[typing.Optional[TransactionTrackingCategoriesItem]]] = None - line_items: typing.Optional[typing.List[TransactionLineItem]] = None + line_items: typing.Optional[typing.List[TransactionLineItemsItem]] = None remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/accounting/types/transaction_company.py b/src/merge/resources/accounting/types/transaction_company.py new file mode 100644 index 00000000..fd5f0055 --- /dev/null +++ b/src/merge/resources/accounting/types/transaction_company.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .company_info import CompanyInfo + +TransactionCompany = typing.Union[str, CompanyInfo] diff --git a/src/merge/resources/accounting/types/transaction_line_items_item.py b/src/merge/resources/accounting/types/transaction_line_items_item.py new file mode 100644 index 00000000..c43fbea8 --- /dev/null +++ b/src/merge/resources/accounting/types/transaction_line_items_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .transaction_line_item import TransactionLineItem + +TransactionLineItemsItem = typing.Union[str, TransactionLineItem] diff --git a/src/merge/resources/accounting/types/vendor_credit.py b/src/merge/resources/accounting/types/vendor_credit.py index 21467ced..b99c8e41 100644 --- a/src/merge/resources/accounting/types/vendor_credit.py +++ b/src/merge/resources/accounting/types/vendor_credit.py @@ -12,7 +12,7 @@ from .vendor_credit_accounting_period import VendorCreditAccountingPeriod from .vendor_credit_company import VendorCreditCompany from .vendor_credit_currency import VendorCreditCurrency -from .vendor_credit_line import VendorCreditLine +from .vendor_credit_lines_item import VendorCreditLinesItem from .vendor_credit_tracking_categories_item import VendorCreditTrackingCategoriesItem from .vendor_credit_vendor import VendorCreditVendor @@ -390,7 +390,7 @@ class VendorCredit(UncheckedBaseModel): The company the vendor credit belongs to. """ - lines: typing.Optional[typing.List[VendorCreditLine]] = None + lines: typing.Optional[typing.List[VendorCreditLinesItem]] = None tracking_categories: typing.Optional[typing.List[typing.Optional[VendorCreditTrackingCategoriesItem]]] = None applied_to_lines: typing.Optional[typing.List["VendorCreditApplyLineForVendorCredit"]] = pydantic.Field( default=None diff --git a/src/merge/resources/accounting/types/vendor_credit_lines_item.py b/src/merge/resources/accounting/types/vendor_credit_lines_item.py new file mode 100644 index 00000000..8ffed559 --- /dev/null +++ b/src/merge/resources/accounting/types/vendor_credit_lines_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .vendor_credit_line import VendorCreditLine + +VendorCreditLinesItem = typing.Union[str, VendorCreditLine] diff --git a/src/merge/resources/accounting/types/warning_validation_problem.py b/src/merge/resources/accounting/types/warning_validation_problem.py index 4785e836..28a56c2c 100644 --- a/src/merge/resources/accounting/types/warning_validation_problem.py +++ b/src/merge/resources/accounting/types/warning_validation_problem.py @@ -13,6 +13,9 @@ class WarningValidationProblem(UncheckedBaseModel): title: str detail: str problem_type: str + block_merge_link: typing.Optional[bool] = None + raw_error: typing.Optional[str] = None + error_code: typing.Optional[int] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/__init__.py b/src/merge/resources/ats/__init__.py index 9ddb3181..496a3aa4 100644 --- a/src/merge/resources/ats/__init__.py +++ b/src/merge/resources/ats/__init__.py @@ -20,7 +20,6 @@ Activity, ActivityActivityType, ActivityRequest, - ActivityRequestActivityType, ActivityRequestUser, ActivityRequestVisibility, ActivityResponse, @@ -98,6 +97,8 @@ FieldPermissionDeserializer, FieldPermissionDeserializerRequest, GenderEnum, + IgnoreCommonModelRequest, + IgnoreCommonModelRequestReason, IndividualCommonModelScopeDeserializer, IndividualCommonModelScopeDeserializerRequest, Issue, @@ -166,6 +167,7 @@ PhoneNumberTypeEnum, RaceEnum, ReasonEnum, + RegenerateAccountToken, RejectReason, RemoteData, RemoteEndpointInfo, @@ -206,6 +208,7 @@ ScreeningQuestionAnswerRequestQuestion, ScreeningQuestionJob, ScreeningQuestionOption, + ScreeningQuestionOptionsItem, ScreeningQuestionType, ScreeningQuestionTypeEnum, SelectiveSyncConfigurationsUsageEnum, @@ -230,30 +233,30 @@ ActivitiesListRequestShowEnumOrigins, ActivitiesRetrieveRequestRemoteFields, ActivitiesRetrieveRequestShowEnumOrigins, - ApplicationsListRequestExpand, - ApplicationsRetrieveRequestExpand, + ApplicationsListRequestExpandItem, + ApplicationsRetrieveRequestExpandItem, AsyncPassthroughRetrieveResponse, - CandidatesListRequestExpand, - CandidatesRetrieveRequestExpand, + CandidatesListRequestExpandItem, + CandidatesRetrieveRequestExpandItem, EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, EndUserDetailsRequestLanguage, - IgnoreCommonModelRequestReason, - InterviewsListRequestExpand, - InterviewsRetrieveRequestExpand, + InterviewsListRequestExpandItem, + InterviewsRetrieveRequestExpandItem, IssuesListRequestStatus, JobPostingsListRequestStatus, - JobsListRequestExpand, + JobsListRequestExpandItem, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsScreeningQuestionsListRequestExpandItem, LinkedAccountsListRequestCategory, - OffersListRequestExpand, - OffersRetrieveRequestExpand, - ScorecardsListRequestExpand, - ScorecardsRetrieveRequestExpand, + OffersListRequestExpandItem, + OffersListRequestStatus, + OffersRetrieveRequestExpandItem, + ScorecardsListRequestExpandItem, + ScorecardsRetrieveRequestExpandItem, account_details, account_token, activities, @@ -306,7 +309,6 @@ "Activity": ".types", "ActivityActivityType": ".types", "ActivityRequest": ".types", - "ActivityRequestActivityType": ".types", "ActivityRequestUser": ".types", "ActivityRequestVisibility": ".types", "ActivityResponse": ".types", @@ -331,8 +333,8 @@ "ApplicationRequestScreeningQuestionAnswersItem": ".types", "ApplicationResponse": ".types", "ApplicationScreeningQuestionAnswersItem": ".types", - "ApplicationsListRequestExpand": ".resources", - "ApplicationsRetrieveRequestExpand": ".resources", + "ApplicationsListRequestExpandItem": ".resources", + "ApplicationsRetrieveRequestExpandItem": ".resources", "AsyncPassthroughReciept": ".types", "AsyncPassthroughRetrieveResponse": ".resources", "Attachment": ".types", @@ -352,8 +354,8 @@ "CandidateRequestApplicationsItem": ".types", "CandidateRequestAttachmentsItem": ".types", "CandidateResponse": ".types", - "CandidatesListRequestExpand": ".resources", - "CandidatesRetrieveRequestExpand": ".resources", + "CandidatesListRequestExpandItem": ".resources", + "CandidatesRetrieveRequestExpandItem": ".resources", "CategoriesEnum": ".types", "CategoryEnum": ".types", "CommonModelScopeApi": ".types", @@ -394,11 +396,12 @@ "FieldPermissionDeserializer": ".types", "FieldPermissionDeserializerRequest": ".types", "GenderEnum": ".types", - "IgnoreCommonModelRequestReason": ".resources", + "IgnoreCommonModelRequest": ".types", + "IgnoreCommonModelRequestReason": ".types", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", - "InterviewsListRequestExpand": ".resources", - "InterviewsRetrieveRequestExpand": ".resources", + "InterviewsListRequestExpandItem": ".resources", + "InterviewsRetrieveRequestExpandItem": ".resources", "Issue": ".types", "IssueStatus": ".types", "IssueStatusEnum": ".types", @@ -420,10 +423,10 @@ "JobStatusEnum": ".types", "JobType": ".types", "JobTypeEnum": ".types", - "JobsListRequestExpand": ".resources", + "JobsListRequestExpandItem": ".resources", "JobsListRequestStatus": ".resources", - "JobsRetrieveRequestExpand": ".resources", - "JobsScreeningQuestionsListRequestExpand": ".resources", + "JobsRetrieveRequestExpandItem": ".resources", + "JobsScreeningQuestionsListRequestExpandItem": ".resources", "LanguageEnum": ".types", "LastSyncResultEnum": ".types", "LinkToken": ".types", @@ -441,8 +444,9 @@ "OfferCreator": ".types", "OfferStatus": ".types", "OfferStatusEnum": ".types", - "OffersListRequestExpand": ".resources", - "OffersRetrieveRequestExpand": ".resources", + "OffersListRequestExpandItem": ".resources", + "OffersListRequestStatus": ".resources", + "OffersRetrieveRequestExpandItem": ".resources", "Office": ".types", "OverallRecommendationEnum": ".types", "PaginatedAccountDetailsAndActionsList": ".types", @@ -474,6 +478,7 @@ "PhoneNumberTypeEnum": ".types", "RaceEnum": ".types", "ReasonEnum": ".types", + "RegenerateAccountToken": ".types", "RejectReason": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", @@ -507,8 +512,8 @@ "ScorecardInterview": ".types", "ScorecardInterviewer": ".types", "ScorecardOverallRecommendation": ".types", - "ScorecardsListRequestExpand": ".resources", - "ScorecardsRetrieveRequestExpand": ".resources", + "ScorecardsListRequestExpandItem": ".resources", + "ScorecardsRetrieveRequestExpandItem": ".resources", "ScreeningQuestion": ".types", "ScreeningQuestionAnswer": ".types", "ScreeningQuestionAnswerQuestion": ".types", @@ -516,6 +521,7 @@ "ScreeningQuestionAnswerRequestQuestion": ".types", "ScreeningQuestionJob": ".types", "ScreeningQuestionOption": ".types", + "ScreeningQuestionOptionsItem": ".types", "ScreeningQuestionType": ".types", "ScreeningQuestionTypeEnum": ".types", "SelectiveSyncConfigurationsUsageEnum": ".types", @@ -607,7 +613,6 @@ def __dir__(): "Activity", "ActivityActivityType", "ActivityRequest", - "ActivityRequestActivityType", "ActivityRequestUser", "ActivityRequestVisibility", "ActivityResponse", @@ -632,8 +637,8 @@ def __dir__(): "ApplicationRequestScreeningQuestionAnswersItem", "ApplicationResponse", "ApplicationScreeningQuestionAnswersItem", - "ApplicationsListRequestExpand", - "ApplicationsRetrieveRequestExpand", + "ApplicationsListRequestExpandItem", + "ApplicationsRetrieveRequestExpandItem", "AsyncPassthroughReciept", "AsyncPassthroughRetrieveResponse", "Attachment", @@ -653,8 +658,8 @@ def __dir__(): "CandidateRequestApplicationsItem", "CandidateRequestAttachmentsItem", "CandidateResponse", - "CandidatesListRequestExpand", - "CandidatesRetrieveRequestExpand", + "CandidatesListRequestExpandItem", + "CandidatesRetrieveRequestExpandItem", "CategoriesEnum", "CategoryEnum", "CommonModelScopeApi", @@ -695,11 +700,12 @@ def __dir__(): "FieldPermissionDeserializer", "FieldPermissionDeserializerRequest", "GenderEnum", + "IgnoreCommonModelRequest", "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", - "InterviewsListRequestExpand", - "InterviewsRetrieveRequestExpand", + "InterviewsListRequestExpandItem", + "InterviewsRetrieveRequestExpandItem", "Issue", "IssueStatus", "IssueStatusEnum", @@ -721,10 +727,10 @@ def __dir__(): "JobStatusEnum", "JobType", "JobTypeEnum", - "JobsListRequestExpand", + "JobsListRequestExpandItem", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsScreeningQuestionsListRequestExpandItem", "LanguageEnum", "LastSyncResultEnum", "LinkToken", @@ -742,8 +748,9 @@ def __dir__(): "OfferCreator", "OfferStatus", "OfferStatusEnum", - "OffersListRequestExpand", - "OffersRetrieveRequestExpand", + "OffersListRequestExpandItem", + "OffersListRequestStatus", + "OffersRetrieveRequestExpandItem", "Office", "OverallRecommendationEnum", "PaginatedAccountDetailsAndActionsList", @@ -775,6 +782,7 @@ def __dir__(): "PhoneNumberTypeEnum", "RaceEnum", "ReasonEnum", + "RegenerateAccountToken", "RejectReason", "RemoteData", "RemoteEndpointInfo", @@ -808,8 +816,8 @@ def __dir__(): "ScorecardInterview", "ScorecardInterviewer", "ScorecardOverallRecommendation", - "ScorecardsListRequestExpand", - "ScorecardsRetrieveRequestExpand", + "ScorecardsListRequestExpandItem", + "ScorecardsRetrieveRequestExpandItem", "ScreeningQuestion", "ScreeningQuestionAnswer", "ScreeningQuestionAnswerQuestion", @@ -817,6 +825,7 @@ def __dir__(): "ScreeningQuestionAnswerRequestQuestion", "ScreeningQuestionJob", "ScreeningQuestionOption", + "ScreeningQuestionOptionsItem", "ScreeningQuestionType", "ScreeningQuestionTypeEnum", "SelectiveSyncConfigurationsUsageEnum", diff --git a/src/merge/resources/ats/resources/__init__.py b/src/merge/resources/ats/resources/__init__.py index c04b082b..b07955b7 100644 --- a/src/merge/resources/ats/resources/__init__.py +++ b/src/merge/resources/ats/resources/__init__.py @@ -47,57 +47,57 @@ ActivitiesRetrieveRequestRemoteFields, ActivitiesRetrieveRequestShowEnumOrigins, ) - from .applications import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand + from .applications import ApplicationsListRequestExpandItem, ApplicationsRetrieveRequestExpandItem from .async_passthrough import AsyncPassthroughRetrieveResponse - from .candidates import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason + from .candidates import CandidatesListRequestExpandItem, CandidatesRetrieveRequestExpandItem from .eeocs import ( EeocsListRequestRemoteFields, EeocsListRequestShowEnumOrigins, EeocsRetrieveRequestRemoteFields, EeocsRetrieveRequestShowEnumOrigins, ) - from .interviews import InterviewsListRequestExpand, InterviewsRetrieveRequestExpand + from .interviews import InterviewsListRequestExpandItem, InterviewsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus from .job_postings import JobPostingsListRequestStatus from .jobs import ( - JobsListRequestExpand, + JobsListRequestExpandItem, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsScreeningQuestionsListRequestExpandItem, ) from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .offers import OffersListRequestExpand, OffersRetrieveRequestExpand - from .scorecards import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand + from .offers import OffersListRequestExpandItem, OffersListRequestStatus, OffersRetrieveRequestExpandItem + from .scorecards import ScorecardsListRequestExpandItem, ScorecardsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "ActivitiesListRequestRemoteFields": ".activities", "ActivitiesListRequestShowEnumOrigins": ".activities", "ActivitiesRetrieveRequestRemoteFields": ".activities", "ActivitiesRetrieveRequestShowEnumOrigins": ".activities", - "ApplicationsListRequestExpand": ".applications", - "ApplicationsRetrieveRequestExpand": ".applications", + "ApplicationsListRequestExpandItem": ".applications", + "ApplicationsRetrieveRequestExpandItem": ".applications", "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "CandidatesListRequestExpand": ".candidates", - "CandidatesRetrieveRequestExpand": ".candidates", + "CandidatesListRequestExpandItem": ".candidates", + "CandidatesRetrieveRequestExpandItem": ".candidates", "EeocsListRequestRemoteFields": ".eeocs", "EeocsListRequestShowEnumOrigins": ".eeocs", "EeocsRetrieveRequestRemoteFields": ".eeocs", "EeocsRetrieveRequestShowEnumOrigins": ".eeocs", "EndUserDetailsRequestLanguage": ".link_token", - "IgnoreCommonModelRequestReason": ".candidates", - "InterviewsListRequestExpand": ".interviews", - "InterviewsRetrieveRequestExpand": ".interviews", + "InterviewsListRequestExpandItem": ".interviews", + "InterviewsRetrieveRequestExpandItem": ".interviews", "IssuesListRequestStatus": ".issues", "JobPostingsListRequestStatus": ".job_postings", - "JobsListRequestExpand": ".jobs", + "JobsListRequestExpandItem": ".jobs", "JobsListRequestStatus": ".jobs", - "JobsRetrieveRequestExpand": ".jobs", - "JobsScreeningQuestionsListRequestExpand": ".jobs", + "JobsRetrieveRequestExpandItem": ".jobs", + "JobsScreeningQuestionsListRequestExpandItem": ".jobs", "LinkedAccountsListRequestCategory": ".linked_accounts", - "OffersListRequestExpand": ".offers", - "OffersRetrieveRequestExpand": ".offers", - "ScorecardsListRequestExpand": ".scorecards", - "ScorecardsRetrieveRequestExpand": ".scorecards", + "OffersListRequestExpandItem": ".offers", + "OffersListRequestStatus": ".offers", + "OffersRetrieveRequestExpandItem": ".offers", + "ScorecardsListRequestExpandItem": ".scorecards", + "ScorecardsRetrieveRequestExpandItem": ".scorecards", "account_details": ".", "account_token": ".", "activities": ".", @@ -158,30 +158,30 @@ def __dir__(): "ActivitiesListRequestShowEnumOrigins", "ActivitiesRetrieveRequestRemoteFields", "ActivitiesRetrieveRequestShowEnumOrigins", - "ApplicationsListRequestExpand", - "ApplicationsRetrieveRequestExpand", + "ApplicationsListRequestExpandItem", + "ApplicationsRetrieveRequestExpandItem", "AsyncPassthroughRetrieveResponse", - "CandidatesListRequestExpand", - "CandidatesRetrieveRequestExpand", + "CandidatesListRequestExpandItem", + "CandidatesRetrieveRequestExpandItem", "EeocsListRequestRemoteFields", "EeocsListRequestShowEnumOrigins", "EeocsRetrieveRequestRemoteFields", "EeocsRetrieveRequestShowEnumOrigins", "EndUserDetailsRequestLanguage", - "IgnoreCommonModelRequestReason", - "InterviewsListRequestExpand", - "InterviewsRetrieveRequestExpand", + "InterviewsListRequestExpandItem", + "InterviewsRetrieveRequestExpandItem", "IssuesListRequestStatus", "JobPostingsListRequestStatus", - "JobsListRequestExpand", + "JobsListRequestExpandItem", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsScreeningQuestionsListRequestExpandItem", "LinkedAccountsListRequestCategory", - "OffersListRequestExpand", - "OffersRetrieveRequestExpand", - "ScorecardsListRequestExpand", - "ScorecardsRetrieveRequestExpand", + "OffersListRequestExpandItem", + "OffersListRequestStatus", + "OffersRetrieveRequestExpandItem", + "ScorecardsListRequestExpandItem", + "ScorecardsRetrieveRequestExpandItem", "account_details", "account_token", "activities", diff --git a/src/merge/resources/ats/resources/account_token/client.py b/src/merge/resources/ats/resources/account_token/client.py index eadd660b..628e1e3e 100644 --- a/src/merge/resources/ats/resources/account_token/client.py +++ b/src/merge/resources/ats/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.ats.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.ats.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ats/resources/account_token/raw_client.py b/src/merge/resources/ats/resources/account_token/raw_client.py index c8478970..4baf51d2 100644 --- a/src/merge/resources/ats/resources/account_token/raw_client.py +++ b/src/merge/resources/ats/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "ats/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "ats/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/ats/resources/activities/client.py b/src/merge/resources/ats/resources/activities/client.py index f7499b30..823234d7 100644 --- a/src/merge/resources/ats/resources/activities/client.py +++ b/src/merge/resources/ats/resources/activities/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.activity import Activity from ...types.activity_request import ActivityRequest from ...types.activity_response import ActivityResponse from ...types.meta_response import MetaResponse -from ...types.paginated_activity_list import PaginatedActivityList from .raw_client import AsyncRawActivitiesClient, RawActivitiesClient from .types.activities_list_request_remote_fields import ActivitiesListRequestRemoteFields from .types.activities_list_request_show_enum_origins import ActivitiesListRequestShowEnumOrigins @@ -41,7 +41,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +53,7 @@ def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedActivityList: + ) -> SyncPager[Activity]: """ Returns a list of `Activity` objects. @@ -68,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -87,7 +87,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[ActivitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -106,7 +106,7 @@ def list( Returns ------- - PaginatedActivityList + SyncPager[Activity] Examples @@ -123,7 +123,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.activities.list( + response = client.ats.activities.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -146,8 +146,13 @@ def list( show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, user_id="user_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -164,7 +169,6 @@ def list( user_id=user_id, request_options=request_options, ) - return _response.data def create( self, @@ -227,7 +231,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -241,7 +245,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -344,7 +348,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -356,7 +360,7 @@ async def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedActivityList: + ) -> AsyncPager[Activity]: """ Returns a list of `Activity` objects. @@ -371,7 +375,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -390,7 +394,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[ActivitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -409,7 +413,7 @@ async def list( Returns ------- - PaginatedActivityList + AsyncPager[Activity] Examples @@ -430,7 +434,7 @@ async def list( async def main() -> None: - await client.ats.activities.list( + response = await client.ats.activities.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -453,11 +457,17 @@ async def main() -> None: show_enum_origins=ActivitiesListRequestShowEnumOrigins.ACTIVITY_TYPE, user_id="user_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -474,7 +484,6 @@ async def main() -> None: user_id=user_id, request_options=request_options, ) - return _response.data async def create( self, @@ -545,7 +554,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -559,7 +568,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/activities/raw_client.py b/src/merge/resources/ats/resources/activities/raw_client.py index f707a679..bf525194 100644 --- a/src/merge/resources/ats/resources/activities/raw_client.py +++ b/src/merge/resources/ats/resources/activities/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.activity import Activity @@ -35,7 +36,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +48,7 @@ def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedActivityList]: + ) -> SyncPager[Activity]: """ Returns a list of `Activity` objects. @@ -62,7 +63,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -81,7 +82,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[ActivitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -100,7 +101,7 @@ def list( Returns ------- - HttpResponse[PaginatedActivityList] + SyncPager[Activity] """ _response = self._client_wrapper.httpx_client.request( @@ -126,14 +127,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedActivityList, construct_type( type_=PaginatedActivityList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + user_id=user_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -207,7 +230,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -221,7 +244,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -318,7 +341,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -330,7 +353,7 @@ async def list( show_enum_origins: typing.Optional[ActivitiesListRequestShowEnumOrigins] = None, user_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedActivityList]: + ) -> AsyncPager[Activity]: """ Returns a list of `Activity` objects. @@ -345,7 +368,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -364,7 +387,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[ActivitiesListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -383,7 +406,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedActivityList] + AsyncPager[Activity] """ _response = await self._client_wrapper.httpx_client.request( @@ -409,14 +432,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedActivityList, construct_type( type_=PaginatedActivityList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + user_id=user_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -490,7 +538,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["user"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[ActivitiesRetrieveRequestRemoteFields] = None, @@ -504,7 +552,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["user"]] + expand : typing.Optional[typing.Union[typing.Literal["user"], typing.Sequence[typing.Literal["user"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/applications/__init__.py b/src/merge/resources/ats/resources/applications/__init__.py index 1dddf3ff..e7b1622c 100644 --- a/src/merge/resources/ats/resources/applications/__init__.py +++ b/src/merge/resources/ats/resources/applications/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ApplicationsListRequestExpand, ApplicationsRetrieveRequestExpand + from .types import ApplicationsListRequestExpandItem, ApplicationsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ApplicationsListRequestExpand": ".types", - "ApplicationsRetrieveRequestExpand": ".types", + "ApplicationsListRequestExpandItem": ".types", + "ApplicationsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ApplicationsListRequestExpand", "ApplicationsRetrieveRequestExpand"] +__all__ = ["ApplicationsListRequestExpandItem", "ApplicationsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/applications/client.py b/src/merge/resources/ats/resources/applications/client.py index a9eafd97..3934d22f 100644 --- a/src/merge/resources/ats/resources/applications/client.py +++ b/src/merge/resources/ats/resources/applications/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.application import Application from ...types.application_request import ApplicationRequest from ...types.application_response import ApplicationResponse from ...types.meta_response import MetaResponse -from ...types.paginated_application_list import PaginatedApplicationList from .raw_client import AsyncRawApplicationsClient, RawApplicationsClient -from .types.applications_list_request_expand import ApplicationsListRequestExpand -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand +from .types.applications_list_request_expand_item import ApplicationsListRequestExpandItem +from .types.applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +42,9 @@ def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -54,7 +56,7 @@ def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedApplicationList: + ) -> SyncPager[Application]: """ Returns a list of `Application` objects. @@ -78,7 +80,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -116,7 +118,7 @@ def list( Returns ------- - PaginatedApplicationList + SyncPager[Application] Examples @@ -124,15 +126,12 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.applications.list( + response = client.ats.applications.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -143,7 +142,6 @@ def list( credited_to_id="credited_to_id", current_stage_id="current_stage_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -159,8 +157,13 @@ def list( remote_id="remote_id", source="source", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -180,7 +183,6 @@ def list( source=source, request_options=request_options, ) - return _response.data def create( self, @@ -246,7 +248,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -258,7 +262,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -278,9 +282,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -288,7 +289,6 @@ def retrieve( ) client.ats.applications.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, include_remote_data=True, include_shell_data=True, ) @@ -426,7 +426,9 @@ async def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -438,7 +440,7 @@ async def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedApplicationList: + ) -> AsyncPager[Application]: """ Returns a list of `Application` objects. @@ -462,7 +464,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -500,7 +502,7 @@ async def list( Returns ------- - PaginatedApplicationList + AsyncPager[Application] Examples @@ -509,9 +511,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.applications import ( - ApplicationsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -520,7 +519,7 @@ async def list( async def main() -> None: - await client.ats.applications.list( + response = await client.ats.applications.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -531,7 +530,6 @@ async def main() -> None: credited_to_id="credited_to_id", current_stage_id="current_stage_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ApplicationsListRequestExpand.CANDIDATE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -547,11 +545,17 @@ async def main() -> None: remote_id="remote_id", source="source", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -571,7 +575,6 @@ async def main() -> None: source=source, request_options=request_options, ) - return _response.data async def create( self, @@ -645,7 +648,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -657,7 +662,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -679,9 +684,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.applications import ( - ApplicationsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -692,7 +694,6 @@ async def retrieve( async def main() -> None: await client.ats.applications.retrieve( id="id", - expand=ApplicationsRetrieveRequestExpand.CANDIDATE, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/applications/raw_client.py b/src/merge/resources/ats/resources/applications/raw_client.py index a6d3ec0e..fca7ce4a 100644 --- a/src/merge/resources/ats/resources/applications/raw_client.py +++ b/src/merge/resources/ats/resources/applications/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.application import Application @@ -16,8 +17,8 @@ from ...types.application_response import ApplicationResponse from ...types.meta_response import MetaResponse from ...types.paginated_application_list import PaginatedApplicationList -from .types.applications_list_request_expand import ApplicationsListRequestExpand -from .types.applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand +from .types.applications_list_request_expand_item import ApplicationsListRequestExpandItem +from .types.applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +37,9 @@ def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedApplicationList]: + ) -> SyncPager[Application]: """ Returns a list of `Application` objects. @@ -72,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedApplicationList] + SyncPager[Application] """ _response = self._client_wrapper.httpx_client.request( @@ -139,14 +142,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedApplicationList, construct_type( type_=PaginatedApplicationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + credited_to_id=credited_to_id, + current_stage_id=current_stage_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + reject_reason_id=reject_reason_id, + remote_id=remote_id, + source=source, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -223,7 +251,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -235,7 +265,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -404,7 +434,9 @@ async def list( credited_to_id: typing.Optional[str] = None, current_stage_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ApplicationsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -416,7 +448,7 @@ async def list( remote_id: typing.Optional[str] = None, source: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedApplicationList]: + ) -> AsyncPager[Application]: """ Returns a list of `Application` objects. @@ -440,7 +472,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ApplicationsListRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsListRequestExpandItem, typing.Sequence[ApplicationsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -478,7 +510,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedApplicationList] + AsyncPager[Application] """ _response = await self._client_wrapper.httpx_client.request( @@ -507,14 +539,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedApplicationList, construct_type( type_=PaginatedApplicationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + credited_to_id=credited_to_id, + current_stage_id=current_stage_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + reject_reason_id=reject_reason_id, + remote_id=remote_id, + source=source, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -591,7 +651,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ApplicationsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -603,7 +665,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ApplicationsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ApplicationsRetrieveRequestExpandItem, typing.Sequence[ApplicationsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/applications/types/__init__.py b/src/merge/resources/ats/resources/applications/types/__init__.py index 7a14f0e3..35c9fbb8 100644 --- a/src/merge/resources/ats/resources/applications/types/__init__.py +++ b/src/merge/resources/ats/resources/applications/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .applications_list_request_expand import ApplicationsListRequestExpand - from .applications_retrieve_request_expand import ApplicationsRetrieveRequestExpand + from .applications_list_request_expand_item import ApplicationsListRequestExpandItem + from .applications_retrieve_request_expand_item import ApplicationsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ApplicationsListRequestExpand": ".applications_list_request_expand", - "ApplicationsRetrieveRequestExpand": ".applications_retrieve_request_expand", + "ApplicationsListRequestExpandItem": ".applications_list_request_expand_item", + "ApplicationsRetrieveRequestExpandItem": ".applications_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ApplicationsListRequestExpand", "ApplicationsRetrieveRequestExpand"] +__all__ = ["ApplicationsListRequestExpandItem", "ApplicationsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py deleted file mode 100644 index bdef9e51..00000000 --- a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand.py +++ /dev/null @@ -1,1737 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ApplicationsListRequestExpand(str, enum.Enum): - CANDIDATE = "candidate" - CANDIDATE_CREDITED_TO = "candidate,credited_to" - CANDIDATE_CREDITED_TO_CURRENT_STAGE = "candidate,credited_to,current_stage" - CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,credited_to,current_stage,reject_reason" - CANDIDATE_CREDITED_TO_REJECT_REASON = "candidate,credited_to,reject_reason" - CANDIDATE_CURRENT_STAGE = "candidate,current_stage" - CANDIDATE_CURRENT_STAGE_REJECT_REASON = "candidate,current_stage,reject_reason" - CANDIDATE_JOB = "candidate,job" - CANDIDATE_JOB_CREDITED_TO = "candidate,job,credited_to" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "candidate,job,credited_to,current_stage" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,job,credited_to,current_stage,reject_reason" - CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "candidate,job,credited_to,reject_reason" - CANDIDATE_JOB_CURRENT_STAGE = "candidate,job,current_stage" - CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "candidate,job,current_stage,reject_reason" - CANDIDATE_JOB_REJECT_REASON = "candidate,job,reject_reason" - CANDIDATE_REJECT_REASON = "candidate,reject_reason" - CREDITED_TO = "credited_to" - CREDITED_TO_CURRENT_STAGE = "credited_to,current_stage" - CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "credited_to,current_stage,reject_reason" - CREDITED_TO_REJECT_REASON = "credited_to,reject_reason" - CURRENT_STAGE = "current_stage" - CURRENT_STAGE_REJECT_REASON = "current_stage,reject_reason" - JOB = "job" - JOB_CREDITED_TO = "job,credited_to" - JOB_CREDITED_TO_CURRENT_STAGE = "job,credited_to,current_stage" - JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "job,credited_to,current_stage,reject_reason" - JOB_CREDITED_TO_REJECT_REASON = "job,credited_to,reject_reason" - JOB_CURRENT_STAGE = "job,current_stage" - JOB_CURRENT_STAGE_REJECT_REASON = "job,current_stage,reject_reason" - JOB_REJECT_REASON = "job,reject_reason" - OFFERS = "offers" - OFFERS_CANDIDATE = "offers,candidate" - OFFERS_CANDIDATE_CREDITED_TO = "offers,candidate,credited_to" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,candidate,credited_to,current_stage" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,candidate,credited_to,reject_reason" - OFFERS_CANDIDATE_CURRENT_STAGE = "offers,candidate,current_stage" - OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,candidate,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB = "offers,candidate,job" - OFFERS_CANDIDATE_JOB_CREDITED_TO = "offers,candidate,job,credited_to" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,candidate,job,credited_to,current_stage" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,candidate,job,credited_to,reject_reason" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,candidate,job,current_stage" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,candidate,job,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB_REJECT_REASON = "offers,candidate,job,reject_reason" - OFFERS_CANDIDATE_REJECT_REASON = "offers,candidate,reject_reason" - OFFERS_CREDITED_TO = "offers,credited_to" - OFFERS_CREDITED_TO_CURRENT_STAGE = "offers,credited_to,current_stage" - OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,credited_to,current_stage,reject_reason" - OFFERS_CREDITED_TO_REJECT_REASON = "offers,credited_to,reject_reason" - OFFERS_CURRENT_STAGE = "offers,current_stage" - OFFERS_CURRENT_STAGE_REJECT_REASON = "offers,current_stage,reject_reason" - OFFERS_JOB = "offers,job" - OFFERS_JOB_CREDITED_TO = "offers,job,credited_to" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,job,credited_to,current_stage" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,job,credited_to,current_stage,reject_reason" - OFFERS_JOB_CREDITED_TO_REJECT_REASON = "offers,job,credited_to,reject_reason" - OFFERS_JOB_CURRENT_STAGE = "offers,job,current_stage" - OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" - OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" - OFFERS_REJECT_REASON = "offers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "offers,screening_question_answers,screening_question_answers.question" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers.question,reject_reason" - ) - REJECT_REASON = "reject_reason" - SCREENING_QUESTION_ANSWERS = "screening_question_answers" - SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" - SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" - SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" - SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "screening_question_answers,screening_question_answers.question" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "screening_question_answers,screening_question_answers.question,candidate" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "screening_question_answers,screening_question_answers.question,candidate,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "screening_question_answers,screening_question_answers.question,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" - SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" - - def visit( - self, - candidate: typing.Callable[[], T_Result], - candidate_credited_to: typing.Callable[[], T_Result], - candidate_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_current_stage: typing.Callable[[], T_Result], - candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job: typing.Callable[[], T_Result], - candidate_job_credited_to: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_job_current_stage: typing.Callable[[], T_Result], - candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_reject_reason: typing.Callable[[], T_Result], - candidate_reject_reason: typing.Callable[[], T_Result], - credited_to: typing.Callable[[], T_Result], - credited_to_current_stage: typing.Callable[[], T_Result], - credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - credited_to_reject_reason: typing.Callable[[], T_Result], - current_stage: typing.Callable[[], T_Result], - current_stage_reject_reason: typing.Callable[[], T_Result], - job: typing.Callable[[], T_Result], - job_credited_to: typing.Callable[[], T_Result], - job_credited_to_current_stage: typing.Callable[[], T_Result], - job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - job_credited_to_reject_reason: typing.Callable[[], T_Result], - job_current_stage: typing.Callable[[], T_Result], - job_current_stage_reject_reason: typing.Callable[[], T_Result], - job_reject_reason: typing.Callable[[], T_Result], - offers: typing.Callable[[], T_Result], - offers_candidate: typing.Callable[[], T_Result], - offers_candidate_credited_to: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_current_stage: typing.Callable[[], T_Result], - offers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job: typing.Callable[[], T_Result], - offers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_credited_to: typing.Callable[[], T_Result], - offers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_current_stage: typing.Callable[[], T_Result], - offers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job: typing.Callable[[], T_Result], - offers_job_credited_to: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_job_current_stage: typing.Callable[[], T_Result], - offers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_reject_reason: typing.Callable[[], T_Result], - offers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - reject_reason: typing.Callable[[], T_Result], - screening_question_answers: typing.Callable[[], T_Result], - screening_question_answers_candidate: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_current_stage: typing.Callable[[], T_Result], - screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ApplicationsListRequestExpand.CANDIDATE: - return candidate() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO: - return candidate_credited_to() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return candidate_credited_to_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_CREDITED_TO_REJECT_REASON: - return candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_CURRENT_STAGE: - return candidate_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB: - return candidate_job() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO: - return candidate_job_credited_to() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return candidate_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CURRENT_STAGE: - return candidate_job_current_stage() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_JOB_REJECT_REASON: - return candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.CANDIDATE_REJECT_REASON: - return candidate_reject_reason() - if self is ApplicationsListRequestExpand.CREDITED_TO: - return credited_to() - if self is ApplicationsListRequestExpand.CREDITED_TO_CURRENT_STAGE: - return credited_to_current_stage() - if self is ApplicationsListRequestExpand.CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.CREDITED_TO_REJECT_REASON: - return credited_to_reject_reason() - if self is ApplicationsListRequestExpand.CURRENT_STAGE: - return current_stage() - if self is ApplicationsListRequestExpand.CURRENT_STAGE_REJECT_REASON: - return current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB: - return job() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO: - return job_credited_to() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE: - return job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB_CREDITED_TO_REJECT_REASON: - return job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.JOB_CURRENT_STAGE: - return job_current_stage() - if self is ApplicationsListRequestExpand.JOB_CURRENT_STAGE_REJECT_REASON: - return job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.JOB_REJECT_REASON: - return job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS: - return offers() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE: - return offers_candidate() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO: - return offers_candidate_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE: - return offers_candidate_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB: - return offers_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO: - return offers_candidate_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return offers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_candidate_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_JOB_REJECT_REASON: - return offers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CANDIDATE_REJECT_REASON: - return offers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO: - return offers_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE: - return offers_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CREDITED_TO_REJECT_REASON: - return offers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_CURRENT_STAGE: - return offers_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_CURRENT_STAGE_REJECT_REASON: - return offers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB: - return offers_job() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO: - return offers_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CURRENT_STAGE: - return offers_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_JOB_REJECT_REASON: - return offers_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_REJECT_REASON: - return offers_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS: - return offers_screening_question_answers() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE: - return offers_screening_question_answers_candidate() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_candidate_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return offers_screening_question_answers_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return offers_screening_question_answers_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return offers_screening_question_answers_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB: - return offers_screening_question_answers_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return offers_screening_question_answers_job_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return offers_screening_question_answers_job_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return offers_screening_question_answers_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return offers_screening_question_answers_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return ( - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_question() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return offers_screening_question_answers_question_candidate() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return offers_screening_question_answers_question_candidate_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return offers_screening_question_answers_question_credited_to() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return offers_screening_question_answers_question_current_stage() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return offers_screening_question_answers_question_job() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return offers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return offers_screening_question_answers_question_job_reject_reason() - if self is ApplicationsListRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return offers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.REJECT_REASON: - return reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS: - return screening_question_answers() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE: - return screening_question_answers_candidate() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return screening_question_answers_candidate_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_candidate_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return screening_question_answers_candidate_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_candidate_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_candidate_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return screening_question_answers_candidate_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return screening_question_answers_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_credited_to_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return screening_question_answers_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return screening_question_answers_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB: - return screening_question_answers_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return screening_question_answers_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_job_credited_to_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return screening_question_answers_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return screening_question_answers_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return screening_question_answers_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - ) - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_question() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return screening_question_answers_question_candidate() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return screening_question_answers_question_candidate_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return screening_question_answers_question_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return screening_question_answers_question_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_question_job() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return screening_question_answers_question_job_credited_to() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return screening_question_answers_question_job_current_stage() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return screening_question_answers_question_job_reject_reason() - if self is ApplicationsListRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return screening_question_answers_question_reject_reason() diff --git a/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py new file mode 100644 index 00000000..3c9011af --- /dev/null +++ b/src/merge/resources/ats/resources/applications/types/applications_list_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ApplicationsListRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + CREDITED_TO = "credited_to" + CURRENT_STAGE = "current_stage" + JOB = "job" + OFFERS = "offers" + REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + + def visit( + self, + candidate: typing.Callable[[], T_Result], + credited_to: typing.Callable[[], T_Result], + current_stage: typing.Callable[[], T_Result], + job: typing.Callable[[], T_Result], + offers: typing.Callable[[], T_Result], + reject_reason: typing.Callable[[], T_Result], + screening_question_answers: typing.Callable[[], T_Result], + screening_question_answers_question: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ApplicationsListRequestExpandItem.CANDIDATE: + return candidate() + if self is ApplicationsListRequestExpandItem.CREDITED_TO: + return credited_to() + if self is ApplicationsListRequestExpandItem.CURRENT_STAGE: + return current_stage() + if self is ApplicationsListRequestExpandItem.JOB: + return job() + if self is ApplicationsListRequestExpandItem.OFFERS: + return offers() + if self is ApplicationsListRequestExpandItem.REJECT_REASON: + return reject_reason() + if self is ApplicationsListRequestExpandItem.SCREENING_QUESTION_ANSWERS: + return screening_question_answers() + if self is ApplicationsListRequestExpandItem.SCREENING_QUESTION_ANSWERS_QUESTION: + return screening_question_answers_question() diff --git a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py deleted file mode 100644 index c0c519ed..00000000 --- a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand.py +++ /dev/null @@ -1,1773 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ApplicationsRetrieveRequestExpand(str, enum.Enum): - CANDIDATE = "candidate" - CANDIDATE_CREDITED_TO = "candidate,credited_to" - CANDIDATE_CREDITED_TO_CURRENT_STAGE = "candidate,credited_to,current_stage" - CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,credited_to,current_stage,reject_reason" - CANDIDATE_CREDITED_TO_REJECT_REASON = "candidate,credited_to,reject_reason" - CANDIDATE_CURRENT_STAGE = "candidate,current_stage" - CANDIDATE_CURRENT_STAGE_REJECT_REASON = "candidate,current_stage,reject_reason" - CANDIDATE_JOB = "candidate,job" - CANDIDATE_JOB_CREDITED_TO = "candidate,job,credited_to" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "candidate,job,credited_to,current_stage" - CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "candidate,job,credited_to,current_stage,reject_reason" - CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "candidate,job,credited_to,reject_reason" - CANDIDATE_JOB_CURRENT_STAGE = "candidate,job,current_stage" - CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "candidate,job,current_stage,reject_reason" - CANDIDATE_JOB_REJECT_REASON = "candidate,job,reject_reason" - CANDIDATE_REJECT_REASON = "candidate,reject_reason" - CREDITED_TO = "credited_to" - CREDITED_TO_CURRENT_STAGE = "credited_to,current_stage" - CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "credited_to,current_stage,reject_reason" - CREDITED_TO_REJECT_REASON = "credited_to,reject_reason" - CURRENT_STAGE = "current_stage" - CURRENT_STAGE_REJECT_REASON = "current_stage,reject_reason" - JOB = "job" - JOB_CREDITED_TO = "job,credited_to" - JOB_CREDITED_TO_CURRENT_STAGE = "job,credited_to,current_stage" - JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "job,credited_to,current_stage,reject_reason" - JOB_CREDITED_TO_REJECT_REASON = "job,credited_to,reject_reason" - JOB_CURRENT_STAGE = "job,current_stage" - JOB_CURRENT_STAGE_REJECT_REASON = "job,current_stage,reject_reason" - JOB_REJECT_REASON = "job,reject_reason" - OFFERS = "offers" - OFFERS_CANDIDATE = "offers,candidate" - OFFERS_CANDIDATE_CREDITED_TO = "offers,candidate,credited_to" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,candidate,credited_to,current_stage" - OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,candidate,credited_to,reject_reason" - OFFERS_CANDIDATE_CURRENT_STAGE = "offers,candidate,current_stage" - OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,candidate,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB = "offers,candidate,job" - OFFERS_CANDIDATE_JOB_CREDITED_TO = "offers,candidate,job,credited_to" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,candidate,job,credited_to,current_stage" - OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,candidate,job,credited_to,reject_reason" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,candidate,job,current_stage" - OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,candidate,job,current_stage,reject_reason" - OFFERS_CANDIDATE_JOB_REJECT_REASON = "offers,candidate,job,reject_reason" - OFFERS_CANDIDATE_REJECT_REASON = "offers,candidate,reject_reason" - OFFERS_CREDITED_TO = "offers,credited_to" - OFFERS_CREDITED_TO_CURRENT_STAGE = "offers,credited_to,current_stage" - OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,credited_to,current_stage,reject_reason" - OFFERS_CREDITED_TO_REJECT_REASON = "offers,credited_to,reject_reason" - OFFERS_CURRENT_STAGE = "offers,current_stage" - OFFERS_CURRENT_STAGE_REJECT_REASON = "offers,current_stage,reject_reason" - OFFERS_JOB = "offers,job" - OFFERS_JOB_CREDITED_TO = "offers,job,credited_to" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,job,credited_to,current_stage" - OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,job,credited_to,current_stage,reject_reason" - OFFERS_JOB_CREDITED_TO_REJECT_REASON = "offers,job,credited_to,reject_reason" - OFFERS_JOB_CURRENT_STAGE = "offers,job,current_stage" - OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" - OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" - OFFERS_REJECT_REASON = "offers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "offers,screening_question_answers,screening_question_answers.question" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "offers,screening_question_answers,screening_question_answers.question,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers,screening_question_answers.question,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "offers,screening_question_answers.question,candidate,job" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,candidate,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,candidate,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "offers,screening_question_answers.question,candidate,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "offers,screening_question_answers.question,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "offers,screening_question_answers.question,job,credited_to" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,credited_to,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "offers,screening_question_answers.question,job,credited_to,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "offers,screening_question_answers.question,job,current_stage" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "offers,screening_question_answers.question,job,current_stage,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "offers,screening_question_answers.question,job,reject_reason" - ) - OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "offers,screening_question_answers.question,reject_reason" - ) - REJECT_REASON = "reject_reason" - SCREENING_QUESTION_ANSWERS = "screening_question_answers" - SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" - SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" - SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" - SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" - SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" - SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" - SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = ( - "screening_question_answers,screening_question_answers.question" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = ( - "screening_question_answers,screening_question_answers.question,candidate" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = ( - "screening_question_answers,screening_question_answers.question,candidate,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = ( - "screening_question_answers,screening_question_answers.question,job" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = ( - "screening_question_answers,screening_question_answers.question,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = ( - "screening_question_answers,screening_question_answers.question,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = ( - "screening_question_answers,screening_question_answers.question,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = ( - "screening_question_answers.question,candidate,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = ( - "screening_question_answers.question,candidate,job,credited_to" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = ( - "screening_question_answers.question,candidate,job,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = ( - "screening_question_answers.question,candidate,job,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = ( - "screening_question_answers.question,candidate,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = ( - "screening_question_answers.question,job,credited_to,current_stage" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = ( - "screening_question_answers.question,job,credited_to,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = ( - "screening_question_answers.question,job,current_stage,reject_reason" - ) - SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" - SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" - - def visit( - self, - candidate: typing.Callable[[], T_Result], - candidate_credited_to: typing.Callable[[], T_Result], - candidate_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_current_stage: typing.Callable[[], T_Result], - candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job: typing.Callable[[], T_Result], - candidate_job_credited_to: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - candidate_job_current_stage: typing.Callable[[], T_Result], - candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - candidate_job_reject_reason: typing.Callable[[], T_Result], - candidate_reject_reason: typing.Callable[[], T_Result], - credited_to: typing.Callable[[], T_Result], - credited_to_current_stage: typing.Callable[[], T_Result], - credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - credited_to_reject_reason: typing.Callable[[], T_Result], - current_stage: typing.Callable[[], T_Result], - current_stage_reject_reason: typing.Callable[[], T_Result], - job: typing.Callable[[], T_Result], - job_credited_to: typing.Callable[[], T_Result], - job_credited_to_current_stage: typing.Callable[[], T_Result], - job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - job_credited_to_reject_reason: typing.Callable[[], T_Result], - job_current_stage: typing.Callable[[], T_Result], - job_current_stage_reject_reason: typing.Callable[[], T_Result], - job_reject_reason: typing.Callable[[], T_Result], - offers: typing.Callable[[], T_Result], - offers_candidate: typing.Callable[[], T_Result], - offers_candidate_credited_to: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_current_stage: typing.Callable[[], T_Result], - offers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job: typing.Callable[[], T_Result], - offers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_credited_to: typing.Callable[[], T_Result], - offers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_current_stage: typing.Callable[[], T_Result], - offers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job: typing.Callable[[], T_Result], - offers_job_credited_to: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_job_current_stage: typing.Callable[[], T_Result], - offers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_job_reject_reason: typing.Callable[[], T_Result], - offers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - offers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - offers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - reject_reason: typing.Callable[[], T_Result], - screening_question_answers: typing.Callable[[], T_Result], - screening_question_answers_candidate: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_current_stage: typing.Callable[[], T_Result], - screening_question_answers_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_job_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_candidate_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question: typing.Callable[[], T_Result], - screening_question_answers_question_candidate: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason: typing.Callable[ - [], T_Result - ], - screening_question_answers_question_candidate_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_candidate_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_credited_to_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage: typing.Callable[[], T_Result], - screening_question_answers_question_job_current_stage_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_job_reject_reason: typing.Callable[[], T_Result], - screening_question_answers_question_reject_reason: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ApplicationsRetrieveRequestExpand.CANDIDATE: - return candidate() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO: - return candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return candidate_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CREDITED_TO_REJECT_REASON: - return candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CURRENT_STAGE: - return candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB: - return candidate_job() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO: - return candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return candidate_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CURRENT_STAGE: - return candidate_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_JOB_REJECT_REASON: - return candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CANDIDATE_REJECT_REASON: - return candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO: - return credited_to() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_CURRENT_STAGE: - return credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CREDITED_TO_REJECT_REASON: - return credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.CURRENT_STAGE: - return current_stage() - if self is ApplicationsRetrieveRequestExpand.CURRENT_STAGE_REJECT_REASON: - return current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB: - return job() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO: - return job_credited_to() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE: - return job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_CREDITED_TO_REJECT_REASON: - return job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_CURRENT_STAGE: - return job_current_stage() - if self is ApplicationsRetrieveRequestExpand.JOB_CURRENT_STAGE_REJECT_REASON: - return job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.JOB_REJECT_REASON: - return job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS: - return offers() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE: - return offers_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO: - return offers_candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return offers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE: - return offers_candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB: - return offers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO: - return offers_candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_candidate_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return offers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_candidate_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_JOB_REJECT_REASON: - return offers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CANDIDATE_REJECT_REASON: - return offers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO: - return offers_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE: - return offers_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CREDITED_TO_REJECT_REASON: - return offers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CURRENT_STAGE: - return offers_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_CURRENT_STAGE_REJECT_REASON: - return offers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB: - return offers_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO: - return offers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_job_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return offers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CURRENT_STAGE: - return offers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_JOB_REJECT_REASON: - return offers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_REJECT_REASON: - return offers_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS: - return offers_screening_question_answers() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE: - return offers_screening_question_answers_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return offers_screening_question_answers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return offers_screening_question_answers_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return offers_screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return offers_screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return offers_screening_question_answers_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return offers_screening_question_answers_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB: - return offers_screening_question_answers_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return offers_screening_question_answers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return offers_screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return offers_screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return offers_screening_question_answers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return offers_screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return offers_screening_question_answers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return offers_screening_question_answers_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION - ): - return offers_screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB - ): - return offers_screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return ( - offers_screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return offers_screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return offers_screening_question_answers_question() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return offers_screening_question_answers_question_candidate() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return offers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return offers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return offers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return offers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return offers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return offers_screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return offers_screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return offers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return offers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return offers_screening_question_answers_question_job() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return offers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return offers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return offers_screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return offers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return offers_screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return offers_screening_question_answers_question_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return offers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.REJECT_REASON: - return reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS: - return screening_question_answers() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE: - return screening_question_answers_candidate() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO: - return screening_question_answers_candidate_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_candidate_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB: - return screening_question_answers_candidate_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_candidate_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON: - return screening_question_answers_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO: - return screening_question_answers_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_credited_to_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON: - return screening_question_answers_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE: - return screening_question_answers_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB: - return screening_question_answers_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO: - return screening_question_answers_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE: - return screening_question_answers_job_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON: - return screening_question_answers_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_REJECT_REASON: - return screening_question_answers_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_screening_question_answers_question() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE - ): - return screening_question_answers_screening_question_answers_question_candidate() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB - ): - return screening_question_answers_screening_question_answers_question_candidate_job() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_candidate_job_credited_to_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_candidate_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return ( - screening_question_answers_screening_question_answers_question_credited_to_current_stage_reject_reason() - ) - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_screening_question_answers_question_job() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO - ): - return screening_question_answers_screening_question_answers_question_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_credited_to_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE - ): - return screening_question_answers_screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_job_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON - ): - return screening_question_answers_screening_question_answers_question_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION: - return screening_question_answers_question() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE: - return screening_question_answers_question_candidate() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO: - return screening_question_answers_question_candidate_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE: - return screening_question_answers_question_candidate_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB: - return screening_question_answers_question_candidate_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO: - return screening_question_answers_question_candidate_job_credited_to() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_current_stage_reject_reason() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE: - return screening_question_answers_question_candidate_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_candidate_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON: - return screening_question_answers_question_candidate_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON: - return screening_question_answers_question_candidate_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO: - return screening_question_answers_question_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE: - return screening_question_answers_question_current_stage() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON: - return screening_question_answers_question_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB: - return screening_question_answers_question_job() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO: - return screening_question_answers_question_job_credited_to() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE: - return screening_question_answers_question_job_credited_to_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_credited_to_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON: - return screening_question_answers_question_job_credited_to_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE: - return screening_question_answers_question_job_current_stage() - if ( - self - is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON - ): - return screening_question_answers_question_job_current_stage_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON: - return screening_question_answers_question_job_reject_reason() - if self is ApplicationsRetrieveRequestExpand.SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON: - return screening_question_answers_question_reject_reason() diff --git a/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py new file mode 100644 index 00000000..19a3f612 --- /dev/null +++ b/src/merge/resources/ats/resources/applications/types/applications_retrieve_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ApplicationsRetrieveRequestExpandItem(str, enum.Enum): + CANDIDATE = "candidate" + CREDITED_TO = "credited_to" + CURRENT_STAGE = "current_stage" + JOB = "job" + OFFERS = "offers" + REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + + def visit( + self, + candidate: typing.Callable[[], T_Result], + credited_to: typing.Callable[[], T_Result], + current_stage: typing.Callable[[], T_Result], + job: typing.Callable[[], T_Result], + offers: typing.Callable[[], T_Result], + reject_reason: typing.Callable[[], T_Result], + screening_question_answers: typing.Callable[[], T_Result], + screening_question_answers_question: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ApplicationsRetrieveRequestExpandItem.CANDIDATE: + return candidate() + if self is ApplicationsRetrieveRequestExpandItem.CREDITED_TO: + return credited_to() + if self is ApplicationsRetrieveRequestExpandItem.CURRENT_STAGE: + return current_stage() + if self is ApplicationsRetrieveRequestExpandItem.JOB: + return job() + if self is ApplicationsRetrieveRequestExpandItem.OFFERS: + return offers() + if self is ApplicationsRetrieveRequestExpandItem.REJECT_REASON: + return reject_reason() + if self is ApplicationsRetrieveRequestExpandItem.SCREENING_QUESTION_ANSWERS: + return screening_question_answers() + if self is ApplicationsRetrieveRequestExpandItem.SCREENING_QUESTION_ANSWERS_QUESTION: + return screening_question_answers_question() diff --git a/src/merge/resources/ats/resources/attachments/client.py b/src/merge/resources/ats/resources/attachments/client.py index df51bb47..ff84e5f9 100644 --- a/src/merge/resources/ats/resources/attachments/client.py +++ b/src/merge/resources/ats/resources/attachments/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.attachment import Attachment from ...types.attachment_request import AttachmentRequest from ...types.attachment_response import AttachmentResponse from ...types.meta_response import MetaResponse -from ...types.paginated_attachment_list import PaginatedAttachmentList from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient # this is used as the default value for optional parameters @@ -38,7 +38,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -49,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> SyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -67,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -102,7 +104,7 @@ def list( Returns ------- - PaginatedAttachmentList + SyncPager[Attachment] Examples @@ -115,7 +117,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.attachments.list( + response = client.ats.attachments.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -136,8 +138,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -154,7 +161,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -217,7 +223,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, @@ -231,7 +239,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -329,7 +337,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -340,7 +350,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> AsyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -358,7 +368,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -393,7 +403,7 @@ async def list( Returns ------- - PaginatedAttachmentList + AsyncPager[Attachment] Examples @@ -410,7 +420,7 @@ async def list( async def main() -> None: - await client.ats.attachments.list( + response = await client.ats.attachments.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -431,11 +441,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -452,7 +468,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -523,7 +538,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, @@ -537,7 +554,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/attachments/raw_client.py b/src/merge/resources/ats/resources/attachments/raw_client.py index cb05fc3d..2f095100 100644 --- a/src/merge/resources/ats/resources/attachments/raw_client.py +++ b/src/merge/resources/ats/resources/attachments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.attachment import Attachment @@ -32,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,7 +46,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: + ) -> SyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -61,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -96,7 +99,7 @@ def list( Returns ------- - HttpResponse[PaginatedAttachmentList] + SyncPager[Attachment] """ _response = self._client_wrapper.httpx_client.request( @@ -122,14 +125,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -203,7 +228,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, @@ -217,7 +244,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -315,7 +342,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -326,7 +355,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["attachment_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: + ) -> AsyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -344,7 +373,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -379,7 +408,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAttachmentList] + AsyncPager[Attachment] """ _response = await self._client_wrapper.httpx_client.request( @@ -405,14 +434,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -486,7 +540,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["attachment_type"]] = None, @@ -500,7 +556,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/audit_trail/client.py b/src/merge/resources/ats/resources/audit_trail/client.py index 78d801de..4a6401c3 100644 --- a/src/merge/resources/ats/resources/audit_trail/client.py +++ b/src/merge/resources/ats/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -49,7 +50,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.audit_trail.list( + response = client.ats.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -135,7 +140,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.ats.audit_trail.list( + response = await client.ats.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/audit_trail/raw_client.py b/src/merge/resources/ats/resources/audit_trail/raw_client.py index 296a6041..35bad848 100644 --- a/src/merge/resources/ats/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ats/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -116,7 +131,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/candidates/__init__.py b/src/merge/resources/ats/resources/candidates/__init__.py index f9e7fc5a..7a95f560 100644 --- a/src/merge/resources/ats/resources/candidates/__init__.py +++ b/src/merge/resources/ats/resources/candidates/__init__.py @@ -6,11 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CandidatesListRequestExpand, CandidatesRetrieveRequestExpand, IgnoreCommonModelRequestReason + from .types import CandidatesListRequestExpandItem, CandidatesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CandidatesListRequestExpand": ".types", - "CandidatesRetrieveRequestExpand": ".types", - "IgnoreCommonModelRequestReason": ".types", + "CandidatesListRequestExpandItem": ".types", + "CandidatesRetrieveRequestExpandItem": ".types", } @@ -33,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] +__all__ = ["CandidatesListRequestExpandItem", "CandidatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/candidates/client.py b/src/merge/resources/ats/resources/candidates/client.py index 3cf356a4..797efa43 100644 --- a/src/merge/resources/ats/resources/candidates/client.py +++ b/src/merge/resources/ats/resources/candidates/client.py @@ -4,17 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse -from ...types.paginated_candidate_list import PaginatedCandidateList from ...types.patched_candidate_request import PatchedCandidateRequest from .raw_client import AsyncRawCandidatesClient, RawCandidatesClient -from .types.candidates_list_request_expand import CandidatesListRequestExpand -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason +from .types.candidates_list_request_expand_item import CandidatesListRequestExpandItem +from .types.candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +42,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -54,7 +56,7 @@ def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCandidateList: + ) -> SyncPager[Candidate]: """ Returns a list of `Candidate` objects. @@ -72,7 +74,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -110,7 +112,7 @@ def list( Returns ------- - PaginatedCandidateList + SyncPager[Candidate] Examples @@ -118,13 +120,12 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.candidates.list( + response = client.ats.candidates.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -133,7 +134,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, first_name="first_name", include_deleted_data=True, include_remote_data=True, @@ -149,8 +149,13 @@ def list( remote_id="remote_id", tags="tags", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -168,7 +173,6 @@ def list( tags=tags, request_options=request_options, ) - return _response.data def create( self, @@ -231,7 +235,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -243,7 +249,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -263,9 +269,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -273,7 +276,6 @@ def retrieve( ) client.ats.candidates.retrieve( id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, include_remote_data=True, include_shell_data=True, ) @@ -353,8 +355,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -364,9 +365,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -378,7 +377,7 @@ def ignore_create( Examples -------- from merge import Merge - from merge.resources.ats import ReasonEnum + from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -386,12 +385,12 @@ def ignore_create( ) client.ats.candidates.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) """ - _response = self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: @@ -475,7 +474,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -487,7 +488,7 @@ async def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCandidateList: + ) -> AsyncPager[Candidate]: """ Returns a list of `Candidate` objects. @@ -505,7 +506,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -543,7 +544,7 @@ async def list( Returns ------- - PaginatedCandidateList + AsyncPager[Candidate] Examples @@ -552,7 +553,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.candidates import CandidatesListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -561,7 +561,7 @@ async def list( async def main() -> None: - await client.ats.candidates.list( + response = await client.ats.candidates.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -570,7 +570,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=CandidatesListRequestExpand.APPLICATIONS, first_name="first_name", include_deleted_data=True, include_remote_data=True, @@ -586,11 +585,17 @@ async def main() -> None: remote_id="remote_id", tags="tags", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -608,7 +613,6 @@ async def main() -> None: tags=tags, request_options=request_options, ) - return _response.data async def create( self, @@ -679,7 +683,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -691,7 +697,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -713,9 +719,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.candidates import ( - CandidatesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -726,7 +729,6 @@ async def retrieve( async def main() -> None: await client.ats.candidates.retrieve( id="id", - expand=CandidatesRetrieveRequestExpand.APPLICATIONS, include_remote_data=True, include_shell_data=True, ) @@ -817,8 +819,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -828,9 +829,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -844,7 +843,7 @@ async def ignore_create( import asyncio from merge import AsyncMerge - from merge.resources.ats import ReasonEnum + from merge.resources.ats import IgnoreCommonModelRequest, ReasonEnum client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -855,15 +854,15 @@ async def ignore_create( async def main() -> None: await client.ats.candidates.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) asyncio.run(main()) """ - _response = await self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data async def meta_patch_retrieve( diff --git a/src/merge/resources/ats/resources/candidates/raw_client.py b/src/merge/resources/ats/resources/candidates/raw_client.py index c4fbc46d..d0044f4f 100644 --- a/src/merge/resources/ats/resources/candidates/raw_client.py +++ b/src/merge/resources/ats/resources/candidates/raw_client.py @@ -9,17 +9,18 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.candidate import Candidate from ...types.candidate_request import CandidateRequest from ...types.candidate_response import CandidateResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_candidate_list import PaginatedCandidateList from ...types.patched_candidate_request import PatchedCandidateRequest -from .types.candidates_list_request_expand import CandidatesListRequestExpand -from .types.candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason +from .types.candidates_list_request_expand_item import CandidatesListRequestExpandItem +from .types.candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +37,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -48,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCandidateList]: + ) -> SyncPager[Candidate]: """ Returns a list of `Candidate` objects. @@ -66,7 +69,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -104,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedCandidateList] + SyncPager[Candidate] """ _response = self._client_wrapper.httpx_client.request( @@ -131,14 +134,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCandidateList, construct_type( type_=PaginatedCandidateList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + first_name=first_name, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + last_name=last_name, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + tags=tags, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -212,7 +238,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -224,7 +252,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -337,8 +365,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[None]: """ @@ -348,9 +375,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -362,10 +387,7 @@ def ignore_create( _response = self._client_wrapper.httpx_client.request( f"ats/v1/candidates/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, @@ -466,7 +488,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[CandidatesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -478,7 +502,7 @@ async def list( remote_id: typing.Optional[str] = None, tags: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCandidateList]: + ) -> AsyncPager[Candidate]: """ Returns a list of `Candidate` objects. @@ -496,7 +520,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return candidates with these email addresses; multiple addresses can be separated by commas. - expand : typing.Optional[CandidatesListRequestExpand] + expand : typing.Optional[typing.Union[CandidatesListRequestExpandItem, typing.Sequence[CandidatesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -534,7 +558,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCandidateList] + AsyncPager[Candidate] """ _response = await self._client_wrapper.httpx_client.request( @@ -561,14 +585,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCandidateList, construct_type( type_=PaginatedCandidateList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + first_name=first_name, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + last_name=last_name, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + tags=tags, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -642,7 +692,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CandidatesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -654,7 +706,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CandidatesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CandidatesRetrieveRequestExpandItem, typing.Sequence[CandidatesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -767,8 +819,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[None]: """ @@ -778,9 +829,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -792,10 +841,7 @@ async def ignore_create( _response = await self._client_wrapper.httpx_client.request( f"ats/v1/candidates/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, diff --git a/src/merge/resources/ats/resources/candidates/types/__init__.py b/src/merge/resources/ats/resources/candidates/types/__init__.py index dd320363..1d2180eb 100644 --- a/src/merge/resources/ats/resources/candidates/types/__init__.py +++ b/src/merge/resources/ats/resources/candidates/types/__init__.py @@ -6,13 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .candidates_list_request_expand import CandidatesListRequestExpand - from .candidates_retrieve_request_expand import CandidatesRetrieveRequestExpand - from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason + from .candidates_list_request_expand_item import CandidatesListRequestExpandItem + from .candidates_retrieve_request_expand_item import CandidatesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CandidatesListRequestExpand": ".candidates_list_request_expand", - "CandidatesRetrieveRequestExpand": ".candidates_retrieve_request_expand", - "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", + "CandidatesListRequestExpandItem": ".candidates_list_request_expand_item", + "CandidatesRetrieveRequestExpandItem": ".candidates_retrieve_request_expand_item", } @@ -35,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CandidatesListRequestExpand", "CandidatesRetrieveRequestExpand", "IgnoreCommonModelRequestReason"] +__all__ = ["CandidatesListRequestExpandItem", "CandidatesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py deleted file mode 100644 index 3d234138..00000000 --- a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CandidatesListRequestExpand(str, enum.Enum): - APPLICATIONS = "applications" - APPLICATIONS_ATTACHMENTS = "applications,attachments" - ATTACHMENTS = "attachments" - - def visit( - self, - applications: typing.Callable[[], T_Result], - applications_attachments: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CandidatesListRequestExpand.APPLICATIONS: - return applications() - if self is CandidatesListRequestExpand.APPLICATIONS_ATTACHMENTS: - return applications_attachments() - if self is CandidatesListRequestExpand.ATTACHMENTS: - return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py new file mode 100644 index 00000000..94d1c115 --- /dev/null +++ b/src/merge/resources/ats/resources/candidates/types/candidates_list_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CandidatesListRequestExpandItem(str, enum.Enum): + APPLICATIONS = "applications" + ATTACHMENTS = "attachments" + + def visit( + self, applications: typing.Callable[[], T_Result], attachments: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CandidatesListRequestExpandItem.APPLICATIONS: + return applications() + if self is CandidatesListRequestExpandItem.ATTACHMENTS: + return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py deleted file mode 100644 index 20a7a734..00000000 --- a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CandidatesRetrieveRequestExpand(str, enum.Enum): - APPLICATIONS = "applications" - APPLICATIONS_ATTACHMENTS = "applications,attachments" - ATTACHMENTS = "attachments" - - def visit( - self, - applications: typing.Callable[[], T_Result], - applications_attachments: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CandidatesRetrieveRequestExpand.APPLICATIONS: - return applications() - if self is CandidatesRetrieveRequestExpand.APPLICATIONS_ATTACHMENTS: - return applications_attachments() - if self is CandidatesRetrieveRequestExpand.ATTACHMENTS: - return attachments() diff --git a/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py new file mode 100644 index 00000000..8e68683e --- /dev/null +++ b/src/merge/resources/ats/resources/candidates/types/candidates_retrieve_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CandidatesRetrieveRequestExpandItem(str, enum.Enum): + APPLICATIONS = "applications" + ATTACHMENTS = "attachments" + + def visit( + self, applications: typing.Callable[[], T_Result], attachments: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CandidatesRetrieveRequestExpandItem.APPLICATIONS: + return applications() + if self is CandidatesRetrieveRequestExpandItem.ATTACHMENTS: + return attachments() diff --git a/src/merge/resources/ats/resources/departments/client.py b/src/merge/resources/ats/resources/departments/client.py index f70cd0ba..f85021f1 100644 --- a/src/merge/resources/ats/resources/departments/client.py +++ b/src/merge/resources/ats/resources/departments/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.department import Department -from ...types.paginated_department_list import PaginatedDepartmentList from .raw_client import AsyncRawDepartmentsClient, RawDepartmentsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDepartmentList: + ) -> SyncPager[Department]: """ Returns a list of `Department` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedDepartmentList + SyncPager[Department] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.departments.list( + response = client.ats.departments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDepartmentList: + ) -> AsyncPager[Department]: """ Returns a list of `Department` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedDepartmentList + AsyncPager[Department] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ats.departments.list( + response = await client.ats.departments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ats/resources/departments/raw_client.py b/src/merge/resources/ats/resources/departments/raw_client.py index 3e6908a0..57bf1566 100644 --- a/src/merge/resources/ats/resources/departments/raw_client.py +++ b/src/merge/resources/ats/resources/departments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.department import Department @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDepartmentList]: + ) -> SyncPager[Department]: """ Returns a list of `Department` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedDepartmentList] + SyncPager[Department] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDepartmentList, construct_type( type_=PaginatedDepartmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDepartmentList]: + ) -> AsyncPager[Department]: """ Returns a list of `Department` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedDepartmentList] + AsyncPager[Department] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDepartmentList, construct_type( type_=PaginatedDepartmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/eeocs/client.py b/src/merge/resources/ats/resources/eeocs/client.py index 5a54567c..337ec8d6 100644 --- a/src/merge/resources/ats/resources/eeocs/client.py +++ b/src/merge/resources/ats/resources/eeocs/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.eeoc import Eeoc -from ...types.paginated_eeoc_list import PaginatedEeocList from .raw_client import AsyncRawEeocsClient, RawEeocsClient from .types.eeocs_list_request_remote_fields import EeocsListRequestRemoteFields from .types.eeocs_list_request_show_enum_origins import EeocsListRequestShowEnumOrigins @@ -36,7 +36,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +49,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEeocList: + ) -> SyncPager[Eeoc]: """ Returns a list of `EEOC` objects. @@ -65,7 +67,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[EeocsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -100,7 +102,7 @@ def list( Returns ------- - PaginatedEeocList + SyncPager[Eeoc] Examples @@ -117,7 +119,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.eeocs.list( + response = client.ats.eeocs.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -140,8 +142,13 @@ def list( remote_id="remote_id", show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -158,13 +165,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -178,7 +186,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -255,7 +263,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -266,7 +276,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEeocList: + ) -> AsyncPager[Eeoc]: """ Returns a list of `EEOC` objects. @@ -284,7 +294,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -303,7 +313,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[EeocsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -319,7 +329,7 @@ async def list( Returns ------- - PaginatedEeocList + AsyncPager[Eeoc] Examples @@ -340,7 +350,7 @@ async def list( async def main() -> None: - await client.ats.eeocs.list( + response = await client.ats.eeocs.list( candidate_id="candidate_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -363,11 +373,17 @@ async def main() -> None: remote_id="remote_id", show_enum_origins=EeocsListRequestShowEnumOrigins.DISABILITY_STATUS, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( candidate_id=candidate_id, created_after=created_after, created_before=created_before, @@ -384,13 +400,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -404,7 +421,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/eeocs/raw_client.py b/src/merge/resources/ats/resources/eeocs/raw_client.py index 1f8f24b9..09acd6e1 100644 --- a/src/merge/resources/ats/resources/eeocs/raw_client.py +++ b/src/merge/resources/ats/resources/eeocs/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.eeoc import Eeoc @@ -30,7 +31,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +44,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEeocList]: + ) -> SyncPager[Eeoc]: """ Returns a list of `EEOC` objects. @@ -59,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +81,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[EeocsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -94,7 +97,7 @@ def list( Returns ------- - HttpResponse[PaginatedEeocList] + SyncPager[Eeoc] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +123,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEeocList, construct_type( type_=PaginatedEeocList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -137,7 +162,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -151,7 +178,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -213,7 +240,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -224,7 +253,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EeocsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEeocList]: + ) -> AsyncPager[Eeoc]: """ Returns a list of `EEOC` objects. @@ -242,7 +271,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -261,7 +290,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[EeocsListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -277,7 +306,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEeocList] + AsyncPager[Eeoc] """ _response = await self._client_wrapper.httpx_client.request( @@ -303,14 +332,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEeocList, construct_type( type_=PaginatedEeocList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + candidate_id=candidate_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -320,7 +374,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["candidate"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EeocsRetrieveRequestRemoteFields] = None, @@ -334,7 +390,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["candidate"]] + expand : typing.Optional[typing.Union[typing.Literal["candidate"], typing.Sequence[typing.Literal["candidate"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/field_mapping/client.py b/src/merge/resources/ats/resources/field_mapping/client.py index 8e5e68a8..a85d2668 100644 --- a/src/merge/resources/ats/resources/field_mapping/client.py +++ b/src/merge/resources/ats/resources/field_mapping/client.py @@ -78,6 +78,7 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -106,6 +107,9 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -140,6 +144,7 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -181,9 +186,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -193,6 +200,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -202,6 +212,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -220,13 +233,16 @@ def field_mappings_partial_update( ) client.ats.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -377,6 +393,7 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -405,6 +422,9 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -447,6 +467,7 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -496,9 +517,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -508,6 +531,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -517,6 +543,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -540,6 +569,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.ats.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -547,9 +577,11 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/ats/resources/field_mapping/raw_client.py b/src/merge/resources/ats/resources/field_mapping/raw_client.py index df161ca0..f2f2eb3e 100644 --- a/src/merge/resources/ats/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ats/resources/field_mapping/raw_client.py @@ -77,6 +77,7 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -105,6 +106,9 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -126,6 +130,7 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -190,9 +195,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -202,6 +209,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -211,6 +221,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -222,10 +235,14 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"ats/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -394,6 +411,7 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -422,6 +440,9 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -443,6 +464,7 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -507,9 +529,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -519,6 +543,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -528,6 +555,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -539,10 +569,14 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"ats/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/ats/resources/interviews/__init__.py b/src/merge/resources/ats/resources/interviews/__init__.py index 738a94e5..2cff90b8 100644 --- a/src/merge/resources/ats/resources/interviews/__init__.py +++ b/src/merge/resources/ats/resources/interviews/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import InterviewsListRequestExpand, InterviewsRetrieveRequestExpand + from .types import InterviewsListRequestExpandItem, InterviewsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "InterviewsListRequestExpand": ".types", - "InterviewsRetrieveRequestExpand": ".types", + "InterviewsListRequestExpandItem": ".types", + "InterviewsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand"] +__all__ = ["InterviewsListRequestExpandItem", "InterviewsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/interviews/client.py b/src/merge/resources/ats/resources/interviews/client.py index 8745eaaf..fdab71d7 100644 --- a/src/merge/resources/ats/resources/interviews/client.py +++ b/src/merge/resources/ats/resources/interviews/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_scheduled_interview_list import PaginatedScheduledInterviewList from ...types.scheduled_interview import ScheduledInterview from ...types.scheduled_interview_request import ScheduledInterviewRequest from ...types.scheduled_interview_response import ScheduledInterviewResponse from .raw_client import AsyncRawInterviewsClient, RawInterviewsClient -from .types.interviews_list_request_expand import InterviewsListRequestExpand -from .types.interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand +from .types.interviews_list_request_expand_item import InterviewsListRequestExpandItem +from .types.interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,7 +40,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -54,7 +56,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScheduledInterviewList: + ) -> SyncPager[ScheduledInterview]: """ Returns a list of `ScheduledInterview` objects. @@ -72,7 +74,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -100,7 +102,7 @@ def list( If provided, will only return interviews organized by this user. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -116,7 +118,7 @@ def list( Returns ------- - PaginatedScheduledInterviewList + SyncPager[ScheduledInterview] Examples @@ -124,13 +126,12 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.interviews.list( + response = client.ats.interviews.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -139,7 +140,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -155,8 +155,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -176,7 +181,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def create( self, @@ -239,7 +243,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -253,7 +259,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -279,9 +285,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -289,7 +292,6 @@ def retrieve( ) client.ats.interviews.retrieve( id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) @@ -355,7 +357,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -369,7 +373,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScheduledInterviewList: + ) -> AsyncPager[ScheduledInterview]: """ Returns a list of `ScheduledInterview` objects. @@ -387,7 +391,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -415,7 +419,7 @@ async def list( If provided, will only return interviews organized by this user. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -431,7 +435,7 @@ async def list( Returns ------- - PaginatedScheduledInterviewList + AsyncPager[ScheduledInterview] Examples @@ -440,7 +444,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.interviews import InterviewsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -449,7 +452,7 @@ async def list( async def main() -> None: - await client.ats.interviews.list( + response = await client.ats.interviews.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -458,7 +461,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=InterviewsListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -474,11 +476,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -498,7 +506,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def create( self, @@ -569,7 +576,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -583,7 +592,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -611,9 +620,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.interviews import ( - InterviewsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -624,7 +630,6 @@ async def retrieve( async def main() -> None: await client.ats.interviews.retrieve( id="id", - expand=InterviewsRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/interviews/raw_client.py b/src/merge/resources/ats/resources/interviews/raw_client.py index 92c42e5e..e8295027 100644 --- a/src/merge/resources/ats/resources/interviews/raw_client.py +++ b/src/merge/resources/ats/resources/interviews/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,8 +17,8 @@ from ...types.scheduled_interview import ScheduledInterview from ...types.scheduled_interview_request import ScheduledInterviewRequest from ...types.scheduled_interview_response import ScheduledInterviewResponse -from .types.interviews_list_request_expand import InterviewsListRequestExpand -from .types.interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand +from .types.interviews_list_request_expand_item import InterviewsListRequestExpandItem +from .types.interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,7 +35,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +51,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScheduledInterviewList]: + ) -> SyncPager[ScheduledInterview]: """ Returns a list of `ScheduledInterview` objects. @@ -66,7 +69,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +97,7 @@ def list( If provided, will only return interviews organized by this user. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -110,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedScheduledInterviewList] + SyncPager[ScheduledInterview] """ _response = self._client_wrapper.httpx_client.request( @@ -139,14 +142,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScheduledInterviewList, construct_type( type_=PaginatedScheduledInterviewList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + job_interview_stage_id=job_interview_stage_id, + modified_after=modified_after, + modified_before=modified_before, + organizer_id=organizer_id, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -220,7 +248,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -234,7 +264,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -332,7 +362,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[InterviewsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -346,7 +378,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScheduledInterviewList]: + ) -> AsyncPager[ScheduledInterview]: """ Returns a list of `ScheduledInterview` objects. @@ -364,7 +396,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[InterviewsListRequestExpand] + expand : typing.Optional[typing.Union[InterviewsListRequestExpandItem, typing.Sequence[InterviewsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -392,7 +424,7 @@ async def list( If provided, will only return interviews organized by this user. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -408,7 +440,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedScheduledInterviewList] + AsyncPager[ScheduledInterview] """ _response = await self._client_wrapper.httpx_client.request( @@ -437,14 +469,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScheduledInterviewList, construct_type( type_=PaginatedScheduledInterviewList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + job_interview_stage_id=job_interview_stage_id, + modified_after=modified_after, + modified_before=modified_before, + organizer_id=organizer_id, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -518,7 +578,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[InterviewsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -532,7 +594,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[InterviewsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[InterviewsRetrieveRequestExpandItem, typing.Sequence[InterviewsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/interviews/types/__init__.py b/src/merge/resources/ats/resources/interviews/types/__init__.py index 107a6425..bec156d5 100644 --- a/src/merge/resources/ats/resources/interviews/types/__init__.py +++ b/src/merge/resources/ats/resources/interviews/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .interviews_list_request_expand import InterviewsListRequestExpand - from .interviews_retrieve_request_expand import InterviewsRetrieveRequestExpand + from .interviews_list_request_expand_item import InterviewsListRequestExpandItem + from .interviews_retrieve_request_expand_item import InterviewsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "InterviewsListRequestExpand": ".interviews_list_request_expand", - "InterviewsRetrieveRequestExpand": ".interviews_retrieve_request_expand", + "InterviewsListRequestExpandItem": ".interviews_list_request_expand_item", + "InterviewsRetrieveRequestExpandItem": ".interviews_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["InterviewsListRequestExpand", "InterviewsRetrieveRequestExpand"] +__all__ = ["InterviewsListRequestExpandItem", "InterviewsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py deleted file mode 100644 index b2883326..00000000 --- a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InterviewsListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_JOB_INTERVIEW_STAGE = "application,job_interview_stage" - INTERVIEWERS = "interviewers" - INTERVIEWERS_APPLICATION = "interviewers,application" - INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,application,job_interview_stage" - INTERVIEWERS_JOB_INTERVIEW_STAGE = "interviewers,job_interview_stage" - INTERVIEWERS_ORGANIZER = "interviewers,organizer" - INTERVIEWERS_ORGANIZER_APPLICATION = "interviewers,organizer,application" - INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,organizer,application,job_interview_stage" - INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE = "interviewers,organizer,job_interview_stage" - JOB_INTERVIEW_STAGE = "job_interview_stage" - ORGANIZER = "organizer" - ORGANIZER_APPLICATION = "organizer,application" - ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "organizer,application,job_interview_stage" - ORGANIZER_JOB_INTERVIEW_STAGE = "organizer,job_interview_stage" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_job_interview_stage: typing.Callable[[], T_Result], - interviewers: typing.Callable[[], T_Result], - interviewers_application: typing.Callable[[], T_Result], - interviewers_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer: typing.Callable[[], T_Result], - interviewers_organizer_application: typing.Callable[[], T_Result], - interviewers_organizer_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer_job_interview_stage: typing.Callable[[], T_Result], - job_interview_stage: typing.Callable[[], T_Result], - organizer: typing.Callable[[], T_Result], - organizer_application: typing.Callable[[], T_Result], - organizer_application_job_interview_stage: typing.Callable[[], T_Result], - organizer_job_interview_stage: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InterviewsListRequestExpand.APPLICATION: - return application() - if self is InterviewsListRequestExpand.APPLICATION_JOB_INTERVIEW_STAGE: - return application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS: - return interviewers() - if self is InterviewsListRequestExpand.INTERVIEWERS_APPLICATION: - return interviewers_application() - if self is InterviewsListRequestExpand.INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_JOB_INTERVIEW_STAGE: - return interviewers_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER: - return interviewers_organizer() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION: - return interviewers_organizer_application() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_organizer_application_job_interview_stage() - if self is InterviewsListRequestExpand.INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE: - return interviewers_organizer_job_interview_stage() - if self is InterviewsListRequestExpand.JOB_INTERVIEW_STAGE: - return job_interview_stage() - if self is InterviewsListRequestExpand.ORGANIZER: - return organizer() - if self is InterviewsListRequestExpand.ORGANIZER_APPLICATION: - return organizer_application() - if self is InterviewsListRequestExpand.ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return organizer_application_job_interview_stage() - if self is InterviewsListRequestExpand.ORGANIZER_JOB_INTERVIEW_STAGE: - return organizer_job_interview_stage() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py new file mode 100644 index 00000000..a0dcc590 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEWERS = "interviewers" + JOB_INTERVIEW_STAGE = "job_interview_stage" + ORGANIZER = "organizer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interviewers: typing.Callable[[], T_Result], + job_interview_stage: typing.Callable[[], T_Result], + organizer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InterviewsListRequestExpandItem.APPLICATION: + return application() + if self is InterviewsListRequestExpandItem.INTERVIEWERS: + return interviewers() + if self is InterviewsListRequestExpandItem.JOB_INTERVIEW_STAGE: + return job_interview_stage() + if self is InterviewsListRequestExpandItem.ORGANIZER: + return organizer() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py deleted file mode 100644 index 874440e0..00000000 --- a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class InterviewsRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_JOB_INTERVIEW_STAGE = "application,job_interview_stage" - INTERVIEWERS = "interviewers" - INTERVIEWERS_APPLICATION = "interviewers,application" - INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,application,job_interview_stage" - INTERVIEWERS_JOB_INTERVIEW_STAGE = "interviewers,job_interview_stage" - INTERVIEWERS_ORGANIZER = "interviewers,organizer" - INTERVIEWERS_ORGANIZER_APPLICATION = "interviewers,organizer,application" - INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "interviewers,organizer,application,job_interview_stage" - INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE = "interviewers,organizer,job_interview_stage" - JOB_INTERVIEW_STAGE = "job_interview_stage" - ORGANIZER = "organizer" - ORGANIZER_APPLICATION = "organizer,application" - ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE = "organizer,application,job_interview_stage" - ORGANIZER_JOB_INTERVIEW_STAGE = "organizer,job_interview_stage" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_job_interview_stage: typing.Callable[[], T_Result], - interviewers: typing.Callable[[], T_Result], - interviewers_application: typing.Callable[[], T_Result], - interviewers_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer: typing.Callable[[], T_Result], - interviewers_organizer_application: typing.Callable[[], T_Result], - interviewers_organizer_application_job_interview_stage: typing.Callable[[], T_Result], - interviewers_organizer_job_interview_stage: typing.Callable[[], T_Result], - job_interview_stage: typing.Callable[[], T_Result], - organizer: typing.Callable[[], T_Result], - organizer_application: typing.Callable[[], T_Result], - organizer_application_job_interview_stage: typing.Callable[[], T_Result], - organizer_job_interview_stage: typing.Callable[[], T_Result], - ) -> T_Result: - if self is InterviewsRetrieveRequestExpand.APPLICATION: - return application() - if self is InterviewsRetrieveRequestExpand.APPLICATION_JOB_INTERVIEW_STAGE: - return application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS: - return interviewers() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_APPLICATION: - return interviewers_application() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_JOB_INTERVIEW_STAGE: - return interviewers_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER: - return interviewers_organizer() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION: - return interviewers_organizer_application() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return interviewers_organizer_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.INTERVIEWERS_ORGANIZER_JOB_INTERVIEW_STAGE: - return interviewers_organizer_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.JOB_INTERVIEW_STAGE: - return job_interview_stage() - if self is InterviewsRetrieveRequestExpand.ORGANIZER: - return organizer() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_APPLICATION: - return organizer_application() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_APPLICATION_JOB_INTERVIEW_STAGE: - return organizer_application_job_interview_stage() - if self is InterviewsRetrieveRequestExpand.ORGANIZER_JOB_INTERVIEW_STAGE: - return organizer_job_interview_stage() diff --git a/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py new file mode 100644 index 00000000..c3433115 --- /dev/null +++ b/src/merge/resources/ats/resources/interviews/types/interviews_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class InterviewsRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEWERS = "interviewers" + JOB_INTERVIEW_STAGE = "job_interview_stage" + ORGANIZER = "organizer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interviewers: typing.Callable[[], T_Result], + job_interview_stage: typing.Callable[[], T_Result], + organizer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is InterviewsRetrieveRequestExpandItem.APPLICATION: + return application() + if self is InterviewsRetrieveRequestExpandItem.INTERVIEWERS: + return interviewers() + if self is InterviewsRetrieveRequestExpandItem.JOB_INTERVIEW_STAGE: + return job_interview_stage() + if self is InterviewsRetrieveRequestExpandItem.ORGANIZER: + return organizer() diff --git a/src/merge/resources/ats/resources/issues/client.py b/src/merge/resources/ats/resources/issues/client.py index 247d273f..e7e99372 100644 --- a/src/merge/resources/ats/resources/issues/client.py +++ b/src/merge/resources/ats/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -81,7 +81,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.issues.list( + response = client.ats.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -257,7 +261,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.ats.issues.list( + response = await client.ats.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/ats/resources/issues/raw_client.py b/src/merge/resources/ats/resources/issues/raw_client.py index 00602bce..15a04483 100644 --- a/src/merge/resources/ats/resources/issues/raw_client.py +++ b/src/merge/resources/ats/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -234,7 +257,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/job_interview_stages/client.py b/src/merge/resources/ats/resources/job_interview_stages/client.py index 65748ba2..74e074a8 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/client.py +++ b/src/merge/resources/ats/resources/job_interview_stages/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job_interview_stage import JobInterviewStage -from ...types.paginated_job_interview_stage_list import PaginatedJobInterviewStageList from .raw_client import AsyncRawJobInterviewStagesClient, RawJobInterviewStagesClient @@ -31,7 +31,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobInterviewStageList: + ) -> SyncPager[JobInterviewStage]: """ Returns a list of `JobInterviewStage` objects. @@ -56,7 +56,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +78,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +88,7 @@ def list( Returns ------- - PaginatedJobInterviewStageList + SyncPager[JobInterviewStage] Examples @@ -101,7 +101,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.job_interview_stages.list( + response = client.ats.job_interview_stages.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -122,8 +122,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +143,12 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -218,7 +222,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +232,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobInterviewStageList: + ) -> AsyncPager[JobInterviewStage]: """ Returns a list of `JobInterviewStage` objects. @@ -243,7 +247,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -265,7 +269,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -275,7 +279,7 @@ async def list( Returns ------- - PaginatedJobInterviewStageList + AsyncPager[JobInterviewStage] Examples @@ -292,7 +296,7 @@ async def list( async def main() -> None: - await client.ats.job_interview_stages.list( + response = await client.ats.job_interview_stages.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -313,11 +317,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +342,12 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +359,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/job_interview_stages/raw_client.py b/src/merge/resources/ats/resources/job_interview_stages/raw_client.py index 8d2bd2da..a4caabed 100644 --- a/src/merge/resources/ats/resources/job_interview_stages/raw_client.py +++ b/src/merge/resources/ats/resources/job_interview_stages/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job_interview_stage import JobInterviewStage @@ -25,7 +26,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +36,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobInterviewStageList]: + ) -> SyncPager[JobInterviewStage]: """ Returns a list of `JobInterviewStage` objects. @@ -50,7 +51,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -72,7 +73,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +83,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobInterviewStageList] + SyncPager[JobInterviewStage] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +107,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobInterviewStageList, construct_type( type_=PaginatedJobInterviewStageList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +144,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +156,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -188,7 +209,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +219,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobInterviewStageList]: + ) -> AsyncPager[JobInterviewStage]: """ Returns a list of `JobInterviewStage` objects. @@ -213,7 +234,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -235,7 +256,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -245,7 +266,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobInterviewStageList] + AsyncPager[JobInterviewStage] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +290,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobInterviewStageList, construct_type( type_=PaginatedJobInterviewStageList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + job_id=job_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +330,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +342,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/job_postings/client.py b/src/merge/resources/ats/resources/job_postings/client.py index d3847a9b..7895d8f7 100644 --- a/src/merge/resources/ats/resources/job_postings/client.py +++ b/src/merge/resources/ats/resources/job_postings/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job_posting import JobPosting -from ...types.paginated_job_posting_list import PaginatedJobPostingList from .raw_client import AsyncRawJobPostingsClient, RawJobPostingsClient from .types.job_postings_list_request_status import JobPostingsListRequestStatus @@ -32,7 +32,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +42,7 @@ def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobPostingList: + ) -> SyncPager[JobPosting]: """ Returns a list of `JobPosting` objects. @@ -57,7 +57,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +76,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -95,7 +95,7 @@ def list( Returns ------- - PaginatedJobPostingList + SyncPager[JobPosting] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.job_postings.list( + response = client.ats.job_postings.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -132,8 +132,13 @@ def list( remote_id="remote_id", status=JobPostingsListRequestStatus.CLOSED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -148,13 +153,12 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -166,7 +170,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -228,7 +232,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -238,7 +242,7 @@ async def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobPostingList: + ) -> AsyncPager[JobPosting]: """ Returns a list of `JobPosting` objects. @@ -253,7 +257,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -272,7 +276,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -291,7 +295,7 @@ async def list( Returns ------- - PaginatedJobPostingList + AsyncPager[JobPosting] Examples @@ -311,7 +315,7 @@ async def list( async def main() -> None: - await client.ats.job_postings.list( + response = await client.ats.job_postings.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -332,11 +336,17 @@ async def main() -> None: remote_id="remote_id", status=JobPostingsListRequestStatus.CLOSED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -351,13 +361,12 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -369,7 +378,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/job_postings/raw_client.py b/src/merge/resources/ats/resources/job_postings/raw_client.py index 93e9742a..e5777689 100644 --- a/src/merge/resources/ats/resources/job_postings/raw_client.py +++ b/src/merge/resources/ats/resources/job_postings/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job_posting import JobPosting @@ -26,7 +27,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,7 +37,7 @@ def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobPostingList]: + ) -> SyncPager[JobPosting]: """ Returns a list of `JobPosting` objects. @@ -51,7 +52,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -89,7 +90,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobPostingList] + SyncPager[JobPosting] """ _response = self._client_wrapper.httpx_client.request( @@ -113,14 +114,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobPostingList, construct_type( type_=PaginatedJobPostingList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -130,7 +151,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -142,7 +163,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -195,7 +216,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -205,7 +226,7 @@ async def list( remote_id: typing.Optional[str] = None, status: typing.Optional[JobPostingsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobPostingList]: + ) -> AsyncPager[JobPosting]: """ Returns a list of `JobPosting` objects. @@ -220,7 +241,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -239,7 +260,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -258,7 +279,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobPostingList] + AsyncPager[JobPosting] """ _response = await self._client_wrapper.httpx_client.request( @@ -282,14 +303,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobPostingList, construct_type( type_=PaginatedJobPostingList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -299,7 +343,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["job"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -311,7 +355,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["job"]] + expand : typing.Optional[typing.Union[typing.Literal["job"], typing.Sequence[typing.Literal["job"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/jobs/__init__.py b/src/merge/resources/ats/resources/jobs/__init__.py index dfa70893..4feabeec 100644 --- a/src/merge/resources/ats/resources/jobs/__init__.py +++ b/src/merge/resources/ats/resources/jobs/__init__.py @@ -7,16 +7,16 @@ if typing.TYPE_CHECKING: from .types import ( - JobsListRequestExpand, + JobsListRequestExpandItem, JobsListRequestStatus, - JobsRetrieveRequestExpand, - JobsScreeningQuestionsListRequestExpand, + JobsRetrieveRequestExpandItem, + JobsScreeningQuestionsListRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "JobsListRequestExpand": ".types", + "JobsListRequestExpandItem": ".types", "JobsListRequestStatus": ".types", - "JobsRetrieveRequestExpand": ".types", - "JobsScreeningQuestionsListRequestExpand": ".types", + "JobsRetrieveRequestExpandItem": ".types", + "JobsScreeningQuestionsListRequestExpandItem": ".types", } @@ -40,8 +40,8 @@ def __dir__(): __all__ = [ - "JobsListRequestExpand", + "JobsListRequestExpandItem", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsScreeningQuestionsListRequestExpandItem", ] diff --git a/src/merge/resources/ats/resources/jobs/client.py b/src/merge/resources/ats/resources/jobs/client.py index 732d144c..12d51a22 100644 --- a/src/merge/resources/ats/resources/jobs/client.py +++ b/src/merge/resources/ats/resources/jobs/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.job import Job -from ...types.paginated_job_list import PaginatedJobList -from ...types.paginated_screening_question_list import PaginatedScreeningQuestionList +from ...types.screening_question import ScreeningQuestion from .raw_client import AsyncRawJobsClient, RawJobsClient -from .types.jobs_list_request_expand import JobsListRequestExpand +from .types.jobs_list_request_expand_item import JobsListRequestExpandItem from .types.jobs_list_request_status import JobsListRequestStatus -from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand +from .types.jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem +from .types.jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem class JobsClient: @@ -37,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -50,7 +52,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobList: + ) -> SyncPager[Job]: """ Returns a list of `Job` objects. @@ -68,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -90,7 +92,7 @@ def list( If provided, will only return jobs for this office; multiple offices can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -115,7 +117,7 @@ def list( Returns ------- - PaginatedJobList + SyncPager[Job] Examples @@ -123,16 +125,13 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, - ) + from merge.resources.ats.resources.jobs import JobsListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.jobs.list( + response = client.ats.jobs.list( code="code", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -141,7 +140,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -156,8 +154,13 @@ def list( remote_id="remote_id", status=JobsListRequestStatus.ARCHIVED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -176,13 +179,14 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -196,7 +200,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -222,7 +226,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -230,7 +233,6 @@ def retrieve( ) client.ats.jobs.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, include_remote_data=True, include_shell_data=True, ) @@ -251,13 +253,18 @@ def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScreeningQuestionList: + ) -> SyncPager[ScreeningQuestion]: """ Returns a list of `ScreeningQuestion` objects. @@ -268,7 +275,7 @@ def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -281,38 +288,39 @@ def screening_questions_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedScreeningQuestionList + SyncPager[ScreeningQuestion] Examples -------- from merge import Merge - from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.jobs.screening_questions_list( + response = client.ats.jobs.screening_questions_list( job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.screening_questions_list( + return self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -322,7 +330,6 @@ def screening_questions_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncJobsClient: @@ -347,7 +354,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -360,7 +369,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedJobList: + ) -> AsyncPager[Job]: """ Returns a list of `Job` objects. @@ -378,7 +387,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -400,7 +409,7 @@ async def list( If provided, will only return jobs for this office; multiple offices can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -425,7 +434,7 @@ async def list( Returns ------- - PaginatedJobList + AsyncPager[Job] Examples @@ -434,10 +443,7 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.jobs import ( - JobsListRequestExpand, - JobsListRequestStatus, - ) + from merge.resources.ats.resources.jobs import JobsListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -446,7 +452,7 @@ async def list( async def main() -> None: - await client.ats.jobs.list( + response = await client.ats.jobs.list( code="code", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -455,7 +461,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsListRequestExpand.DEPARTMENTS, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -470,11 +475,17 @@ async def main() -> None: remote_id="remote_id", status=JobsListRequestStatus.ARCHIVED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( code=code, created_after=created_after, created_before=created_before, @@ -493,13 +504,14 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -513,7 +525,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -541,7 +553,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.jobs import JobsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -552,7 +563,6 @@ async def retrieve( async def main() -> None: await client.ats.jobs.retrieve( id="id", - expand=JobsRetrieveRequestExpand.DEPARTMENTS, include_remote_data=True, include_shell_data=True, ) @@ -576,13 +586,18 @@ async def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScreeningQuestionList: + ) -> AsyncPager[ScreeningQuestion]: """ Returns a list of `ScreeningQuestion` objects. @@ -593,7 +608,7 @@ async def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -606,14 +621,14 @@ async def screening_questions_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedScreeningQuestionList + AsyncPager[ScreeningQuestion] Examples @@ -621,9 +636,6 @@ async def screening_questions_list( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.jobs import ( - JobsScreeningQuestionsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -632,20 +644,25 @@ async def screening_questions_list( async def main() -> None: - await client.ats.jobs.screening_questions_list( + response = await client.ats.jobs.screening_questions_list( job_id="job_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=JobsScreeningQuestionsListRequestExpand.JOB, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.screening_questions_list( + return await self._raw_client.screening_questions_list( job_id, cursor=cursor, expand=expand, @@ -655,4 +672,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/jobs/raw_client.py b/src/merge/resources/ats/resources/jobs/raw_client.py index 2bfca594..8ad7cb7c 100644 --- a/src/merge/resources/ats/resources/jobs/raw_client.py +++ b/src/merge/resources/ats/resources/jobs/raw_client.py @@ -9,15 +9,17 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.job import Job from ...types.paginated_job_list import PaginatedJobList from ...types.paginated_screening_question_list import PaginatedScreeningQuestionList -from .types.jobs_list_request_expand import JobsListRequestExpand +from ...types.screening_question import ScreeningQuestion +from .types.jobs_list_request_expand_item import JobsListRequestExpandItem from .types.jobs_list_request_status import JobsListRequestStatus -from .types.jobs_retrieve_request_expand import JobsRetrieveRequestExpand -from .types.jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand +from .types.jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem +from .types.jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem class RawJobsClient: @@ -31,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,7 +48,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedJobList]: + ) -> SyncPager[Job]: """ Returns a list of `Job` objects. @@ -62,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +88,7 @@ def list( If provided, will only return jobs for this office; multiple offices can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -109,7 +113,7 @@ def list( Returns ------- - HttpResponse[PaginatedJobList] + SyncPager[Job] """ _response = self._client_wrapper.httpx_client.request( @@ -137,14 +141,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobList, construct_type( type_=PaginatedJobList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + code=code, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + offices=offices, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -154,7 +182,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -168,7 +198,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -223,13 +253,18 @@ def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScreeningQuestionList]: + ) -> SyncPager[ScreeningQuestion]: """ Returns a list of `ScreeningQuestion` objects. @@ -240,7 +275,7 @@ def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -253,14 +288,14 @@ def screening_questions_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedScreeningQuestionList] + SyncPager[ScreeningQuestion] """ _response = self._client_wrapper.httpx_client.request( @@ -278,14 +313,29 @@ def screening_questions_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScreeningQuestionList, construct_type( type_=PaginatedScreeningQuestionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.screening_questions_list( + job_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -303,7 +353,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -316,7 +368,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["status"]] = None, status: typing.Optional[JobsListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedJobList]: + ) -> AsyncPager[Job]: """ Returns a list of `Job` objects. @@ -334,7 +386,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsListRequestExpand] + expand : typing.Optional[typing.Union[JobsListRequestExpandItem, typing.Sequence[JobsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -356,7 +408,7 @@ async def list( If provided, will only return jobs for this office; multiple offices can be separated by commas. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["status"]] Deprecated. Use show_enum_origins. @@ -381,7 +433,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedJobList] + AsyncPager[Job] """ _response = await self._client_wrapper.httpx_client.request( @@ -409,14 +461,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedJobList, construct_type( type_=PaginatedJobList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + code=code, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + offices=offices, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -426,7 +505,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[JobsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -440,7 +521,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[JobsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[JobsRetrieveRequestExpandItem, typing.Sequence[JobsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -495,13 +576,18 @@ async def screening_questions_list( job_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[JobsScreeningQuestionsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + JobsScreeningQuestionsListRequestExpandItem, + typing.Sequence[JobsScreeningQuestionsListRequestExpandItem], + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScreeningQuestionList]: + ) -> AsyncPager[ScreeningQuestion]: """ Returns a list of `ScreeningQuestion` objects. @@ -512,7 +598,7 @@ async def screening_questions_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[JobsScreeningQuestionsListRequestExpand] + expand : typing.Optional[typing.Union[JobsScreeningQuestionsListRequestExpandItem, typing.Sequence[JobsScreeningQuestionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -525,14 +611,14 @@ async def screening_questions_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedScreeningQuestionList] + AsyncPager[ScreeningQuestion] """ _response = await self._client_wrapper.httpx_client.request( @@ -550,14 +636,32 @@ async def screening_questions_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScreeningQuestionList, construct_type( type_=PaginatedScreeningQuestionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.screening_questions_list( + job_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/jobs/types/__init__.py b/src/merge/resources/ats/resources/jobs/types/__init__.py index a0a63aa0..00482c7a 100644 --- a/src/merge/resources/ats/resources/jobs/types/__init__.py +++ b/src/merge/resources/ats/resources/jobs/types/__init__.py @@ -6,15 +6,15 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .jobs_list_request_expand import JobsListRequestExpand + from .jobs_list_request_expand_item import JobsListRequestExpandItem from .jobs_list_request_status import JobsListRequestStatus - from .jobs_retrieve_request_expand import JobsRetrieveRequestExpand - from .jobs_screening_questions_list_request_expand import JobsScreeningQuestionsListRequestExpand + from .jobs_retrieve_request_expand_item import JobsRetrieveRequestExpandItem + from .jobs_screening_questions_list_request_expand_item import JobsScreeningQuestionsListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "JobsListRequestExpand": ".jobs_list_request_expand", + "JobsListRequestExpandItem": ".jobs_list_request_expand_item", "JobsListRequestStatus": ".jobs_list_request_status", - "JobsRetrieveRequestExpand": ".jobs_retrieve_request_expand", - "JobsScreeningQuestionsListRequestExpand": ".jobs_screening_questions_list_request_expand", + "JobsRetrieveRequestExpandItem": ".jobs_retrieve_request_expand_item", + "JobsScreeningQuestionsListRequestExpandItem": ".jobs_screening_questions_list_request_expand_item", } @@ -38,8 +38,8 @@ def __dir__(): __all__ = [ - "JobsListRequestExpand", + "JobsListRequestExpandItem", "JobsListRequestStatus", - "JobsRetrieveRequestExpand", - "JobsScreeningQuestionsListRequestExpand", + "JobsRetrieveRequestExpandItem", + "JobsScreeningQuestionsListRequestExpandItem", ] diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py deleted file mode 100644 index c6d97321..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsListRequestExpand(str, enum.Enum): - DEPARTMENTS = "departments" - DEPARTMENTS_HIRING_MANAGERS = "departments,hiring_managers" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS = "departments,hiring_managers,job_postings" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "departments,hiring_managers,job_postings,recruiters" - DEPARTMENTS_HIRING_MANAGERS_RECRUITERS = "departments,hiring_managers,recruiters" - DEPARTMENTS_JOB_POSTINGS = "departments,job_postings" - DEPARTMENTS_JOB_POSTINGS_RECRUITERS = "departments,job_postings,recruiters" - DEPARTMENTS_OFFICES = "departments,offices" - DEPARTMENTS_OFFICES_HIRING_MANAGERS = "departments,offices,hiring_managers" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "departments,offices,hiring_managers,job_postings" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = ( - "departments,offices,hiring_managers,job_postings,recruiters" - ) - DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS = "departments,offices,hiring_managers,recruiters" - DEPARTMENTS_OFFICES_JOB_POSTINGS = "departments,offices,job_postings" - DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS = "departments,offices,job_postings,recruiters" - DEPARTMENTS_OFFICES_RECRUITERS = "departments,offices,recruiters" - DEPARTMENTS_RECRUITERS = "departments,recruiters" - HIRING_MANAGERS = "hiring_managers" - HIRING_MANAGERS_JOB_POSTINGS = "hiring_managers,job_postings" - HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "hiring_managers,job_postings,recruiters" - HIRING_MANAGERS_RECRUITERS = "hiring_managers,recruiters" - JOB_POSTINGS = "job_postings" - JOB_POSTINGS_RECRUITERS = "job_postings,recruiters" - OFFICES = "offices" - OFFICES_HIRING_MANAGERS = "offices,hiring_managers" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "offices,hiring_managers,job_postings" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "offices,hiring_managers,job_postings,recruiters" - OFFICES_HIRING_MANAGERS_RECRUITERS = "offices,hiring_managers,recruiters" - OFFICES_JOB_POSTINGS = "offices,job_postings" - OFFICES_JOB_POSTINGS_RECRUITERS = "offices,job_postings,recruiters" - OFFICES_RECRUITERS = "offices,recruiters" - RECRUITERS = "recruiters" - - def visit( - self, - departments: typing.Callable[[], T_Result], - departments_hiring_managers: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_job_postings: typing.Callable[[], T_Result], - departments_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices: typing.Callable[[], T_Result], - departments_offices_hiring_managers: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_offices_job_postings: typing.Callable[[], T_Result], - departments_offices_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_recruiters: typing.Callable[[], T_Result], - departments_recruiters: typing.Callable[[], T_Result], - hiring_managers: typing.Callable[[], T_Result], - hiring_managers_job_postings: typing.Callable[[], T_Result], - hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - hiring_managers_recruiters: typing.Callable[[], T_Result], - job_postings: typing.Callable[[], T_Result], - job_postings_recruiters: typing.Callable[[], T_Result], - offices: typing.Callable[[], T_Result], - offices_hiring_managers: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - offices_job_postings: typing.Callable[[], T_Result], - offices_job_postings_recruiters: typing.Callable[[], T_Result], - offices_recruiters: typing.Callable[[], T_Result], - recruiters: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsListRequestExpand.DEPARTMENTS: - return departments() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS: - return departments_hiring_managers() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS: - return departments_hiring_managers_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_HIRING_MANAGERS_RECRUITERS: - return departments_hiring_managers_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_JOB_POSTINGS: - return departments_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_JOB_POSTINGS_RECRUITERS: - return departments_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES: - return departments_offices() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS: - return departments_offices_hiring_managers() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return departments_offices_hiring_managers_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_offices_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS: - return departments_offices_hiring_managers_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS: - return departments_offices_job_postings() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS: - return departments_offices_job_postings_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_OFFICES_RECRUITERS: - return departments_offices_recruiters() - if self is JobsListRequestExpand.DEPARTMENTS_RECRUITERS: - return departments_recruiters() - if self is JobsListRequestExpand.HIRING_MANAGERS: - return hiring_managers() - if self is JobsListRequestExpand.HIRING_MANAGERS_JOB_POSTINGS: - return hiring_managers_job_postings() - if self is JobsListRequestExpand.HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.HIRING_MANAGERS_RECRUITERS: - return hiring_managers_recruiters() - if self is JobsListRequestExpand.JOB_POSTINGS: - return job_postings() - if self is JobsListRequestExpand.JOB_POSTINGS_RECRUITERS: - return job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES: - return offices() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS: - return offices_hiring_managers() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return offices_hiring_managers_job_postings() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return offices_hiring_managers_job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES_HIRING_MANAGERS_RECRUITERS: - return offices_hiring_managers_recruiters() - if self is JobsListRequestExpand.OFFICES_JOB_POSTINGS: - return offices_job_postings() - if self is JobsListRequestExpand.OFFICES_JOB_POSTINGS_RECRUITERS: - return offices_job_postings_recruiters() - if self is JobsListRequestExpand.OFFICES_RECRUITERS: - return offices_recruiters() - if self is JobsListRequestExpand.RECRUITERS: - return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py new file mode 100644 index 00000000..65a316a6 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_list_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsListRequestExpandItem(str, enum.Enum): + DEPARTMENTS = "departments" + HIRING_MANAGERS = "hiring_managers" + JOB_POSTINGS = "job_postings" + OFFICES = "offices" + RECRUITERS = "recruiters" + + def visit( + self, + departments: typing.Callable[[], T_Result], + hiring_managers: typing.Callable[[], T_Result], + job_postings: typing.Callable[[], T_Result], + offices: typing.Callable[[], T_Result], + recruiters: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JobsListRequestExpandItem.DEPARTMENTS: + return departments() + if self is JobsListRequestExpandItem.HIRING_MANAGERS: + return hiring_managers() + if self is JobsListRequestExpandItem.JOB_POSTINGS: + return job_postings() + if self is JobsListRequestExpandItem.OFFICES: + return offices() + if self is JobsListRequestExpandItem.RECRUITERS: + return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py deleted file mode 100644 index 8075a8c9..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand.py +++ /dev/null @@ -1,139 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsRetrieveRequestExpand(str, enum.Enum): - DEPARTMENTS = "departments" - DEPARTMENTS_HIRING_MANAGERS = "departments,hiring_managers" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS = "departments,hiring_managers,job_postings" - DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "departments,hiring_managers,job_postings,recruiters" - DEPARTMENTS_HIRING_MANAGERS_RECRUITERS = "departments,hiring_managers,recruiters" - DEPARTMENTS_JOB_POSTINGS = "departments,job_postings" - DEPARTMENTS_JOB_POSTINGS_RECRUITERS = "departments,job_postings,recruiters" - DEPARTMENTS_OFFICES = "departments,offices" - DEPARTMENTS_OFFICES_HIRING_MANAGERS = "departments,offices,hiring_managers" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "departments,offices,hiring_managers,job_postings" - DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = ( - "departments,offices,hiring_managers,job_postings,recruiters" - ) - DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS = "departments,offices,hiring_managers,recruiters" - DEPARTMENTS_OFFICES_JOB_POSTINGS = "departments,offices,job_postings" - DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS = "departments,offices,job_postings,recruiters" - DEPARTMENTS_OFFICES_RECRUITERS = "departments,offices,recruiters" - DEPARTMENTS_RECRUITERS = "departments,recruiters" - HIRING_MANAGERS = "hiring_managers" - HIRING_MANAGERS_JOB_POSTINGS = "hiring_managers,job_postings" - HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "hiring_managers,job_postings,recruiters" - HIRING_MANAGERS_RECRUITERS = "hiring_managers,recruiters" - JOB_POSTINGS = "job_postings" - JOB_POSTINGS_RECRUITERS = "job_postings,recruiters" - OFFICES = "offices" - OFFICES_HIRING_MANAGERS = "offices,hiring_managers" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS = "offices,hiring_managers,job_postings" - OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS = "offices,hiring_managers,job_postings,recruiters" - OFFICES_HIRING_MANAGERS_RECRUITERS = "offices,hiring_managers,recruiters" - OFFICES_JOB_POSTINGS = "offices,job_postings" - OFFICES_JOB_POSTINGS_RECRUITERS = "offices,job_postings,recruiters" - OFFICES_RECRUITERS = "offices,recruiters" - RECRUITERS = "recruiters" - - def visit( - self, - departments: typing.Callable[[], T_Result], - departments_hiring_managers: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_job_postings: typing.Callable[[], T_Result], - departments_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices: typing.Callable[[], T_Result], - departments_offices_hiring_managers: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - departments_offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - departments_offices_job_postings: typing.Callable[[], T_Result], - departments_offices_job_postings_recruiters: typing.Callable[[], T_Result], - departments_offices_recruiters: typing.Callable[[], T_Result], - departments_recruiters: typing.Callable[[], T_Result], - hiring_managers: typing.Callable[[], T_Result], - hiring_managers_job_postings: typing.Callable[[], T_Result], - hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - hiring_managers_recruiters: typing.Callable[[], T_Result], - job_postings: typing.Callable[[], T_Result], - job_postings_recruiters: typing.Callable[[], T_Result], - offices: typing.Callable[[], T_Result], - offices_hiring_managers: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings: typing.Callable[[], T_Result], - offices_hiring_managers_job_postings_recruiters: typing.Callable[[], T_Result], - offices_hiring_managers_recruiters: typing.Callable[[], T_Result], - offices_job_postings: typing.Callable[[], T_Result], - offices_job_postings_recruiters: typing.Callable[[], T_Result], - offices_recruiters: typing.Callable[[], T_Result], - recruiters: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsRetrieveRequestExpand.DEPARTMENTS: - return departments() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS: - return departments_hiring_managers() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS: - return departments_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_HIRING_MANAGERS_RECRUITERS: - return departments_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_JOB_POSTINGS: - return departments_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_JOB_POSTINGS_RECRUITERS: - return departments_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES: - return departments_offices() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS: - return departments_offices_hiring_managers() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return departments_offices_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return departments_offices_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_HIRING_MANAGERS_RECRUITERS: - return departments_offices_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS: - return departments_offices_job_postings() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_JOB_POSTINGS_RECRUITERS: - return departments_offices_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_OFFICES_RECRUITERS: - return departments_offices_recruiters() - if self is JobsRetrieveRequestExpand.DEPARTMENTS_RECRUITERS: - return departments_recruiters() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS: - return hiring_managers() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_JOB_POSTINGS: - return hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.HIRING_MANAGERS_RECRUITERS: - return hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.JOB_POSTINGS: - return job_postings() - if self is JobsRetrieveRequestExpand.JOB_POSTINGS_RECRUITERS: - return job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES: - return offices() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS: - return offices_hiring_managers() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS: - return offices_hiring_managers_job_postings() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_JOB_POSTINGS_RECRUITERS: - return offices_hiring_managers_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_HIRING_MANAGERS_RECRUITERS: - return offices_hiring_managers_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_JOB_POSTINGS: - return offices_job_postings() - if self is JobsRetrieveRequestExpand.OFFICES_JOB_POSTINGS_RECRUITERS: - return offices_job_postings_recruiters() - if self is JobsRetrieveRequestExpand.OFFICES_RECRUITERS: - return offices_recruiters() - if self is JobsRetrieveRequestExpand.RECRUITERS: - return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py new file mode 100644 index 00000000..5826fa06 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_retrieve_request_expand_item.py @@ -0,0 +1,33 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsRetrieveRequestExpandItem(str, enum.Enum): + DEPARTMENTS = "departments" + HIRING_MANAGERS = "hiring_managers" + JOB_POSTINGS = "job_postings" + OFFICES = "offices" + RECRUITERS = "recruiters" + + def visit( + self, + departments: typing.Callable[[], T_Result], + hiring_managers: typing.Callable[[], T_Result], + job_postings: typing.Callable[[], T_Result], + offices: typing.Callable[[], T_Result], + recruiters: typing.Callable[[], T_Result], + ) -> T_Result: + if self is JobsRetrieveRequestExpandItem.DEPARTMENTS: + return departments() + if self is JobsRetrieveRequestExpandItem.HIRING_MANAGERS: + return hiring_managers() + if self is JobsRetrieveRequestExpandItem.JOB_POSTINGS: + return job_postings() + if self is JobsRetrieveRequestExpandItem.OFFICES: + return offices() + if self is JobsRetrieveRequestExpandItem.RECRUITERS: + return recruiters() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py deleted file mode 100644 index 8fa46bd6..00000000 --- a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class JobsScreeningQuestionsListRequestExpand(str, enum.Enum): - JOB = "job" - OPTIONS = "options" - OPTIONS_JOB = "options,job" - - def visit( - self, - job: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - options_job: typing.Callable[[], T_Result], - ) -> T_Result: - if self is JobsScreeningQuestionsListRequestExpand.JOB: - return job() - if self is JobsScreeningQuestionsListRequestExpand.OPTIONS: - return options() - if self is JobsScreeningQuestionsListRequestExpand.OPTIONS_JOB: - return options_job() diff --git a/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py new file mode 100644 index 00000000..e4ec2b29 --- /dev/null +++ b/src/merge/resources/ats/resources/jobs/types/jobs_screening_questions_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class JobsScreeningQuestionsListRequestExpandItem(str, enum.Enum): + JOB = "job" + OPTIONS = "options" + + def visit(self, job: typing.Callable[[], T_Result], options: typing.Callable[[], T_Result]) -> T_Result: + if self is JobsScreeningQuestionsListRequestExpandItem.JOB: + return job() + if self is JobsScreeningQuestionsListRequestExpandItem.OPTIONS: + return options() diff --git a/src/merge/resources/ats/resources/link_token/client.py b/src/merge/resources/ats/resources/link_token/client.py index 63de9768..dabb5108 100644 --- a/src/merge/resources/ats/resources/link_token/client.py +++ b/src/merge/resources/ats/resources/link_token/client.py @@ -51,7 +51,7 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -176,7 +176,7 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- diff --git a/src/merge/resources/ats/resources/link_token/raw_client.py b/src/merge/resources/ats/resources/link_token/raw_client.py index 8051f896..28b931bb 100644 --- a/src/merge/resources/ats/resources/link_token/raw_client.py +++ b/src/merge/resources/ats/resources/link_token/raw_client.py @@ -43,7 +43,7 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -162,7 +162,7 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- diff --git a/src/merge/resources/ats/resources/linked_accounts/client.py b/src/merge/resources/ats/resources/linked_accounts/client.py index 6bce4b50..c6febfed 100644 --- a/src/merge/resources/ats/resources/linked_accounts/client.py +++ b/src/merge/resources/ats/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -88,7 +89,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,7 +99,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.linked_accounts.list( + response = client.ats.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +128,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +150,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +184,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -226,7 +231,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +241,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +260,7 @@ async def list( async def main() -> None: - await client.ats.linked_accounts.list( + response = await client.ats.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +275,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +301,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/linked_accounts/raw_client.py b/src/merge/resources/ats/resources/linked_accounts/raw_client.py index ff1e240c..a187e53e 100644 --- a/src/merge/resources/ats/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ats/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -80,7 +81,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +172,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -197,7 +219,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +229,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +254,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/offers/__init__.py b/src/merge/resources/ats/resources/offers/__init__.py index a02284e3..3eeed634 100644 --- a/src/merge/resources/ats/resources/offers/__init__.py +++ b/src/merge/resources/ats/resources/offers/__init__.py @@ -6,8 +6,12 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import OffersListRequestExpand, OffersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"OffersListRequestExpand": ".types", "OffersRetrieveRequestExpand": ".types"} + from .types import OffersListRequestExpandItem, OffersListRequestStatus, OffersRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "OffersListRequestExpandItem": ".types", + "OffersListRequestStatus": ".types", + "OffersRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OffersListRequestExpand", "OffersRetrieveRequestExpand"] +__all__ = ["OffersListRequestExpandItem", "OffersListRequestStatus", "OffersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/offers/client.py b/src/merge/resources/ats/resources/offers/client.py index 4d47e1b4..befa61ad 100644 --- a/src/merge/resources/ats/resources/offers/client.py +++ b/src/merge/resources/ats/resources/offers/client.py @@ -4,12 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.offer import Offer -from ...types.paginated_offer_list import PaginatedOfferList from .raw_client import AsyncRawOffersClient, RawOffersClient -from .types.offers_list_request_expand import OffersListRequestExpand -from .types.offers_retrieve_request_expand import OffersRetrieveRequestExpand +from .types.offers_list_request_expand_item import OffersListRequestExpandItem +from .types.offers_list_request_status import OffersListRequestStatus +from .types.offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem class OffersClient: @@ -35,7 +36,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,8 +48,9 @@ def list( remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + status: typing.Optional[OffersListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfferList: + ) -> SyncPager[Offer]: """ Returns a list of `Offer` objects. @@ -67,7 +71,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -97,12 +101,25 @@ def list( show_enum_origins : typing.Optional[typing.Literal["status"]] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + status : typing.Optional[OffersListRequestStatus] + If provided, will only return offers with this status. Options: ('DRAFT', 'APPROVAL-SENT', 'APPROVED', 'SENT', 'SENT-MANUALLY', 'OPENED', 'DENIED', 'SIGNED', 'DEPRECATED') + + * `DRAFT` - DRAFT + * `APPROVAL-SENT` - APPROVAL-SENT + * `APPROVED` - APPROVED + * `SENT` - SENT + * `SENT-MANUALLY` - SENT-MANUALLY + * `OPENED` - OPENED + * `DENIED` - DENIED + * `SIGNED` - SIGNED + * `DEPRECATED` - DEPRECATED + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedOfferList + SyncPager[Offer] Examples @@ -110,13 +127,13 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.offers import OffersListRequestExpand + from merge.resources.ats.resources.offers import OffersListRequestStatus client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.offers.list( + response = client.ats.offers.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -126,7 +143,6 @@ def list( ), creator_id="creator_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -138,9 +154,15 @@ def list( ), page_size=1, remote_id="remote_id", + status=OffersListRequestStatus.APPROVAL_SENT, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -156,15 +178,17 @@ def list( remote_fields=remote_fields, remote_id=remote_id, show_enum_origins=show_enum_origins, + status=status, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -178,7 +202,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -204,7 +228,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -212,7 +235,6 @@ def retrieve( ) client.ats.offers.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) @@ -252,7 +274,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -262,8 +286,9 @@ async def list( remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + status: typing.Optional[OffersListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfferList: + ) -> AsyncPager[Offer]: """ Returns a list of `Offer` objects. @@ -284,7 +309,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -314,12 +339,25 @@ async def list( show_enum_origins : typing.Optional[typing.Literal["status"]] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + status : typing.Optional[OffersListRequestStatus] + If provided, will only return offers with this status. Options: ('DRAFT', 'APPROVAL-SENT', 'APPROVED', 'SENT', 'SENT-MANUALLY', 'OPENED', 'DENIED', 'SIGNED', 'DEPRECATED') + + * `DRAFT` - DRAFT + * `APPROVAL-SENT` - APPROVAL-SENT + * `APPROVED` - APPROVED + * `SENT` - SENT + * `SENT-MANUALLY` - SENT-MANUALLY + * `OPENED` - OPENED + * `DENIED` - DENIED + * `SIGNED` - SIGNED + * `DEPRECATED` - DEPRECATED + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedOfferList + AsyncPager[Offer] Examples @@ -328,7 +366,7 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.offers import OffersListRequestExpand + from merge.resources.ats.resources.offers import OffersListRequestStatus client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -337,7 +375,7 @@ async def list( async def main() -> None: - await client.ats.offers.list( + response = await client.ats.offers.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -347,7 +385,6 @@ async def main() -> None: ), creator_id="creator_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OffersListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -359,12 +396,19 @@ async def main() -> None: ), page_size=1, remote_id="remote_id", + status=OffersListRequestStatus.APPROVAL_SENT, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -380,15 +424,17 @@ async def main() -> None: remote_fields=remote_fields, remote_id=remote_id, show_enum_origins=show_enum_origins, + status=status, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -402,7 +448,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -430,7 +476,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.offers import OffersRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -441,7 +486,6 @@ async def retrieve( async def main() -> None: await client.ats.offers.retrieve( id="id", - expand=OffersRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/offers/raw_client.py b/src/merge/resources/ats/resources/offers/raw_client.py index dceccd3d..803d23e6 100644 --- a/src/merge/resources/ats/resources/offers/raw_client.py +++ b/src/merge/resources/ats/resources/offers/raw_client.py @@ -9,12 +9,14 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.offer import Offer from ...types.paginated_offer_list import PaginatedOfferList -from .types.offers_list_request_expand import OffersListRequestExpand -from .types.offers_retrieve_request_expand import OffersRetrieveRequestExpand +from .types.offers_list_request_expand_item import OffersListRequestExpandItem +from .types.offers_list_request_status import OffersListRequestStatus +from .types.offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem class RawOffersClient: @@ -29,7 +31,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,8 +43,9 @@ def list( remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + status: typing.Optional[OffersListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOfferList]: + ) -> SyncPager[Offer]: """ Returns a list of `Offer` objects. @@ -61,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,12 +96,25 @@ def list( show_enum_origins : typing.Optional[typing.Literal["status"]] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + status : typing.Optional[OffersListRequestStatus] + If provided, will only return offers with this status. Options: ('DRAFT', 'APPROVAL-SENT', 'APPROVED', 'SENT', 'SENT-MANUALLY', 'OPENED', 'DENIED', 'SIGNED', 'DEPRECATED') + + * `DRAFT` - DRAFT + * `APPROVAL-SENT` - APPROVAL-SENT + * `APPROVED` - APPROVED + * `SENT` - SENT + * `SENT-MANUALLY` - SENT-MANUALLY + * `OPENED` - OPENED + * `DENIED` - DENIED + * `SIGNED` - SIGNED + * `DEPRECATED` - DEPRECATED + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedOfferList] + SyncPager[Offer] """ _response = self._client_wrapper.httpx_client.request( @@ -118,19 +136,44 @@ def list( "remote_fields": remote_fields, "remote_id": remote_id, "show_enum_origins": show_enum_origins, + "status": status, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfferList, construct_type( type_=PaginatedOfferList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -140,7 +183,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -154,7 +199,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -217,7 +262,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, creator_id: typing.Optional[str] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OffersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -227,8 +274,9 @@ async def list( remote_fields: typing.Optional[typing.Literal["status"]] = None, remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["status"]] = None, + status: typing.Optional[OffersListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOfferList]: + ) -> AsyncPager[Offer]: """ Returns a list of `Offer` objects. @@ -249,7 +297,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OffersListRequestExpand] + expand : typing.Optional[typing.Union[OffersListRequestExpandItem, typing.Sequence[OffersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -279,12 +327,25 @@ async def list( show_enum_origins : typing.Optional[typing.Literal["status"]] A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + status : typing.Optional[OffersListRequestStatus] + If provided, will only return offers with this status. Options: ('DRAFT', 'APPROVAL-SENT', 'APPROVED', 'SENT', 'SENT-MANUALLY', 'OPENED', 'DENIED', 'SIGNED', 'DEPRECATED') + + * `DRAFT` - DRAFT + * `APPROVAL-SENT` - APPROVAL-SENT + * `APPROVED` - APPROVED + * `SENT` - SENT + * `SENT-MANUALLY` - SENT-MANUALLY + * `OPENED` - OPENED + * `DENIED` - DENIED + * `SIGNED` - SIGNED + * `DEPRECATED` - DEPRECATED + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedOfferList] + AsyncPager[Offer] """ _response = await self._client_wrapper.httpx_client.request( @@ -306,19 +367,47 @@ async def list( "remote_fields": remote_fields, "remote_id": remote_id, "show_enum_origins": show_enum_origins, + "status": status, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfferList, construct_type( type_=PaginatedOfferList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -328,7 +417,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OffersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["status"]] = None, @@ -342,7 +433,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OffersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OffersRetrieveRequestExpandItem, typing.Sequence[OffersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/offers/types/__init__.py b/src/merge/resources/ats/resources/offers/types/__init__.py index f8f79582..64f2772b 100644 --- a/src/merge/resources/ats/resources/offers/types/__init__.py +++ b/src/merge/resources/ats/resources/offers/types/__init__.py @@ -6,11 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .offers_list_request_expand import OffersListRequestExpand - from .offers_retrieve_request_expand import OffersRetrieveRequestExpand + from .offers_list_request_expand_item import OffersListRequestExpandItem + from .offers_list_request_status import OffersListRequestStatus + from .offers_retrieve_request_expand_item import OffersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "OffersListRequestExpand": ".offers_list_request_expand", - "OffersRetrieveRequestExpand": ".offers_retrieve_request_expand", + "OffersListRequestExpandItem": ".offers_list_request_expand_item", + "OffersListRequestStatus": ".offers_list_request_status", + "OffersRetrieveRequestExpandItem": ".offers_retrieve_request_expand_item", } @@ -33,4 +35,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OffersListRequestExpand", "OffersRetrieveRequestExpand"] +__all__ = ["OffersListRequestExpandItem", "OffersListRequestStatus", "OffersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py deleted file mode 100644 index 385eba96..00000000 --- a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OffersListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_CREATOR = "application,creator" - CREATOR = "creator" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_creator: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OffersListRequestExpand.APPLICATION: - return application() - if self is OffersListRequestExpand.APPLICATION_CREATOR: - return application_creator() - if self is OffersListRequestExpand.CREATOR: - return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py new file mode 100644 index 00000000..8b386364 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + CREATOR = "creator" + + def visit(self, application: typing.Callable[[], T_Result], creator: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersListRequestExpandItem.APPLICATION: + return application() + if self is OffersListRequestExpandItem.CREATOR: + return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_list_request_status.py b/src/merge/resources/ats/resources/offers/types/offers_list_request_status.py new file mode 100644 index 00000000..8b23c596 --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_list_request_status.py @@ -0,0 +1,49 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersListRequestStatus(str, enum.Enum): + APPROVAL_SENT = "APPROVAL-SENT" + APPROVED = "APPROVED" + DENIED = "DENIED" + DEPRECATED = "DEPRECATED" + DRAFT = "DRAFT" + OPENED = "OPENED" + SENT = "SENT" + SENT_MANUALLY = "SENT-MANUALLY" + SIGNED = "SIGNED" + + def visit( + self, + approval_sent: typing.Callable[[], T_Result], + approved: typing.Callable[[], T_Result], + denied: typing.Callable[[], T_Result], + deprecated: typing.Callable[[], T_Result], + draft: typing.Callable[[], T_Result], + opened: typing.Callable[[], T_Result], + sent: typing.Callable[[], T_Result], + sent_manually: typing.Callable[[], T_Result], + signed: typing.Callable[[], T_Result], + ) -> T_Result: + if self is OffersListRequestStatus.APPROVAL_SENT: + return approval_sent() + if self is OffersListRequestStatus.APPROVED: + return approved() + if self is OffersListRequestStatus.DENIED: + return denied() + if self is OffersListRequestStatus.DEPRECATED: + return deprecated() + if self is OffersListRequestStatus.DRAFT: + return draft() + if self is OffersListRequestStatus.OPENED: + return opened() + if self is OffersListRequestStatus.SENT: + return sent() + if self is OffersListRequestStatus.SENT_MANUALLY: + return sent_manually() + if self is OffersListRequestStatus.SIGNED: + return signed() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py deleted file mode 100644 index 38a7c9d1..00000000 --- a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OffersRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_CREATOR = "application,creator" - CREATOR = "creator" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_creator: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OffersRetrieveRequestExpand.APPLICATION: - return application() - if self is OffersRetrieveRequestExpand.APPLICATION_CREATOR: - return application_creator() - if self is OffersRetrieveRequestExpand.CREATOR: - return creator() diff --git a/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py new file mode 100644 index 00000000..d65095df --- /dev/null +++ b/src/merge/resources/ats/resources/offers/types/offers_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class OffersRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + CREATOR = "creator" + + def visit(self, application: typing.Callable[[], T_Result], creator: typing.Callable[[], T_Result]) -> T_Result: + if self is OffersRetrieveRequestExpandItem.APPLICATION: + return application() + if self is OffersRetrieveRequestExpandItem.CREATOR: + return creator() diff --git a/src/merge/resources/ats/resources/offices/client.py b/src/merge/resources/ats/resources/offices/client.py index b4892b81..720c582d 100644 --- a/src/merge/resources/ats/resources/offices/client.py +++ b/src/merge/resources/ats/resources/offices/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.office import Office -from ...types.paginated_office_list import PaginatedOfficeList from .raw_client import AsyncRawOfficesClient, RawOfficesClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfficeList: + ) -> SyncPager[Office]: """ Returns a list of `Office` objects. @@ -70,7 +70,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedOfficeList + SyncPager[Office] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.offices.list( + response = client.ats.offices.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOfficeList: + ) -> AsyncPager[Office]: """ Returns a list of `Office` objects. @@ -241,7 +245,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedOfficeList + AsyncPager[Office] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ats.offices.list( + response = await client.ats.offices.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ats/resources/offices/raw_client.py b/src/merge/resources/ats/resources/offices/raw_client.py index 826a5f60..be406670 100644 --- a/src/merge/resources/ats/resources/offices/raw_client.py +++ b/src/merge/resources/ats/resources/offices/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.office import Office @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOfficeList]: + ) -> SyncPager[Office]: """ Returns a list of `Office` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedOfficeList] + SyncPager[Office] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfficeList, construct_type( type_=PaginatedOfficeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOfficeList]: + ) -> AsyncPager[Office]: """ Returns a list of `Office` objects. @@ -212,7 +231,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedOfficeList] + AsyncPager[Office] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOfficeList, construct_type( type_=PaginatedOfficeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/reject_reasons/client.py b/src/merge/resources/ats/resources/reject_reasons/client.py index f86f8194..f10eb4ce 100644 --- a/src/merge/resources/ats/resources/reject_reasons/client.py +++ b/src/merge/resources/ats/resources/reject_reasons/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_reject_reason_list import PaginatedRejectReasonList from ...types.reject_reason import RejectReason from .raw_client import AsyncRawRejectReasonsClient, RawRejectReasonsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRejectReasonList: + ) -> SyncPager[RejectReason]: """ Returns a list of `RejectReason` objects. @@ -70,7 +70,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedRejectReasonList + SyncPager[RejectReason] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.reject_reasons.list( + response = client.ats.reject_reasons.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRejectReasonList: + ) -> AsyncPager[RejectReason]: """ Returns a list of `RejectReason` objects. @@ -241,7 +245,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedRejectReasonList + AsyncPager[RejectReason] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ats.reject_reasons.list( + response = await client.ats.reject_reasons.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ats/resources/reject_reasons/raw_client.py b/src/merge/resources/ats/resources/reject_reasons/raw_client.py index b7951868..f8ee26b3 100644 --- a/src/merge/resources/ats/resources/reject_reasons/raw_client.py +++ b/src/merge/resources/ats/resources/reject_reasons/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_reject_reason_list import PaginatedRejectReasonList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRejectReasonList]: + ) -> SyncPager[RejectReason]: """ Returns a list of `RejectReason` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedRejectReasonList] + SyncPager[RejectReason] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRejectReasonList, construct_type( type_=PaginatedRejectReasonList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRejectReasonList]: + ) -> AsyncPager[RejectReason]: """ Returns a list of `RejectReason` objects. @@ -212,7 +231,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRejectReasonList] + AsyncPager[RejectReason] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRejectReasonList, construct_type( type_=PaginatedRejectReasonList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/scorecards/__init__.py b/src/merge/resources/ats/resources/scorecards/__init__.py index a40efa74..bb2567f6 100644 --- a/src/merge/resources/ats/resources/scorecards/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ScorecardsListRequestExpand, ScorecardsRetrieveRequestExpand + from .types import ScorecardsListRequestExpandItem, ScorecardsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ScorecardsListRequestExpand": ".types", - "ScorecardsRetrieveRequestExpand": ".types", + "ScorecardsListRequestExpandItem": ".types", + "ScorecardsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ScorecardsListRequestExpand", "ScorecardsRetrieveRequestExpand"] +__all__ = ["ScorecardsListRequestExpandItem", "ScorecardsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/scorecards/client.py b/src/merge/resources/ats/resources/scorecards/client.py index 071dddab..9b0089e0 100644 --- a/src/merge/resources/ats/resources/scorecards/client.py +++ b/src/merge/resources/ats/resources/scorecards/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_scorecard_list import PaginatedScorecardList from ...types.scorecard import Scorecard from .raw_client import AsyncRawScorecardsClient, RawScorecardsClient -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand +from .types.scorecards_list_request_expand_item import ScorecardsListRequestExpandItem +from .types.scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem class ScorecardsClient: @@ -34,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +49,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScorecardList: + ) -> SyncPager[Scorecard]: """ Returns a list of `Scorecard` objects. @@ -65,7 +67,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -90,7 +92,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] Deprecated. Use show_enum_origins. @@ -106,7 +108,7 @@ def list( Returns ------- - PaginatedScorecardList + SyncPager[Scorecard] Examples @@ -114,13 +116,12 @@ def list( import datetime from merge import Merge - from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.scorecards.list( + response = client.ats.scorecards.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -129,7 +130,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -144,8 +144,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -164,13 +169,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, @@ -184,7 +190,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -210,9 +216,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -220,7 +223,6 @@ def retrieve( ) client.ats.scorecards.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) @@ -259,7 +261,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -272,7 +276,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedScorecardList: + ) -> AsyncPager[Scorecard]: """ Returns a list of `Scorecard` objects. @@ -290,7 +294,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -315,7 +319,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] Deprecated. Use show_enum_origins. @@ -331,7 +335,7 @@ async def list( Returns ------- - PaginatedScorecardList + AsyncPager[Scorecard] Examples @@ -340,7 +344,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ats.resources.scorecards import ScorecardsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -349,7 +352,7 @@ async def list( async def main() -> None: - await client.ats.scorecards.list( + response = await client.ats.scorecards.list( application_id="application_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -358,7 +361,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ScorecardsListRequestExpand.APPLICATION, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -373,11 +375,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( application_id=application_id, created_after=created_after, created_before=created_before, @@ -396,13 +404,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, @@ -416,7 +425,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -444,9 +453,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ats.resources.scorecards import ( - ScorecardsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -457,7 +463,6 @@ async def retrieve( async def main() -> None: await client.ats.scorecards.retrieve( id="id", - expand=ScorecardsRetrieveRequestExpand.APPLICATION, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ats/resources/scorecards/raw_client.py b/src/merge/resources/ats/resources/scorecards/raw_client.py index 0bdb8fa2..dc06cb74 100644 --- a/src/merge/resources/ats/resources/scorecards/raw_client.py +++ b/src/merge/resources/ats/resources/scorecards/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_scorecard_list import PaginatedScorecardList from ...types.scorecard import Scorecard -from .types.scorecards_list_request_expand import ScorecardsListRequestExpand -from .types.scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand +from .types.scorecards_list_request_expand_item import ScorecardsListRequestExpandItem +from .types.scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem class RawScorecardsClient: @@ -28,7 +29,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +44,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedScorecardList]: + ) -> SyncPager[Scorecard]: """ Returns a list of `Scorecard` objects. @@ -59,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +87,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] Deprecated. Use show_enum_origins. @@ -100,7 +103,7 @@ def list( Returns ------- - HttpResponse[PaginatedScorecardList] + SyncPager[Scorecard] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +131,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScorecardList, construct_type( type_=PaginatedScorecardList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + interview_id=interview_id, + interviewer_id=interviewer_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -145,7 +172,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, @@ -159,7 +188,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -221,7 +250,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[ScorecardsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -234,7 +265,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["overall_recommendation"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedScorecardList]: + ) -> AsyncPager[Scorecard]: """ Returns a list of `Scorecard` objects. @@ -252,7 +283,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ScorecardsListRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsListRequestExpandItem, typing.Sequence[ScorecardsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -277,7 +308,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["overall_recommendation"]] Deprecated. Use show_enum_origins. @@ -293,7 +324,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedScorecardList] + AsyncPager[Scorecard] """ _response = await self._client_wrapper.httpx_client.request( @@ -321,14 +352,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedScorecardList, construct_type( type_=PaginatedScorecardList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + application_id=application_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + interview_id=interview_id, + interviewer_id=interviewer_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -338,7 +396,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ScorecardsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["overall_recommendation"]] = None, @@ -352,7 +412,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ScorecardsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ScorecardsRetrieveRequestExpandItem, typing.Sequence[ScorecardsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ats/resources/scorecards/types/__init__.py b/src/merge/resources/ats/resources/scorecards/types/__init__.py index 11221107..d4ba55ae 100644 --- a/src/merge/resources/ats/resources/scorecards/types/__init__.py +++ b/src/merge/resources/ats/resources/scorecards/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .scorecards_list_request_expand import ScorecardsListRequestExpand - from .scorecards_retrieve_request_expand import ScorecardsRetrieveRequestExpand + from .scorecards_list_request_expand_item import ScorecardsListRequestExpandItem + from .scorecards_retrieve_request_expand_item import ScorecardsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ScorecardsListRequestExpand": ".scorecards_list_request_expand", - "ScorecardsRetrieveRequestExpand": ".scorecards_retrieve_request_expand", + "ScorecardsListRequestExpandItem": ".scorecards_list_request_expand_item", + "ScorecardsRetrieveRequestExpandItem": ".scorecards_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ScorecardsListRequestExpand", "ScorecardsRetrieveRequestExpand"] +__all__ = ["ScorecardsListRequestExpandItem", "ScorecardsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py deleted file mode 100644 index 0c9598b4..00000000 --- a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ScorecardsListRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_INTERVIEW = "application,interview" - APPLICATION_INTERVIEW_INTERVIEWER = "application,interview,interviewer" - APPLICATION_INTERVIEWER = "application,interviewer" - INTERVIEW = "interview" - INTERVIEW_INTERVIEWER = "interview,interviewer" - INTERVIEWER = "interviewer" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_interview: typing.Callable[[], T_Result], - application_interview_interviewer: typing.Callable[[], T_Result], - application_interviewer: typing.Callable[[], T_Result], - interview: typing.Callable[[], T_Result], - interview_interviewer: typing.Callable[[], T_Result], - interviewer: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ScorecardsListRequestExpand.APPLICATION: - return application() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEW: - return application_interview() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEW_INTERVIEWER: - return application_interview_interviewer() - if self is ScorecardsListRequestExpand.APPLICATION_INTERVIEWER: - return application_interviewer() - if self is ScorecardsListRequestExpand.INTERVIEW: - return interview() - if self is ScorecardsListRequestExpand.INTERVIEW_INTERVIEWER: - return interview_interviewer() - if self is ScorecardsListRequestExpand.INTERVIEWER: - return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py new file mode 100644 index 00000000..2c0dbca4 --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsListRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEW = "interview" + INTERVIEWER = "interviewer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interview: typing.Callable[[], T_Result], + interviewer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ScorecardsListRequestExpandItem.APPLICATION: + return application() + if self is ScorecardsListRequestExpandItem.INTERVIEW: + return interview() + if self is ScorecardsListRequestExpandItem.INTERVIEWER: + return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py deleted file mode 100644 index 980629df..00000000 --- a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ScorecardsRetrieveRequestExpand(str, enum.Enum): - APPLICATION = "application" - APPLICATION_INTERVIEW = "application,interview" - APPLICATION_INTERVIEW_INTERVIEWER = "application,interview,interviewer" - APPLICATION_INTERVIEWER = "application,interviewer" - INTERVIEW = "interview" - INTERVIEW_INTERVIEWER = "interview,interviewer" - INTERVIEWER = "interviewer" - - def visit( - self, - application: typing.Callable[[], T_Result], - application_interview: typing.Callable[[], T_Result], - application_interview_interviewer: typing.Callable[[], T_Result], - application_interviewer: typing.Callable[[], T_Result], - interview: typing.Callable[[], T_Result], - interview_interviewer: typing.Callable[[], T_Result], - interviewer: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ScorecardsRetrieveRequestExpand.APPLICATION: - return application() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEW: - return application_interview() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEW_INTERVIEWER: - return application_interview_interviewer() - if self is ScorecardsRetrieveRequestExpand.APPLICATION_INTERVIEWER: - return application_interviewer() - if self is ScorecardsRetrieveRequestExpand.INTERVIEW: - return interview() - if self is ScorecardsRetrieveRequestExpand.INTERVIEW_INTERVIEWER: - return interview_interviewer() - if self is ScorecardsRetrieveRequestExpand.INTERVIEWER: - return interviewer() diff --git a/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py new file mode 100644 index 00000000..76a28f62 --- /dev/null +++ b/src/merge/resources/ats/resources/scorecards/types/scorecards_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ScorecardsRetrieveRequestExpandItem(str, enum.Enum): + APPLICATION = "application" + INTERVIEW = "interview" + INTERVIEWER = "interviewer" + + def visit( + self, + application: typing.Callable[[], T_Result], + interview: typing.Callable[[], T_Result], + interviewer: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ScorecardsRetrieveRequestExpandItem.APPLICATION: + return application() + if self is ScorecardsRetrieveRequestExpandItem.INTERVIEW: + return interview() + if self is ScorecardsRetrieveRequestExpandItem.INTERVIEWER: + return interviewer() diff --git a/src/merge/resources/ats/resources/sync_status/client.py b/src/merge/resources/ats/resources/sync_status/client.py index ca78911a..dd31eb63 100644 --- a/src/merge/resources/ats/resources/sync_status/client.py +++ b/src/merge/resources/ats/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +40,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.sync_status.list( + response = client.ats.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.ats.sync_status.list( + response = await client.ats.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/ats/resources/sync_status/raw_client.py b/src/merge/resources/ats/resources/sync_status/raw_client.py index 857f6dcb..577013d0 100644 --- a/src/merge/resources/ats/resources/sync_status/raw_client.py +++ b/src/merge/resources/ats/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +97,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/tags/client.py b/src/merge/resources/ats/resources/tags/client.py index 4bd24041..c63d907c 100644 --- a/src/merge/resources/ats/resources/tags/client.py +++ b/src/merge/resources/ats/resources/tags/client.py @@ -4,8 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_tag_list import PaginatedTagList +from ...types.tag import Tag from .raw_client import AsyncRawTagsClient, RawTagsClient @@ -38,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> SyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -69,7 +70,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -79,7 +80,7 @@ def list( Returns ------- - PaginatedTagList + SyncPager[Tag] Examples @@ -92,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.tags.list( + response = client.ats.tags.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -112,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -126,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data class AsyncTagsClient: @@ -158,7 +163,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> AsyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -189,7 +194,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -199,7 +204,7 @@ async def list( Returns ------- - PaginatedTagList + AsyncPager[Tag] Examples @@ -216,7 +221,7 @@ async def list( async def main() -> None: - await client.ats.tags.list( + response = await client.ats.tags.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -236,11 +241,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -253,4 +264,3 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ats/resources/tags/raw_client.py b/src/merge/resources/ats/resources/tags/raw_client.py index 9137b708..8049c338 100644 --- a/src/merge/resources/ats/resources/tags/raw_client.py +++ b/src/merge/resources/ats/resources/tags/raw_client.py @@ -7,10 +7,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tag_list import PaginatedTagList +from ...types.tag import Tag class RawTagsClient: @@ -31,7 +32,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTagList]: + ) -> SyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -62,7 +63,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -72,7 +73,7 @@ def list( Returns ------- - HttpResponse[PaginatedTagList] + SyncPager[Tag] """ _response = self._client_wrapper.httpx_client.request( @@ -94,14 +95,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -126,7 +145,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTagList]: + ) -> AsyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -157,7 +176,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -167,7 +186,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTagList] + AsyncPager[Tag] """ _response = await self._client_wrapper.httpx_client.request( @@ -189,14 +208,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/resources/users/client.py b/src/merge/resources/ats/resources/users/client.py index df8e2b2f..c04ed59b 100644 --- a/src/merge/resources/ats/resources/users/client.py +++ b/src/merge/resources/ats/resources/users/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_remote_user_list import PaginatedRemoteUserList from ...types.remote_user import RemoteUser from .raw_client import AsyncRawUsersClient, RawUsersClient @@ -42,7 +42,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteUserList: + ) -> SyncPager[RemoteUser]: """ Returns a list of `RemoteUser` objects. @@ -76,7 +76,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["access_role"]] Deprecated. Use show_enum_origins. @@ -92,7 +92,7 @@ def list( Returns ------- - PaginatedRemoteUserList + SyncPager[RemoteUser] Examples @@ -105,7 +105,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ats.users.list( + response = client.ats.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -126,8 +126,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -143,7 +148,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, @@ -239,7 +243,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteUserList: + ) -> AsyncPager[RemoteUser]: """ Returns a list of `RemoteUser` objects. @@ -273,7 +277,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["access_role"]] Deprecated. Use show_enum_origins. @@ -289,7 +293,7 @@ async def list( Returns ------- - PaginatedRemoteUserList + AsyncPager[RemoteUser] Examples @@ -306,7 +310,7 @@ async def list( async def main() -> None: - await client.ats.users.list( + response = await client.ats.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -327,11 +331,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -347,7 +357,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ats/resources/users/raw_client.py b/src/merge/resources/ats/resources/users/raw_client.py index cadd27a9..a4c87b57 100644 --- a/src/merge/resources/ats/resources/users/raw_client.py +++ b/src/merge/resources/ats/resources/users/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_remote_user_list import PaginatedRemoteUserList @@ -36,7 +37,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteUserList]: + ) -> SyncPager[RemoteUser]: """ Returns a list of `RemoteUser` objects. @@ -70,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["access_role"]] Deprecated. Use show_enum_origins. @@ -86,7 +87,7 @@ def list( Returns ------- - HttpResponse[PaginatedRemoteUserList] + SyncPager[RemoteUser] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +112,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteUserList, construct_type( type_=PaginatedRemoteUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -209,7 +231,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["access_role"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteUserList]: + ) -> AsyncPager[RemoteUser]: """ Returns a list of `RemoteUser` objects. @@ -243,7 +265,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_fields : typing.Optional[typing.Literal["access_role"]] Deprecated. Use show_enum_origins. @@ -259,7 +281,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRemoteUserList] + AsyncPager[RemoteUser] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +306,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteUserList, construct_type( type_=PaginatedRemoteUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ats/types/__init__.py b/src/merge/resources/ats/types/__init__.py index 72d3bd86..aa9eb2e1 100644 --- a/src/merge/resources/ats/types/__init__.py +++ b/src/merge/resources/ats/types/__init__.py @@ -19,7 +19,6 @@ from .activity import Activity from .activity_activity_type import ActivityActivityType from .activity_request import ActivityRequest - from .activity_request_activity_type import ActivityRequestActivityType from .activity_request_user import ActivityRequestUser from .activity_request_visibility import ActivityRequestVisibility from .activity_response import ActivityResponse @@ -99,6 +98,8 @@ from .field_permission_deserializer import FieldPermissionDeserializer from .field_permission_deserializer_request import FieldPermissionDeserializerRequest from .gender_enum import GenderEnum + from .ignore_common_model_request import IgnoreCommonModelRequest + from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from .issue import Issue @@ -167,6 +168,7 @@ from .phone_number_type_enum import PhoneNumberTypeEnum from .race_enum import RaceEnum from .reason_enum import ReasonEnum + from .regenerate_account_token import RegenerateAccountToken from .reject_reason import RejectReason from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo @@ -207,6 +209,7 @@ from .screening_question_answer_request_question import ScreeningQuestionAnswerRequestQuestion from .screening_question_job import ScreeningQuestionJob from .screening_question_option import ScreeningQuestionOption + from .screening_question_options_item import ScreeningQuestionOptionsItem from .screening_question_type import ScreeningQuestionType from .screening_question_type_enum import ScreeningQuestionTypeEnum from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum @@ -239,7 +242,6 @@ "Activity": ".activity", "ActivityActivityType": ".activity_activity_type", "ActivityRequest": ".activity_request", - "ActivityRequestActivityType": ".activity_request_activity_type", "ActivityRequestUser": ".activity_request_user", "ActivityRequestVisibility": ".activity_request_visibility", "ActivityResponse": ".activity_response", @@ -317,6 +319,8 @@ "FieldPermissionDeserializer": ".field_permission_deserializer", "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", "GenderEnum": ".gender_enum", + "IgnoreCommonModelRequest": ".ignore_common_model_request", + "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", "Issue": ".issue", @@ -385,6 +389,7 @@ "PhoneNumberTypeEnum": ".phone_number_type_enum", "RaceEnum": ".race_enum", "ReasonEnum": ".reason_enum", + "RegenerateAccountToken": ".regenerate_account_token", "RejectReason": ".reject_reason", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", @@ -425,6 +430,7 @@ "ScreeningQuestionAnswerRequestQuestion": ".screening_question_answer_request_question", "ScreeningQuestionJob": ".screening_question_job", "ScreeningQuestionOption": ".screening_question_option", + "ScreeningQuestionOptionsItem": ".screening_question_options_item", "ScreeningQuestionType": ".screening_question_type", "ScreeningQuestionTypeEnum": ".screening_question_type_enum", "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", @@ -479,7 +485,6 @@ def __dir__(): "Activity", "ActivityActivityType", "ActivityRequest", - "ActivityRequestActivityType", "ActivityRequestUser", "ActivityRequestVisibility", "ActivityResponse", @@ -557,6 +562,8 @@ def __dir__(): "FieldPermissionDeserializer", "FieldPermissionDeserializerRequest", "GenderEnum", + "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -625,6 +632,7 @@ def __dir__(): "PhoneNumberTypeEnum", "RaceEnum", "ReasonEnum", + "RegenerateAccountToken", "RejectReason", "RemoteData", "RemoteEndpointInfo", @@ -665,6 +673,7 @@ def __dir__(): "ScreeningQuestionAnswerRequestQuestion", "ScreeningQuestionJob", "ScreeningQuestionOption", + "ScreeningQuestionOptionsItem", "ScreeningQuestionType", "ScreeningQuestionTypeEnum", "SelectiveSyncConfigurationsUsageEnum", diff --git a/src/merge/resources/ats/types/activity_request.py b/src/merge/resources/ats/types/activity_request.py index 5a6a4f30..79a2c578 100644 --- a/src/merge/resources/ats/types/activity_request.py +++ b/src/merge/resources/ats/types/activity_request.py @@ -5,9 +5,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .activity_request_activity_type import ActivityRequestActivityType from .activity_request_user import ActivityRequestUser from .activity_request_visibility import ActivityRequestVisibility +from .activity_type_enum import ActivityTypeEnum class ActivityRequest(UncheckedBaseModel): @@ -24,7 +24,7 @@ class ActivityRequest(UncheckedBaseModel): The user that performed the action. """ - activity_type: typing.Optional[ActivityRequestActivityType] = pydantic.Field(default=None) + activity_type: typing.Optional[ActivityTypeEnum] = pydantic.Field(default=None) """ The activity's type. diff --git a/src/merge/resources/ats/types/activity_request_activity_type.py b/src/merge/resources/ats/types/activity_request_activity_type.py deleted file mode 100644 index f4236ee0..00000000 --- a/src/merge/resources/ats/types/activity_request_activity_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .activity_type_enum import ActivityTypeEnum - -ActivityRequestActivityType = typing.Union[ActivityTypeEnum, str] diff --git a/src/merge/resources/ats/types/audit_log_event.py b/src/merge/resources/ats/types/audit_log_event.py index ab69fd32..1bb2fdbf 100644 --- a/src/merge/resources/ats/types/audit_log_event.py +++ b/src/merge/resources/ats/types/audit_log_event.py @@ -32,6 +32,7 @@ class AuditLogEvent(UncheckedBaseModel): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ip_address: str diff --git a/src/merge/resources/ats/types/field_mapping_api_instance.py b/src/merge/resources/ats/types/field_mapping_api_instance.py index a5815313..0d257dcb 100644 --- a/src/merge/resources/ats/types/field_mapping_api_instance.py +++ b/src/merge/resources/ats/types/field_mapping_api_instance.py @@ -14,6 +14,7 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None + jmes_path: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/chat/types/account_token.py b/src/merge/resources/ats/types/ignore_common_model_request.py similarity index 70% rename from src/merge/resources/chat/types/account_token.py rename to src/merge/resources/ats/types/ignore_common_model_request.py index 6e82c8ac..5ecb9957 100644 --- a/src/merge/resources/chat/types/account_token.py +++ b/src/merge/resources/ats/types/ignore_common_model_request.py @@ -5,13 +5,12 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration +from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason -class AccountToken(UncheckedBaseModel): - account_token: str - integration: AccountIntegration - id: str +class IgnoreCommonModelRequest(UncheckedBaseModel): + reason: IgnoreCommonModelRequestReason + message: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py b/src/merge/resources/ats/types/ignore_common_model_request_reason.py similarity index 76% rename from src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py rename to src/merge/resources/ats/types/ignore_common_model_request_reason.py index 4baf20f1..114822b2 100644 --- a/src/merge/resources/ats/resources/candidates/types/ignore_common_model_request_reason.py +++ b/src/merge/resources/ats/types/ignore_common_model_request_reason.py @@ -2,6 +2,6 @@ import typing -from ....types.reason_enum import ReasonEnum +from .reason_enum import ReasonEnum IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/knowledgebase/types/remote_key.py b/src/merge/resources/ats/types/regenerate_account_token.py similarity index 66% rename from src/merge/resources/knowledgebase/types/remote_key.py rename to src/merge/resources/ats/types/regenerate_account_token.py index e5d9758c..5c31cf57 100644 --- a/src/merge/resources/knowledgebase/types/remote_key.py +++ b/src/merge/resources/ats/types/regenerate_account_token.py @@ -7,18 +7,18 @@ from ....core.unchecked_base_model import UncheckedBaseModel -class RemoteKey(UncheckedBaseModel): +class RegenerateAccountToken(UncheckedBaseModel): """ - # The RemoteKey Object + # The RegenerateAccountToken Object ### Description - The `RemoteKey` object is used to represent a request for a new remote key. + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. ### Usage Example - Post a `GenerateRemoteKey` to receive a new `RemoteKey`. + Post to receive a new `RegenerateAccountToken`. """ - name: str - key: str + linked_account_id: str + account_token: str if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/ats/types/role_enum.py b/src/merge/resources/ats/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/ats/types/role_enum.py +++ b/src/merge/resources/ats/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/ats/types/screening_question.py b/src/merge/resources/ats/types/screening_question.py index 245cbd2a..c082ca59 100644 --- a/src/merge/resources/ats/types/screening_question.py +++ b/src/merge/resources/ats/types/screening_question.py @@ -7,6 +7,7 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .screening_question_job import ScreeningQuestionJob +from .screening_question_options_item import ScreeningQuestionOptionsItem from .screening_question_type import ScreeningQuestionType @@ -70,7 +71,7 @@ class ScreeningQuestion(UncheckedBaseModel): Whether or not the screening question is required. """ - options: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None + options: typing.Optional[typing.List[ScreeningQuestionOptionsItem]] = None remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/ats/types/screening_question_options_item.py b/src/merge/resources/ats/types/screening_question_options_item.py new file mode 100644 index 00000000..8c171a76 --- /dev/null +++ b/src/merge/resources/ats/types/screening_question_options_item.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .screening_question_option import ScreeningQuestionOption + +ScreeningQuestionOptionsItem = typing.Union[str, ScreeningQuestionOption] diff --git a/src/merge/resources/chat/__init__.py b/src/merge/resources/chat/__init__.py deleted file mode 100644 index da7e6d6f..00000000 --- a/src/merge/resources/chat/__init__.py +++ /dev/null @@ -1,391 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - AccountDetails, - AccountDetailsAndActions, - AccountDetailsAndActionsCategory, - AccountDetailsAndActionsIntegration, - AccountDetailsAndActionsStatus, - AccountDetailsAndActionsStatusEnum, - AccountDetailsCategory, - AccountIntegration, - AccountToken, - AdvancedMetadata, - AsyncPassthroughReciept, - AuditLogEvent, - AuditLogEventEventType, - AuditLogEventRole, - AvailableActions, - CategoriesEnum, - CategoryEnum, - CommonModelScopeApi, - CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, - Conversation, - ConversationType, - DataPassthroughRequest, - DataPassthroughRequestMethod, - DataPassthroughRequestRequestFormat, - DebugModeLog, - DebugModelLogSummary, - EnabledActionsEnum, - EncodingEnum, - ErrorValidationProblem, - EventTypeEnum, - ExternalTargetFieldApi, - ExternalTargetFieldApiResponse, - FieldMappingApiInstance, - FieldMappingApiInstanceRemoteField, - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - FieldMappingApiInstanceResponse, - FieldMappingApiInstanceTargetField, - FieldMappingInstanceResponse, - FieldPermissionDeserializer, - FieldPermissionDeserializerRequest, - Group, - IndividualCommonModelScopeDeserializer, - IndividualCommonModelScopeDeserializerRequest, - Issue, - IssueStatus, - IssueStatusEnum, - LanguageEnum, - LastSyncResultEnum, - LinkToken, - Member, - Message, - MethodEnum, - ModelOperation, - ModelPermissionDeserializer, - ModelPermissionDeserializerRequest, - MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, - PaginatedAccountDetailsAndActionsList, - PaginatedAuditLogEventList, - PaginatedConversationList, - PaginatedGroupList, - PaginatedIssueList, - PaginatedMemberList, - PaginatedMessageList, - PaginatedSyncStatusList, - PaginatedUserList, - RemoteData, - RemoteEndpointInfo, - RemoteFieldApi, - RemoteFieldApiAdvancedMetadata, - RemoteFieldApiCoverage, - RemoteFieldApiResponse, - RemoteKey, - RemoteResponse, - RemoteResponseResponseType, - RequestFormatEnum, - ResponseTypeEnum, - RoleEnum, - SelectiveSyncConfigurationsUsageEnum, - StatusFd5Enum, - SyncStatus, - SyncStatusLastSyncResult, - SyncStatusStatus, - TypeEnum, - User, - ValidationProblemSource, - WarningValidationProblem, - WebhookReceiver, - ) - from .resources import ( - AsyncPassthroughRetrieveResponse, - ConversationsMembersListRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, - EndUserDetailsRequestLanguage, - IssuesListRequestStatus, - LinkedAccountsListRequestCategory, - MessagesListRequestOrderBy, - MessagesRepliesListRequestOrderBy, - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - conversations, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - messages, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".types", - "AccountDetailsAndActions": ".types", - "AccountDetailsAndActionsCategory": ".types", - "AccountDetailsAndActionsIntegration": ".types", - "AccountDetailsAndActionsStatus": ".types", - "AccountDetailsAndActionsStatusEnum": ".types", - "AccountDetailsCategory": ".types", - "AccountIntegration": ".types", - "AccountToken": ".types", - "AdvancedMetadata": ".types", - "AsyncPassthroughReciept": ".types", - "AsyncPassthroughRetrieveResponse": ".resources", - "AuditLogEvent": ".types", - "AuditLogEventEventType": ".types", - "AuditLogEventRole": ".types", - "AvailableActions": ".types", - "CategoriesEnum": ".types", - "CategoryEnum": ".types", - "CommonModelScopeApi": ".types", - "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", - "Conversation": ".types", - "ConversationType": ".types", - "ConversationsMembersListRequestExpand": ".resources", - "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", - "DataPassthroughRequestRequestFormat": ".types", - "DebugModeLog": ".types", - "DebugModelLogSummary": ".types", - "EnabledActionsEnum": ".types", - "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", - "EndUserDetailsRequestLanguage": ".resources", - "ErrorValidationProblem": ".types", - "EventTypeEnum": ".types", - "ExternalTargetFieldApi": ".types", - "ExternalTargetFieldApiResponse": ".types", - "FieldMappingApiInstance": ".types", - "FieldMappingApiInstanceRemoteField": ".types", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", - "FieldMappingApiInstanceResponse": ".types", - "FieldMappingApiInstanceTargetField": ".types", - "FieldMappingInstanceResponse": ".types", - "FieldPermissionDeserializer": ".types", - "FieldPermissionDeserializerRequest": ".types", - "Group": ".types", - "IndividualCommonModelScopeDeserializer": ".types", - "IndividualCommonModelScopeDeserializerRequest": ".types", - "Issue": ".types", - "IssueStatus": ".types", - "IssueStatusEnum": ".types", - "IssuesListRequestStatus": ".resources", - "LanguageEnum": ".types", - "LastSyncResultEnum": ".types", - "LinkToken": ".types", - "LinkedAccountsListRequestCategory": ".resources", - "Member": ".types", - "Message": ".types", - "MessagesListRequestOrderBy": ".resources", - "MessagesRepliesListRequestOrderBy": ".resources", - "MethodEnum": ".types", - "ModelOperation": ".types", - "ModelPermissionDeserializer": ".types", - "ModelPermissionDeserializerRequest": ".types", - "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", - "PaginatedAccountDetailsAndActionsList": ".types", - "PaginatedAuditLogEventList": ".types", - "PaginatedConversationList": ".types", - "PaginatedGroupList": ".types", - "PaginatedIssueList": ".types", - "PaginatedMemberList": ".types", - "PaginatedMessageList": ".types", - "PaginatedSyncStatusList": ".types", - "PaginatedUserList": ".types", - "RemoteData": ".types", - "RemoteEndpointInfo": ".types", - "RemoteFieldApi": ".types", - "RemoteFieldApiAdvancedMetadata": ".types", - "RemoteFieldApiCoverage": ".types", - "RemoteFieldApiResponse": ".types", - "RemoteKey": ".types", - "RemoteResponse": ".types", - "RemoteResponseResponseType": ".types", - "RequestFormatEnum": ".types", - "ResponseTypeEnum": ".types", - "RoleEnum": ".types", - "SelectiveSyncConfigurationsUsageEnum": ".types", - "StatusFd5Enum": ".types", - "SyncStatus": ".types", - "SyncStatusLastSyncResult": ".types", - "SyncStatusStatus": ".types", - "TypeEnum": ".types", - "User": ".types", - "ValidationProblemSource": ".types", - "WarningValidationProblem": ".types", - "WebhookReceiver": ".types", - "account_details": ".resources", - "account_token": ".resources", - "async_passthrough": ".resources", - "audit_trail": ".resources", - "available_actions": ".resources", - "conversations": ".resources", - "delete_account": ".resources", - "field_mapping": ".resources", - "force_resync": ".resources", - "generate_key": ".resources", - "groups": ".resources", - "issues": ".resources", - "link_token": ".resources", - "linked_accounts": ".resources", - "messages": ".resources", - "passthrough": ".resources", - "regenerate_key": ".resources", - "scopes": ".resources", - "sync_status": ".resources", - "users": ".resources", - "webhook_receivers": ".resources", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AsyncPassthroughRetrieveResponse", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Conversation", - "ConversationType", - "ConversationsMembersListRequestExpand", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "IssuesListRequestStatus", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountsListRequestCategory", - "Member", - "Message", - "MessagesListRequestOrderBy", - "MessagesRepliesListRequestOrderBy", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedConversationList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedMemberList", - "PaginatedMessageList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "conversations", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "messages", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/chat/client.py b/src/merge/resources/chat/client.py deleted file mode 100644 index acb3b6bd..00000000 --- a/src/merge/resources/chat/client.py +++ /dev/null @@ -1,459 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .raw_client import AsyncRawChatClient, RawChatClient - -if typing.TYPE_CHECKING: - from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient - from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_async_passthrough_client_AsyncPassthroughClient, - ) - from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient - from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient - from .resources.conversations.client import AsyncConversationsClient, ConversationsClient - from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient - from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient - from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient - from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient - from .resources.groups.client import AsyncGroupsClient, GroupsClient - from .resources.issues.client import AsyncIssuesClient, IssuesClient - from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient - from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient - from .resources.messages.client import AsyncMessagesClient, MessagesClient - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_passthrough_client_AsyncPassthroughClient, - ) - from .resources.passthrough.client import PassthroughClient - from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient - from .resources.scopes.client import AsyncScopesClient, ScopesClient - from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient - from .resources.users.client import AsyncUsersClient, UsersClient - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient - - -class ChatClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawChatClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AccountDetailsClient] = None - self._account_token: typing.Optional[AccountTokenClient] = None - self._async_passthrough: typing.Optional[ - resources_chat_resources_async_passthrough_client_AsyncPassthroughClient - ] = None - self._audit_trail: typing.Optional[AuditTrailClient] = None - self._available_actions: typing.Optional[AvailableActionsClient] = None - self._conversations: typing.Optional[ConversationsClient] = None - self._scopes: typing.Optional[ScopesClient] = None - self._delete_account: typing.Optional[DeleteAccountClient] = None - self._field_mapping: typing.Optional[FieldMappingClient] = None - self._generate_key: typing.Optional[GenerateKeyClient] = None - self._groups: typing.Optional[GroupsClient] = None - self._issues: typing.Optional[IssuesClient] = None - self._link_token: typing.Optional[LinkTokenClient] = None - self._linked_accounts: typing.Optional[LinkedAccountsClient] = None - self._messages: typing.Optional[MessagesClient] = None - self._passthrough: typing.Optional[PassthroughClient] = None - self._regenerate_key: typing.Optional[RegenerateKeyClient] = None - self._sync_status: typing.Optional[SyncStatusClient] = None - self._force_resync: typing.Optional[ForceResyncClient] = None - self._users: typing.Optional[UsersClient] = None - self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None - - @property - def with_raw_response(self) -> RawChatClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawChatClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AccountDetailsClient # noqa: E402 - - self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AccountTokenClient # noqa: E402 - - self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._async_passthrough = resources_chat_resources_async_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AuditTrailClient # noqa: E402 - - self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AvailableActionsClient # noqa: E402 - - self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def conversations(self): - if self._conversations is None: - from .resources.conversations.client import ConversationsClient # noqa: E402 - - self._conversations = ConversationsClient(client_wrapper=self._client_wrapper) - return self._conversations - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import ScopesClient # noqa: E402 - - self._scopes = ScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import DeleteAccountClient # noqa: E402 - - self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import FieldMappingClient # noqa: E402 - - self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import GenerateKeyClient # noqa: E402 - - self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import GroupsClient # noqa: E402 - - self._groups = GroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import IssuesClient # noqa: E402 - - self._issues = IssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import LinkTokenClient # noqa: E402 - - self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 - - self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def messages(self): - if self._messages is None: - from .resources.messages.client import MessagesClient # noqa: E402 - - self._messages = MessagesClient(client_wrapper=self._client_wrapper) - return self._messages - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import PassthroughClient # noqa: E402 - - self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 - - self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import SyncStatusClient # noqa: E402 - - self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import ForceResyncClient # noqa: E402 - - self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import UsersClient # noqa: E402 - - self._users = UsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 - - self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers - - -class AsyncChatClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawChatClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AsyncAccountDetailsClient] = None - self._account_token: typing.Optional[AsyncAccountTokenClient] = None - self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None - self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None - self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None - self._conversations: typing.Optional[AsyncConversationsClient] = None - self._scopes: typing.Optional[AsyncScopesClient] = None - self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None - self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None - self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None - self._groups: typing.Optional[AsyncGroupsClient] = None - self._issues: typing.Optional[AsyncIssuesClient] = None - self._link_token: typing.Optional[AsyncLinkTokenClient] = None - self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None - self._messages: typing.Optional[AsyncMessagesClient] = None - self._passthrough: typing.Optional[resources_chat_resources_passthrough_client_AsyncPassthroughClient] = None - self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None - self._sync_status: typing.Optional[AsyncSyncStatusClient] = None - self._force_resync: typing.Optional[AsyncForceResyncClient] = None - self._users: typing.Optional[AsyncUsersClient] = None - self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None - - @property - def with_raw_response(self) -> AsyncRawChatClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawChatClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 - - self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 - - self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 - - self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) - return self._async_passthrough - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 - - self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 - - self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def conversations(self): - if self._conversations is None: - from .resources.conversations.client import AsyncConversationsClient # noqa: E402 - - self._conversations = AsyncConversationsClient(client_wrapper=self._client_wrapper) - return self._conversations - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import AsyncScopesClient # noqa: E402 - - self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 - - self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 - - self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 - - self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import AsyncGroupsClient # noqa: E402 - - self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import AsyncIssuesClient # noqa: E402 - - self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 - - self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 - - self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def messages(self): - if self._messages is None: - from .resources.messages.client import AsyncMessagesClient # noqa: E402 - - self._messages = AsyncMessagesClient(client_wrapper=self._client_wrapper) - return self._messages - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_chat_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._passthrough = resources_chat_resources_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 - - self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 - - self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 - - self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import AsyncUsersClient # noqa: E402 - - self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 - - self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers diff --git a/src/merge/resources/chat/raw_client.py b/src/merge/resources/chat/raw_client.py deleted file mode 100644 index 35d27fe5..00000000 --- a/src/merge/resources/chat/raw_client.py +++ /dev/null @@ -1,13 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper - - -class RawChatClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - -class AsyncRawChatClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper diff --git a/src/merge/resources/chat/resources/__init__.py b/src/merge/resources/chat/resources/__init__.py deleted file mode 100644 index 039fd5a3..00000000 --- a/src/merge/resources/chat/resources/__init__.py +++ /dev/null @@ -1,120 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from . import ( - account_details, - account_token, - async_passthrough, - audit_trail, - available_actions, - conversations, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - messages, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) - from .async_passthrough import AsyncPassthroughRetrieveResponse - from .conversations import ConversationsMembersListRequestExpand - from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage - from .linked_accounts import LinkedAccountsListRequestCategory - from .messages import MessagesListRequestOrderBy, MessagesRepliesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = { - "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ConversationsMembersListRequestExpand": ".conversations", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", - "EndUserDetailsRequestLanguage": ".link_token", - "IssuesListRequestStatus": ".issues", - "LinkedAccountsListRequestCategory": ".linked_accounts", - "MessagesListRequestOrderBy": ".messages", - "MessagesRepliesListRequestOrderBy": ".messages", - "account_details": ".", - "account_token": ".", - "async_passthrough": ".", - "audit_trail": ".", - "available_actions": ".", - "conversations": ".", - "delete_account": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "messages": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "users": ".", - "webhook_receivers": ".", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AsyncPassthroughRetrieveResponse", - "ConversationsMembersListRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "IssuesListRequestStatus", - "LinkedAccountsListRequestCategory", - "MessagesListRequestOrderBy", - "MessagesRepliesListRequestOrderBy", - "account_details", - "account_token", - "async_passthrough", - "audit_trail", - "available_actions", - "conversations", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "messages", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/chat/resources/account_details/__init__.py b/src/merge/resources/chat/resources/account_details/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/account_details/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/account_details/client.py b/src/merge/resources/chat/resources/account_details/client.py deleted file mode 100644 index 4574e858..00000000 --- a/src/merge/resources/chat/resources/account_details/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_details import AccountDetails -from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient - - -class AccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountDetailsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.account_details.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountDetailsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.account_details.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/account_details/raw_client.py b/src/merge/resources/chat/resources/account_details/raw_client.py deleted file mode 100644 index 4ea5e641..00000000 --- a/src/merge/resources/chat/resources/account_details/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_details import AccountDetails - - -class RawAccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountDetails] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountDetails] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/account_token/__init__.py b/src/merge/resources/chat/resources/account_token/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/account_token/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/account_token/client.py b/src/merge/resources/chat/resources/account_token/client.py deleted file mode 100644 index 385f91de..00000000 --- a/src/merge/resources/chat/resources/account_token/client.py +++ /dev/null @@ -1,112 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_token import AccountToken -from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient - - -class AccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountTokenClient - """ - return self._raw_client - - def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.account_token.retrieve( - public_token="public_token", - ) - """ - _response = self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data - - -class AsyncAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountTokenClient - """ - return self._raw_client - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.account_token.retrieve( - public_token="public_token", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/account_token/raw_client.py b/src/merge/resources/chat/resources/account_token/raw_client.py deleted file mode 100644 index aad17bca..00000000 --- a/src/merge/resources/chat/resources/account_token/raw_client.py +++ /dev/null @@ -1,98 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_token import AccountToken - - -class RawAccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountToken] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/async_passthrough/__init__.py b/src/merge/resources/chat/resources/async_passthrough/__init__.py deleted file mode 100644 index 375c7953..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/chat/resources/async_passthrough/client.py b/src/merge/resources/chat/resources/async_passthrough/client.py deleted file mode 100644 index 4bf261a9..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAsyncPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - from merge import Merge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - """ - _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data - - -class AsyncAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAsyncPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/async_passthrough/raw_client.py b/src/merge/resources/chat/resources/async_passthrough/raw_client.py deleted file mode 100644 index 37006b02..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/raw_client.py +++ /dev/null @@ -1,189 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughReciept] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughReciept] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/async_passthrough/types/__init__.py b/src/merge/resources/chat/resources/async_passthrough/types/__init__.py deleted file mode 100644 index f6e9bec9..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py deleted file mode 100644 index f8f87c18..00000000 --- a/src/merge/resources/chat/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.remote_response import RemoteResponse - -AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str] diff --git a/src/merge/resources/chat/resources/audit_trail/__init__.py b/src/merge/resources/chat/resources/audit_trail/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/audit_trail/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/audit_trail/client.py b/src/merge/resources/chat/resources/audit_trail/client.py deleted file mode 100644 index 87803242..00000000 --- a/src/merge/resources/chat/resources/audit_trail/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient - - -class AuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAuditTrailClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - """ - _response = self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data - - -class AsyncAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAuditTrailClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/audit_trail/raw_client.py b/src/merge/resources/chat/resources/audit_trail/raw_client.py deleted file mode 100644 index 3e5f7e89..00000000 --- a/src/merge/resources/chat/resources/audit_trail/raw_client.py +++ /dev/null @@ -1,161 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList - - -class RawAuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAuditLogEventList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAuditLogEventList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/available_actions/__init__.py b/src/merge/resources/chat/resources/available_actions/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/available_actions/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/available_actions/client.py b/src/merge/resources/chat/resources/available_actions/client.py deleted file mode 100644 index e6dafbea..00000000 --- a/src/merge/resources/chat/resources/available_actions/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.available_actions import AvailableActions -from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient - - -class AvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAvailableActionsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.available_actions.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAvailableActionsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.available_actions.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/available_actions/raw_client.py b/src/merge/resources/chat/resources/available_actions/raw_client.py deleted file mode 100644 index ba47baf7..00000000 --- a/src/merge/resources/chat/resources/available_actions/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.available_actions import AvailableActions - - -class RawAvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AvailableActions] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AvailableActions] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/conversations/client.py b/src/merge/resources/chat/resources/conversations/client.py deleted file mode 100644 index 0a9100aa..00000000 --- a/src/merge/resources/chat/resources/conversations/client.py +++ /dev/null @@ -1,553 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.conversation import Conversation -from ...types.paginated_conversation_list import PaginatedConversationList -from ...types.paginated_member_list import PaginatedMemberList -from .raw_client import AsyncRawConversationsClient, RawConversationsClient -from .types.conversations_members_list_request_expand import ConversationsMembersListRequestExpand - - -class ConversationsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawConversationsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawConversationsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawConversationsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedConversationList: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedConversationList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMemberList: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMemberList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.members_list( - conversation_id="conversation_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, - ) - """ - _response = self._raw_client.members_list( - conversation_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Conversation: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Conversation - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.conversations.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncConversationsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawConversationsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawConversationsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawConversationsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedConversationList: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedConversationList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMemberList: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMemberList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.conversations import ( - ConversationsMembersListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.members_list( - conversation_id="conversation_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ConversationsMembersListRequestExpand.GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.members_list( - conversation_id, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Conversation: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Conversation - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.conversations.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/conversations/raw_client.py b/src/merge/resources/chat/resources/conversations/raw_client.py deleted file mode 100644 index 6019eeb3..00000000 --- a/src/merge/resources/chat/resources/conversations/raw_client.py +++ /dev/null @@ -1,479 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.conversation import Conversation -from ...types.paginated_conversation_list import PaginatedConversationList -from ...types.paginated_member_list import PaginatedMemberList -from .types.conversations_members_list_request_expand import ConversationsMembersListRequestExpand - - -class RawConversationsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedConversationList]: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedConversationList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/conversations", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedConversationList, - construct_type( - type_=PaginatedConversationList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMemberList]: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMemberList] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(conversation_id)}/members", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMemberList, - construct_type( - type_=PaginatedMemberList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Conversation]: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Conversation] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Conversation, - construct_type( - type_=Conversation, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawConversationsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["members"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedConversationList]: - """ - Returns a list of `Conversation` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedConversationList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/conversations", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedConversationList, - construct_type( - type_=PaginatedConversationList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def members_list( - self, - conversation_id: str, - *, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ConversationsMembersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMemberList]: - """ - Returns a list of `Member` objects. - - Parameters - ---------- - conversation_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ConversationsMembersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMemberList] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(conversation_id)}/members", - method="GET", - params={ - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMemberList, - construct_type( - type_=PaginatedMemberList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["members"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Conversation]: - """ - Returns a `Conversation` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["members"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Conversation] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/conversations/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Conversation, - construct_type( - type_=Conversation, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py b/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py deleted file mode 100644 index 0653db6d..00000000 --- a/src/merge/resources/chat/resources/conversations/types/conversations_members_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ConversationsMembersListRequestExpand(str, enum.Enum): - GROUP = "group" - USER = "user" - USER_GROUP = "user,group" - - def visit( - self, - group: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ConversationsMembersListRequestExpand.GROUP: - return group() - if self is ConversationsMembersListRequestExpand.USER: - return user() - if self is ConversationsMembersListRequestExpand.USER_GROUP: - return user_group() diff --git a/src/merge/resources/chat/resources/delete_account/__init__.py b/src/merge/resources/chat/resources/delete_account/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/delete_account/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/delete_account/client.py b/src/merge/resources/chat/resources/delete_account/client.py deleted file mode 100644 index 44dab555..00000000 --- a/src/merge/resources/chat/resources/delete_account/client.py +++ /dev/null @@ -1,99 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient - - -class DeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDeleteAccountClient - """ - return self._raw_client - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.delete_account.delete() - """ - _response = self._raw_client.delete(request_options=request_options) - return _response.data - - -class AsyncDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDeleteAccountClient - """ - return self._raw_client - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.delete_account.delete() - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/delete_account/raw_client.py b/src/merge/resources/chat/resources/delete_account/raw_client.py deleted file mode 100644 index 67cfa096..00000000 --- a/src/merge/resources/chat/resources/delete_account/raw_client.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions - - -class RawDeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[None] - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[None] - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/field_mapping/__init__.py b/src/merge/resources/chat/resources/field_mapping/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/field_mapping/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/field_mapping/client.py b/src/merge/resources/chat/resources/field_mapping/client.py deleted file mode 100644 index c781dd2c..00000000 --- a/src/merge/resources/chat/resources/field_mapping/client.py +++ /dev/null @@ -1,664 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse -from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFieldMappingClient - """ - return self._raw_client - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - """ - _response = self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - """ - _response = self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - """ - _response = self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.field_mapping.target_fields_retrieve() - """ - _response = self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data - - -class AsyncFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFieldMappingClient - """ - return self._raw_client - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.field_mapping.target_fields_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/field_mapping/raw_client.py b/src/merge/resources/chat/resources/field_mapping/raw_client.py deleted file mode 100644 index e671dd4b..00000000 --- a/src/merge/resources/chat/resources/field_mapping/raw_client.py +++ /dev/null @@ -1,672 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/force_resync/__init__.py b/src/merge/resources/chat/resources/force_resync/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/force_resync/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/force_resync/client.py b/src/merge/resources/chat/resources/force_resync/client.py deleted file mode 100644 index bee5aacd..00000000 --- a/src/merge/resources/chat/resources/force_resync/client.py +++ /dev/null @@ -1,106 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.sync_status import SyncStatus -from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient - - -class ForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawForceResyncClient - """ - return self._raw_client - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.force_resync.sync_status_resync_create() - """ - _response = self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data - - -class AsyncForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawForceResyncClient - """ - return self._raw_client - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.force_resync.sync_status_resync_create() - - - asyncio.run(main()) - """ - _response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/force_resync/raw_client.py b/src/merge/resources/chat/resources/force_resync/raw_client.py deleted file mode 100644 index 76da107a..00000000 --- a/src/merge/resources/chat/resources/force_resync/raw_client.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.sync_status import SyncStatus - - -class RawForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[SyncStatus]] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[SyncStatus]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/generate_key/__init__.py b/src/merge/resources/chat/resources/generate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/generate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/generate_key/client.py b/src/merge/resources/chat/resources/generate_key/client.py deleted file mode 100644 index 0b0e3276..00000000 --- a/src/merge/resources/chat/resources/generate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class GenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.generate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.generate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/generate_key/raw_client.py b/src/merge/resources/chat/resources/generate_key/raw_client.py deleted file mode 100644 index 869fcbb1..00000000 --- a/src/merge/resources/chat/resources/generate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawGenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/groups/__init__.py b/src/merge/resources/chat/resources/groups/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/groups/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/groups/client.py b/src/merge/resources/chat/resources/groups/client.py deleted file mode 100644 index 17627ccb..00000000 --- a/src/merge/resources/chat/resources/groups/client.py +++ /dev/null @@ -1,387 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .raw_client import AsyncRawGroupsClient, RawGroupsClient - - -class GroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGroupsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGroupsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.groups.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/groups/raw_client.py b/src/merge/resources/chat/resources/groups/raw_client.py deleted file mode 100644 index 77c76e71..00000000 --- a/src/merge/resources/chat/resources/groups/raw_client.py +++ /dev/null @@ -1,331 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList - - -class RawGroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedGroupList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Group] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["users"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedGroupList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["users"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["users"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Group] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/issues/client.py b/src/merge/resources/chat/resources/issues/client.py deleted file mode 100644 index 5f5375b3..00000000 --- a/src/merge/resources/chat/resources/issues/client.py +++ /dev/null @@ -1,378 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .raw_client import AsyncRawIssuesClient, RawIssuesClient -from .types.issues_list_request_status import IssuesListRequestStatus - - -class IssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawIssuesClient - """ - return self._raw_client - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.chat.resources.issues import IssuesListRequestStatus - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - """ - _response = self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.issues.retrieve( - id="id", - ) - """ - _response = self._raw_client.retrieve(id, request_options=request_options) - return _response.data - - -class AsyncIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawIssuesClient - """ - return self._raw_client - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.chat.resources.issues import IssuesListRequestStatus - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.issues.retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/issues/raw_client.py b/src/merge/resources/chat/resources/issues/raw_client.py deleted file mode 100644 index 3144b225..00000000 --- a/src/merge/resources/chat/resources/issues/raw_client.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .types.issues_list_request_status import IssuesListRequestStatus - - -class RawIssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedIssueList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Issue] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedIssueList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Issue] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/issues/types/__init__.py b/src/merge/resources/chat/resources/issues/types/__init__.py deleted file mode 100644 index 88fbf977..00000000 --- a/src/merge/resources/chat/resources/issues/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .issues_list_request_status import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/chat/resources/issues/types/issues_list_request_status.py b/src/merge/resources/chat/resources/issues/types/issues_list_request_status.py deleted file mode 100644 index 2bd3521e..00000000 --- a/src/merge/resources/chat/resources/issues/types/issues_list_request_status.py +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssuesListRequestStatus(str, enum.Enum): - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssuesListRequestStatus.ONGOING: - return ongoing() - if self is IssuesListRequestStatus.RESOLVED: - return resolved() diff --git a/src/merge/resources/chat/resources/link_token/client.py b/src/merge/resources/chat/resources/link_token/client.py deleted file mode 100644 index e5851e8a..00000000 --- a/src/merge/resources/chat/resources/link_token/client.py +++ /dev/null @@ -1,290 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class LinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkTokenClient - """ - return self._raw_client - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - from merge import Merge - from merge.resources.chat import CategoriesEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - """ - _response = self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkTokenClient - """ - return self._raw_client - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import CategoriesEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/link_token/raw_client.py b/src/merge/resources/chat/resources/link_token/raw_client.py deleted file mode 100644 index 2bd4c7c8..00000000 --- a/src/merge/resources/chat/resources/link_token/raw_client.py +++ /dev/null @@ -1,273 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawLinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[LinkToken] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. The link token expires after single use. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[LinkToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/link_token/types/__init__.py b/src/merge/resources/chat/resources/link_token/types/__init__.py deleted file mode 100644 index 55cc1d4e..00000000 --- a/src/merge/resources/chat/resources/link_token/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) - from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/linked_accounts/__init__.py b/src/merge/resources/chat/resources/linked_accounts/__init__.py deleted file mode 100644 index 0b9e42b4..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/chat/resources/linked_accounts/client.py b/src/merge/resources/chat/resources/linked_accounts/client.py deleted file mode 100644 index 748f3fbe..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/client.py +++ /dev/null @@ -1,297 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class LinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkedAccountsClient - """ - return self._raw_client - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - """ - _response = self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkedAccountsClient - """ - return self._raw_client - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/linked_accounts/raw_client.py b/src/merge/resources/chat/resources/linked_accounts/raw_client.py deleted file mode 100644 index 08e2d29b..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/raw_client.py +++ /dev/null @@ -1,250 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class RawLinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - * `chat` - chat - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py deleted file mode 100644 index 97df0150..00000000 --- a/src/merge/resources/chat/resources/linked_accounts/types/linked_accounts_list_request_category.py +++ /dev/null @@ -1,49 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LinkedAccountsListRequestCategory(str, enum.Enum): - ACCOUNTING = "accounting" - ATS = "ats" - CHAT = "chat" - CRM = "crm" - FILESTORAGE = "filestorage" - HRIS = "hris" - KNOWLEDGEBASE = "knowledgebase" - MKTG = "mktg" - TICKETING = "ticketing" - - def visit( - self, - accounting: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - chat: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - hris: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LinkedAccountsListRequestCategory.ACCOUNTING: - return accounting() - if self is LinkedAccountsListRequestCategory.ATS: - return ats() - if self is LinkedAccountsListRequestCategory.CHAT: - return chat() - if self is LinkedAccountsListRequestCategory.CRM: - return crm() - if self is LinkedAccountsListRequestCategory.FILESTORAGE: - return filestorage() - if self is LinkedAccountsListRequestCategory.HRIS: - return hris() - if self is LinkedAccountsListRequestCategory.KNOWLEDGEBASE: - return knowledgebase() - if self is LinkedAccountsListRequestCategory.MKTG: - return mktg() - if self is LinkedAccountsListRequestCategory.TICKETING: - return ticketing() diff --git a/src/merge/resources/chat/resources/messages/client.py b/src/merge/resources/chat/resources/messages/client.py deleted file mode 100644 index 04c51f18..00000000 --- a/src/merge/resources/chat/resources/messages/client.py +++ /dev/null @@ -1,571 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.message import Message -from ...types.paginated_message_list import PaginatedMessageList -from .raw_client import AsyncRawMessagesClient, RawMessagesClient -from .types.messages_list_request_order_by import MessagesListRequestOrderBy -from .types.messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy - - -class MessagesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawMessagesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawMessagesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawMessagesClient - """ - return self._raw_client - - def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.chat.resources.messages import MessagesListRequestOrderBy - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.list( - conversation_id="conversation_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", - root_message="root_message", - ) - """ - _response = self._raw_client.list( - conversation_id=conversation_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - remote_id=remote_id, - root_message=root_message, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Message: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Message - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - from merge import Merge - from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.messages.replies_list( - message_id="message_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - ) - """ - _response = self._raw_client.replies_list( - message_id, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data - - -class AsyncMessagesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawMessagesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawMessagesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawMessagesClient - """ - return self._raw_client - - async def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.chat.resources.messages import MessagesListRequestOrderBy - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.list( - conversation_id="conversation_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - order_by=MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - remote_id="remote_id", - root_message="root_message", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - conversation_id=conversation_id, - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - order_by=order_by, - page_size=page_size, - remote_id=remote_id, - root_message=root_message, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Message: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Message - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - async def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedMessageList: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedMessageList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat.resources.messages import ( - MessagesRepliesListRequestOrderBy, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.messages.replies_list( - message_id="message_id", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - order_by=MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING, - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.replies_list( - message_id, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - order_by=order_by, - page_size=page_size, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/messages/raw_client.py b/src/merge/resources/chat/resources/messages/raw_client.py deleted file mode 100644 index ef732e06..00000000 --- a/src/merge/resources/chat/resources/messages/raw_client.py +++ /dev/null @@ -1,489 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.message import Message -from ...types.paginated_message_list import PaginatedMessageList -from .types.messages_list_request_order_by import MessagesListRequestOrderBy -from .types.messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy - - -class RawMessagesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMessageList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/messages", - method="GET", - params={ - "conversation_id": conversation_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "order_by": order_by, - "page_size": page_size, - "remote_id": remote_id, - "root_message": root_message, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Message]: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Message] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Message, - construct_type( - type_=Message, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedMessageList] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(message_id)}/replies", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawMessagesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - conversation_id: typing.Optional[str] = None, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - order_by: typing.Optional[MessagesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - root_message: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - conversation_id : typing.Optional[str] - Filter messages by conversation ID. - - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - order_by : typing.Optional[MessagesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_message : typing.Optional[str] - If provided as 'true', will only return root messages (messages without a parent message). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMessageList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/messages", - method="GET", - params={ - "conversation_id": conversation_id, - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "order_by": order_by, - "page_size": page_size, - "remote_id": remote_id, - "root_message": root_message, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Message]: - """ - Returns a `Message` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Message] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Message, - construct_type( - type_=Message, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def replies_list( - self, - message_id: str, - *, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - order_by: typing.Optional[MessagesRepliesListRequestOrderBy] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedMessageList]: - """ - Returns a list of `Message` objects. - - Parameters - ---------- - message_id : str - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - order_by : typing.Optional[MessagesRepliesListRequestOrderBy] - Overrides the default ordering for this endpoint. Possible values include: remote_created_at, -remote_created_at. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedMessageList] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/messages/{jsonable_encoder(message_id)}/replies", - method="GET", - params={ - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "order_by": order_by, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedMessageList, - construct_type( - type_=PaginatedMessageList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/messages/types/__init__.py b/src/merge/resources/chat/resources/messages/types/__init__.py deleted file mode 100644 index fac1eeff..00000000 --- a/src/merge/resources/chat/resources/messages/types/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .messages_list_request_order_by import MessagesListRequestOrderBy - from .messages_replies_list_request_order_by import MessagesRepliesListRequestOrderBy -_dynamic_imports: typing.Dict[str, str] = { - "MessagesListRequestOrderBy": ".messages_list_request_order_by", - "MessagesRepliesListRequestOrderBy": ".messages_replies_list_request_order_by", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["MessagesListRequestOrderBy", "MessagesRepliesListRequestOrderBy"] diff --git a/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py b/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py deleted file mode 100644 index f10d0646..00000000 --- a/src/merge/resources/chat/resources/messages/types/messages_list_request_order_by.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MessagesListRequestOrderBy(str, enum.Enum): - REMOTE_CREATED_AT_DESCENDING = "-remote_created_at" - REMOTE_CREATED_AT_ASCENDING = "remote_created_at" - - def visit( - self, - remote_created_at_descending: typing.Callable[[], T_Result], - remote_created_at_ascending: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MessagesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING: - return remote_created_at_descending() - if self is MessagesListRequestOrderBy.REMOTE_CREATED_AT_ASCENDING: - return remote_created_at_ascending() diff --git a/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py b/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py deleted file mode 100644 index 6b8df524..00000000 --- a/src/merge/resources/chat/resources/messages/types/messages_replies_list_request_order_by.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MessagesRepliesListRequestOrderBy(str, enum.Enum): - REMOTE_CREATED_AT_DESCENDING = "-remote_created_at" - REMOTE_CREATED_AT_ASCENDING = "remote_created_at" - - def visit( - self, - remote_created_at_descending: typing.Callable[[], T_Result], - remote_created_at_ascending: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_DESCENDING: - return remote_created_at_descending() - if self is MessagesRepliesListRequestOrderBy.REMOTE_CREATED_AT_ASCENDING: - return remote_created_at_ascending() diff --git a/src/merge/resources/chat/resources/passthrough/__init__.py b/src/merge/resources/chat/resources/passthrough/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/passthrough/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/passthrough/client.py b/src/merge/resources/chat/resources/passthrough/client.py deleted file mode 100644 index d5479c3b..00000000 --- a/src/merge/resources/chat/resources/passthrough/client.py +++ /dev/null @@ -1,126 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse -from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class PassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - from merge import Merge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/passthrough/raw_client.py b/src/merge/resources/chat/resources/passthrough/raw_client.py deleted file mode 100644 index d87bb971..00000000 --- a/src/merge/resources/chat/resources/passthrough/raw_client.py +++ /dev/null @@ -1,111 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/regenerate_key/__init__.py b/src/merge/resources/chat/resources/regenerate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/regenerate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/regenerate_key/client.py b/src/merge/resources/chat/resources/regenerate_key/client.py deleted file mode 100644 index f5de51ae..00000000 --- a/src/merge/resources/chat/resources/regenerate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawRegenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.regenerate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawRegenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.regenerate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/regenerate_key/raw_client.py b/src/merge/resources/chat/resources/regenerate_key/raw_client.py deleted file mode 100644 index 55fed130..00000000 --- a/src/merge/resources/chat/resources/regenerate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawRegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/scopes/__init__.py b/src/merge/resources/chat/resources/scopes/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/scopes/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/scopes/client.py b/src/merge/resources/chat/resources/scopes/client.py deleted file mode 100644 index 6d0bbdda..00000000 --- a/src/merge/resources/chat/resources/scopes/client.py +++ /dev/null @@ -1,320 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from .raw_client import AsyncRawScopesClient, RawScopesClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawScopesClient - """ - return self._raw_client - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.default_scopes_retrieve() - """ - _response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.linked_account_scopes_retrieve() - """ - _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - """ - _response = self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data - - -class AsyncScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawScopesClient - """ - return self._raw_client - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.default_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.linked_account_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.chat import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/chat/resources/scopes/raw_client.py b/src/merge/resources/chat/resources/scopes/raw_client.py deleted file mode 100644 index 5b80be62..00000000 --- a/src/merge/resources/chat/resources/scopes/raw_client.py +++ /dev/null @@ -1,267 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/sync_status/__init__.py b/src/merge/resources/chat/resources/sync_status/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/sync_status/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/sync_status/client.py b/src/merge/resources/chat/resources/sync_status/client.py deleted file mode 100644 index 20b0a2af..00000000 --- a/src/merge/resources/chat/resources/sync_status/client.py +++ /dev/null @@ -1,132 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient - - -class SyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawSyncStatusClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data - - -class AsyncSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawSyncStatusClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data diff --git a/src/merge/resources/chat/resources/sync_status/raw_client.py b/src/merge/resources/chat/resources/sync_status/raw_client.py deleted file mode 100644 index 2e94b022..00000000 --- a/src/merge/resources/chat/resources/sync_status/raw_client.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_sync_status_list import PaginatedSyncStatusList - - -class RawSyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedSyncStatusList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedSyncStatusList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/users/__init__.py b/src/merge/resources/chat/resources/users/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/users/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/users/client.py b/src/merge/resources/chat/resources/users/client.py deleted file mode 100644 index cdc6ba3c..00000000 --- a/src/merge/resources/chat/resources/users/client.py +++ /dev/null @@ -1,387 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User -from .raw_client import AsyncRawUsersClient, RawUsersClient - - -class UsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawUsersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawUsersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/chat/resources/users/raw_client.py b/src/merge/resources/chat/resources/users/raw_client.py deleted file mode 100644 index c8c16441..00000000 --- a/src/merge/resources/chat/resources/users/raw_client.py +++ /dev/null @@ -1,331 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User - - -class RawUsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedUserList] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[User] - - """ - _response = self._client_wrapper.httpx_client.request( - f"chat/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedUserList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[typing.Literal["groups"]] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[typing.Literal["groups"]] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[User] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"chat/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/webhook_receivers/__init__.py b/src/merge/resources/chat/resources/webhook_receivers/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/chat/resources/webhook_receivers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/chat/resources/webhook_receivers/client.py b/src/merge/resources/chat/resources/webhook_receivers/client.py deleted file mode 100644 index 266d80a5..00000000 --- a/src/merge/resources/chat/resources/webhook_receivers/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.webhook_receiver import WebhookReceiver -from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class WebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawWebhookReceiversClient - """ - return self._raw_client - - def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.webhook_receivers.list() - """ - _response = self._raw_client.list(request_options=request_options) - return _response.data - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.chat.webhook_receivers.create( - event="event", - is_active=True, - ) - """ - _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return _response.data - - -class AsyncWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawWebhookReceiversClient - """ - return self._raw_client - - async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.webhook_receivers.list() - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(request_options=request_options) - return _response.data - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.chat.webhook_receivers.create( - event="event", - is_active=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - event=event, is_active=is_active, key=key, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/chat/resources/webhook_receivers/raw_client.py b/src/merge/resources/chat/resources/webhook_receivers/raw_client.py deleted file mode 100644 index 56ad6750..00000000 --- a/src/merge/resources/chat/resources/webhook_receivers/raw_client.py +++ /dev/null @@ -1,208 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.webhook_receiver import WebhookReceiver - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawWebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[WebhookReceiver]] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[WebhookReceiver] - - """ - _response = self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[WebhookReceiver]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[WebhookReceiver] - - """ - _response = await self._client_wrapper.httpx_client.request( - "chat/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/types/__init__.py b/src/merge/resources/chat/types/__init__.py deleted file mode 100644 index 83dc82b8..00000000 --- a/src/merge/resources/chat/types/__init__.py +++ /dev/null @@ -1,302 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .account_details import AccountDetails - from .account_details_and_actions import AccountDetailsAndActions - from .account_details_and_actions_category import AccountDetailsAndActionsCategory - from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration - from .account_details_and_actions_status import AccountDetailsAndActionsStatus - from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_details_category import AccountDetailsCategory - from .account_integration import AccountIntegration - from .account_token import AccountToken - from .advanced_metadata import AdvancedMetadata - from .async_passthrough_reciept import AsyncPassthroughReciept - from .audit_log_event import AuditLogEvent - from .audit_log_event_event_type import AuditLogEventEventType - from .audit_log_event_role import AuditLogEventRole - from .available_actions import AvailableActions - from .categories_enum import CategoriesEnum - from .category_enum import CategoryEnum - from .common_model_scope_api import CommonModelScopeApi - from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - from .conversation import Conversation - from .conversation_type import ConversationType - from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod - from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat - from .debug_mode_log import DebugModeLog - from .debug_model_log_summary import DebugModelLogSummary - from .enabled_actions_enum import EnabledActionsEnum - from .encoding_enum import EncodingEnum - from .error_validation_problem import ErrorValidationProblem - from .event_type_enum import EventTypeEnum - from .external_target_field_api import ExternalTargetFieldApi - from .external_target_field_api_response import ExternalTargetFieldApiResponse - from .field_mapping_api_instance import FieldMappingApiInstance - from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField - from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - ) - from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse - from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - from .field_mapping_instance_response import FieldMappingInstanceResponse - from .field_permission_deserializer import FieldPermissionDeserializer - from .field_permission_deserializer_request import FieldPermissionDeserializerRequest - from .group import Group - from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - from .issue import Issue - from .issue_status import IssueStatus - from .issue_status_enum import IssueStatusEnum - from .language_enum import LanguageEnum - from .last_sync_result_enum import LastSyncResultEnum - from .link_token import LinkToken - from .member import Member - from .message import Message - from .method_enum import MethodEnum - from .model_operation import ModelOperation - from .model_permission_deserializer import ModelPermissionDeserializer - from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList - from .paginated_audit_log_event_list import PaginatedAuditLogEventList - from .paginated_conversation_list import PaginatedConversationList - from .paginated_group_list import PaginatedGroupList - from .paginated_issue_list import PaginatedIssueList - from .paginated_member_list import PaginatedMemberList - from .paginated_message_list import PaginatedMessageList - from .paginated_sync_status_list import PaginatedSyncStatusList - from .paginated_user_list import PaginatedUserList - from .remote_data import RemoteData - from .remote_endpoint_info import RemoteEndpointInfo - from .remote_field_api import RemoteFieldApi - from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata - from .remote_field_api_coverage import RemoteFieldApiCoverage - from .remote_field_api_response import RemoteFieldApiResponse - from .remote_key import RemoteKey - from .remote_response import RemoteResponse - from .remote_response_response_type import RemoteResponseResponseType - from .request_format_enum import RequestFormatEnum - from .response_type_enum import ResponseTypeEnum - from .role_enum import RoleEnum - from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_fd_5_enum import StatusFd5Enum - from .sync_status import SyncStatus - from .sync_status_last_sync_result import SyncStatusLastSyncResult - from .sync_status_status import SyncStatusStatus - from .type_enum import TypeEnum - from .user import User - from .validation_problem_source import ValidationProblemSource - from .warning_validation_problem import WarningValidationProblem - from .webhook_receiver import WebhookReceiver -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".account_details", - "AccountDetailsAndActions": ".account_details_and_actions", - "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", - "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", - "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", - "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountDetailsCategory": ".account_details_category", - "AccountIntegration": ".account_integration", - "AccountToken": ".account_token", - "AdvancedMetadata": ".advanced_metadata", - "AsyncPassthroughReciept": ".async_passthrough_reciept", - "AuditLogEvent": ".audit_log_event", - "AuditLogEventEventType": ".audit_log_event_event_type", - "AuditLogEventRole": ".audit_log_event_role", - "AvailableActions": ".available_actions", - "CategoriesEnum": ".categories_enum", - "CategoryEnum": ".category_enum", - "CommonModelScopeApi": ".common_model_scope_api", - "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", - "Conversation": ".conversation", - "ConversationType": ".conversation_type", - "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", - "DataPassthroughRequestRequestFormat": ".data_passthrough_request_request_format", - "DebugModeLog": ".debug_mode_log", - "DebugModelLogSummary": ".debug_model_log_summary", - "EnabledActionsEnum": ".enabled_actions_enum", - "EncodingEnum": ".encoding_enum", - "ErrorValidationProblem": ".error_validation_problem", - "EventTypeEnum": ".event_type_enum", - "ExternalTargetFieldApi": ".external_target_field_api", - "ExternalTargetFieldApiResponse": ".external_target_field_api_response", - "FieldMappingApiInstance": ".field_mapping_api_instance", - "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", - "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", - "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", - "FieldMappingInstanceResponse": ".field_mapping_instance_response", - "FieldPermissionDeserializer": ".field_permission_deserializer", - "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", - "Group": ".group", - "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", - "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", - "Issue": ".issue", - "IssueStatus": ".issue_status", - "IssueStatusEnum": ".issue_status_enum", - "LanguageEnum": ".language_enum", - "LastSyncResultEnum": ".last_sync_result_enum", - "LinkToken": ".link_token", - "Member": ".member", - "Message": ".message", - "MethodEnum": ".method_enum", - "ModelOperation": ".model_operation", - "ModelPermissionDeserializer": ".model_permission_deserializer", - "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", - "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", - "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", - "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", - "PaginatedConversationList": ".paginated_conversation_list", - "PaginatedGroupList": ".paginated_group_list", - "PaginatedIssueList": ".paginated_issue_list", - "PaginatedMemberList": ".paginated_member_list", - "PaginatedMessageList": ".paginated_message_list", - "PaginatedSyncStatusList": ".paginated_sync_status_list", - "PaginatedUserList": ".paginated_user_list", - "RemoteData": ".remote_data", - "RemoteEndpointInfo": ".remote_endpoint_info", - "RemoteFieldApi": ".remote_field_api", - "RemoteFieldApiAdvancedMetadata": ".remote_field_api_advanced_metadata", - "RemoteFieldApiCoverage": ".remote_field_api_coverage", - "RemoteFieldApiResponse": ".remote_field_api_response", - "RemoteKey": ".remote_key", - "RemoteResponse": ".remote_response", - "RemoteResponseResponseType": ".remote_response_response_type", - "RequestFormatEnum": ".request_format_enum", - "ResponseTypeEnum": ".response_type_enum", - "RoleEnum": ".role_enum", - "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "StatusFd5Enum": ".status_fd_5_enum", - "SyncStatus": ".sync_status", - "SyncStatusLastSyncResult": ".sync_status_last_sync_result", - "SyncStatusStatus": ".sync_status_status", - "TypeEnum": ".type_enum", - "User": ".user", - "ValidationProblemSource": ".validation_problem_source", - "WarningValidationProblem": ".warning_validation_problem", - "WebhookReceiver": ".webhook_receiver", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "AsyncPassthroughReciept", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Conversation", - "ConversationType", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "Member", - "Message", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedAuditLogEventList", - "PaginatedConversationList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedMemberList", - "PaginatedMessageList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "SelectiveSyncConfigurationsUsageEnum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "TypeEnum", - "User", - "ValidationProblemSource", - "WarningValidationProblem", - "WebhookReceiver", -] diff --git a/src/merge/resources/chat/types/account_details.py b/src/merge/resources/chat/types/account_details.py deleted file mode 100644 index 98923cd8..00000000 --- a/src/merge/resources/chat/types/account_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_category import AccountDetailsCategory - - -class AccountDetails(UncheckedBaseModel): - id: typing.Optional[str] = None - integration: typing.Optional[str] = None - integration_slug: typing.Optional[str] = None - category: typing.Optional[AccountDetailsCategory] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: typing.Optional[str] = None - end_user_email_address: typing.Optional[str] = None - status: typing.Optional[str] = None - webhook_listener_url: typing.Optional[str] = None - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - account_type: typing.Optional[str] = None - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The time at which account completes the linking flow. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_details_and_actions.py b/src/merge/resources/chat/types/account_details_and_actions.py deleted file mode 100644 index 93c874ed..00000000 --- a/src/merge/resources/chat/types/account_details_and_actions.py +++ /dev/null @@ -1,54 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions_category import AccountDetailsAndActionsCategory -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status import AccountDetailsAndActionsStatus - - -class AccountDetailsAndActions(UncheckedBaseModel): - """ - # The LinkedAccount Object - ### Description - The `LinkedAccount` object is used to represent an end user's link with a specific integration. - - ### Usage Example - View a list of your organization's `LinkedAccount` objects. - """ - - id: str - category: typing.Optional[AccountDetailsAndActionsCategory] = None - status: AccountDetailsAndActionsStatus - status_detail: typing.Optional[str] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: str - end_user_email_address: str - subdomain: typing.Optional[str] = pydantic.Field(default=None) - """ - The tenant or domain the customer has provided access to. - """ - - webhook_listener_url: str - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - integration: typing.Optional[AccountDetailsAndActionsIntegration] = None - account_type: str - completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_details_and_actions_integration.py b/src/merge/resources/chat/types/account_details_and_actions_integration.py deleted file mode 100644 index 73467bbb..00000000 --- a/src/merge/resources/chat/types/account_details_and_actions_integration.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum -from .model_operation import ModelOperation - - -class AccountDetailsAndActionsIntegration(UncheckedBaseModel): - name: str - categories: typing.List[CategoriesEnum] - image: typing.Optional[str] = None - square_image: typing.Optional[str] = None - color: str - slug: str - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/account_details_and_actions_status_enum.py b/src/merge/resources/chat/types/account_details_and_actions_status_enum.py deleted file mode 100644 index df37f582..00000000 --- a/src/merge/resources/chat/types/account_details_and_actions_status_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class AccountDetailsAndActionsStatusEnum(str, enum.Enum): - """ - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - """ - - COMPLETE = "COMPLETE" - INCOMPLETE = "INCOMPLETE" - RELINK_NEEDED = "RELINK_NEEDED" - IDLE = "IDLE" - - def visit( - self, - complete: typing.Callable[[], T_Result], - incomplete: typing.Callable[[], T_Result], - relink_needed: typing.Callable[[], T_Result], - idle: typing.Callable[[], T_Result], - ) -> T_Result: - if self is AccountDetailsAndActionsStatusEnum.COMPLETE: - return complete() - if self is AccountDetailsAndActionsStatusEnum.INCOMPLETE: - return incomplete() - if self is AccountDetailsAndActionsStatusEnum.RELINK_NEEDED: - return relink_needed() - if self is AccountDetailsAndActionsStatusEnum.IDLE: - return idle() diff --git a/src/merge/resources/chat/types/account_integration.py b/src/merge/resources/chat/types/account_integration.py deleted file mode 100644 index ef8b260d..00000000 --- a/src/merge/resources/chat/types/account_integration.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum - - -class AccountIntegration(UncheckedBaseModel): - name: str = pydantic.Field() - """ - Company name. - """ - - abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) - """ - - categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) - """ - Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. - """ - - image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in rectangular shape. - """ - - square_image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in square shape. - """ - - color: typing.Optional[str] = pydantic.Field(default=None) - """ - The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. - """ - - slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) - """ - Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} - """ - - webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) - """ - Setup guide URL for third party webhook creation. Exposed in Merge Docs. - """ - - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - Category or categories this integration is in beta status for. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/advanced_metadata.py b/src/merge/resources/chat/types/advanced_metadata.py deleted file mode 100644 index 60b5d072..00000000 --- a/src/merge/resources/chat/types/advanced_metadata.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AdvancedMetadata(UncheckedBaseModel): - id: str - display_name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_required: typing.Optional[bool] = None - is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/audit_log_event.py b/src/merge/resources/chat/types/audit_log_event.py deleted file mode 100644 index ab69fd32..00000000 --- a/src/merge/resources/chat/types/audit_log_event.py +++ /dev/null @@ -1,97 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event_event_type import AuditLogEventEventType -from .audit_log_event_role import AuditLogEventRole - - -class AuditLogEvent(UncheckedBaseModel): - id: typing.Optional[str] = None - user_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's full name at the time of this Event occurring. - """ - - user_email: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's email at the time of this Event occurring. - """ - - role: AuditLogEventRole = pydantic.Field() - """ - Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. - - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ip_address: str - event_type: AuditLogEventEventType = pydantic.Field() - """ - Designates the type of event that occurred. - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - event_description: str - created_at: typing.Optional[dt.datetime] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/audit_log_event_event_type.py b/src/merge/resources/chat/types/audit_log_event_event_type.py deleted file mode 100644 index f9c9d2b3..00000000 --- a/src/merge/resources/chat/types/audit_log_event_event_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .event_type_enum import EventTypeEnum - -AuditLogEventEventType = typing.Union[EventTypeEnum, str] diff --git a/src/merge/resources/chat/types/available_actions.py b/src/merge/resources/chat/types/available_actions.py deleted file mode 100644 index 8b5019d7..00000000 --- a/src/merge/resources/chat/types/available_actions.py +++ /dev/null @@ -1,33 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from .model_operation import ModelOperation - - -class AvailableActions(UncheckedBaseModel): - """ - # The AvailableActions Object - ### Description - The `Activity` object is used to see all available model/operation combinations for an integration. - - ### Usage Example - Fetch all the actions available for the `Zenefits` integration. - """ - - integration: AccountIntegration - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/categories_enum.py b/src/merge/resources/chat/types/categories_enum.py deleted file mode 100644 index da1e0dc0..00000000 --- a/src/merge/resources/chat/types/categories_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoriesEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoriesEnum.HRIS: - return hris() - if self is CategoriesEnum.ATS: - return ats() - if self is CategoriesEnum.ACCOUNTING: - return accounting() - if self is CategoriesEnum.TICKETING: - return ticketing() - if self is CategoriesEnum.CRM: - return crm() - if self is CategoriesEnum.MKTG: - return mktg() - if self is CategoriesEnum.FILESTORAGE: - return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/chat/types/category_enum.py b/src/merge/resources/chat/types/category_enum.py deleted file mode 100644 index 1d7cd2c0..00000000 --- a/src/merge/resources/chat/types/category_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoryEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoryEnum.HRIS: - return hris() - if self is CategoryEnum.ATS: - return ats() - if self is CategoryEnum.ACCOUNTING: - return accounting() - if self is CategoryEnum.TICKETING: - return ticketing() - if self is CategoryEnum.CRM: - return crm() - if self is CategoryEnum.MKTG: - return mktg() - if self is CategoryEnum.FILESTORAGE: - return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/chat/types/data_passthrough_request.py b/src/merge/resources/chat/types/data_passthrough_request.py deleted file mode 100644 index 5a60bfb6..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod -from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat -from .multipart_form_field_request import MultipartFormFieldRequest - - -class DataPassthroughRequest(UncheckedBaseModel): - """ - # The DataPassthrough Object - ### Description - The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. - - ### Usage Example - Create a `DataPassthrough` to get team hierarchies from your Rippling integration. - """ - - method: DataPassthroughRequestMethod - path: str = pydantic.Field() - """ - The path of the request in the third party's platform. - """ - - base_url_override: typing.Optional[str] = pydantic.Field(default=None) - """ - An optional override of the third party's base url for the request. - """ - - data: typing.Optional[str] = pydantic.Field(default=None) - """ - The data with the request. You must include a `request_format` parameter matching the data's format - """ - - multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) - """ - Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - """ - - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - """ - - request_format: typing.Optional[DataPassthroughRequestRequestFormat] = None - normalize_response: typing.Optional[bool] = pydantic.Field(default=None) - """ - Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/data_passthrough_request_method.py b/src/merge/resources/chat/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/chat/types/data_passthrough_request_request_format.py b/src/merge/resources/chat/types/data_passthrough_request_request_format.py deleted file mode 100644 index 13dc95f0..00000000 --- a/src/merge/resources/chat/types/data_passthrough_request_request_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .request_format_enum import RequestFormatEnum - -DataPassthroughRequestRequestFormat = typing.Union[RequestFormatEnum, str] diff --git a/src/merge/resources/chat/types/enabled_actions_enum.py b/src/merge/resources/chat/types/enabled_actions_enum.py deleted file mode 100644 index 29cf9839..00000000 --- a/src/merge/resources/chat/types/enabled_actions_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EnabledActionsEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - """ - - READ = "READ" - WRITE = "WRITE" - - def visit(self, read: typing.Callable[[], T_Result], write: typing.Callable[[], T_Result]) -> T_Result: - if self is EnabledActionsEnum.READ: - return read() - if self is EnabledActionsEnum.WRITE: - return write() diff --git a/src/merge/resources/chat/types/encoding_enum.py b/src/merge/resources/chat/types/encoding_enum.py deleted file mode 100644 index 7454647e..00000000 --- a/src/merge/resources/chat/types/encoding_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EncodingEnum(str, enum.Enum): - """ - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" - - def visit( - self, - raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EncodingEnum.RAW: - return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() diff --git a/src/merge/resources/chat/types/error_validation_problem.py b/src/merge/resources/chat/types/error_validation_problem.py deleted file mode 100644 index 57188343..00000000 --- a/src/merge/resources/chat/types/error_validation_problem.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class ErrorValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - block_merge_link: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/event_type_enum.py b/src/merge/resources/chat/types/event_type_enum.py deleted file mode 100644 index 537cea3f..00000000 --- a/src/merge/resources/chat/types/event_type_enum.py +++ /dev/null @@ -1,231 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EventTypeEnum(str, enum.Enum): - """ - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" - DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" - CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY" - DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY" - REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY" - REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE" - INVITED_USER = "INVITED_USER" - TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED" - TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED" - DELETED_LINKED_ACCOUNT = "DELETED_LINKED_ACCOUNT" - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT = "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" - CREATED_DESTINATION = "CREATED_DESTINATION" - DELETED_DESTINATION = "DELETED_DESTINATION" - CHANGED_DESTINATION = "CHANGED_DESTINATION" - CHANGED_SCOPES = "CHANGED_SCOPES" - CHANGED_PERSONAL_INFORMATION = "CHANGED_PERSONAL_INFORMATION" - CHANGED_ORGANIZATION_SETTINGS = "CHANGED_ORGANIZATION_SETTINGS" - ENABLED_INTEGRATION = "ENABLED_INTEGRATION" - DISABLED_INTEGRATION = "DISABLED_INTEGRATION" - ENABLED_CATEGORY = "ENABLED_CATEGORY" - DISABLED_CATEGORY = "DISABLED_CATEGORY" - CHANGED_PASSWORD = "CHANGED_PASSWORD" - RESET_PASSWORD = "RESET_PASSWORD" - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - CREATED_INTEGRATION_WIDE_FIELD_MAPPING = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_FIELD_MAPPING = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" - DELETED_INTEGRATION_WIDE_FIELD_MAPPING = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" - DELETED_LINKED_ACCOUNT_FIELD_MAPPING = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - FORCED_LINKED_ACCOUNT_RESYNC = "FORCED_LINKED_ACCOUNT_RESYNC" - MUTED_ISSUE = "MUTED_ISSUE" - GENERATED_MAGIC_LINK = "GENERATED_MAGIC_LINK" - ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" - DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" - MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" - END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" - - def visit( - self, - created_remote_production_api_key: typing.Callable[[], T_Result], - deleted_remote_production_api_key: typing.Callable[[], T_Result], - created_test_api_key: typing.Callable[[], T_Result], - deleted_test_api_key: typing.Callable[[], T_Result], - regenerated_production_api_key: typing.Callable[[], T_Result], - regenerated_webhook_signature: typing.Callable[[], T_Result], - invited_user: typing.Callable[[], T_Result], - two_factor_auth_enabled: typing.Callable[[], T_Result], - two_factor_auth_disabled: typing.Callable[[], T_Result], - deleted_linked_account: typing.Callable[[], T_Result], - deleted_all_common_models_for_linked_account: typing.Callable[[], T_Result], - created_destination: typing.Callable[[], T_Result], - deleted_destination: typing.Callable[[], T_Result], - changed_destination: typing.Callable[[], T_Result], - changed_scopes: typing.Callable[[], T_Result], - changed_personal_information: typing.Callable[[], T_Result], - changed_organization_settings: typing.Callable[[], T_Result], - enabled_integration: typing.Callable[[], T_Result], - disabled_integration: typing.Callable[[], T_Result], - enabled_category: typing.Callable[[], T_Result], - disabled_category: typing.Callable[[], T_Result], - changed_password: typing.Callable[[], T_Result], - reset_password: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - created_integration_wide_field_mapping: typing.Callable[[], T_Result], - created_linked_account_field_mapping: typing.Callable[[], T_Result], - changed_integration_wide_field_mapping: typing.Callable[[], T_Result], - changed_linked_account_field_mapping: typing.Callable[[], T_Result], - deleted_integration_wide_field_mapping: typing.Callable[[], T_Result], - deleted_linked_account_field_mapping: typing.Callable[[], T_Result], - created_linked_account_common_model_override: typing.Callable[[], T_Result], - changed_linked_account_common_model_override: typing.Callable[[], T_Result], - deleted_linked_account_common_model_override: typing.Callable[[], T_Result], - forced_linked_account_resync: typing.Callable[[], T_Result], - muted_issue: typing.Callable[[], T_Result], - generated_magic_link: typing.Callable[[], T_Result], - enabled_merge_webhook: typing.Callable[[], T_Result], - disabled_merge_webhook: typing.Callable[[], T_Result], - merge_webhook_target_changed: typing.Callable[[], T_Result], - end_user_credentials_accessed: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EventTypeEnum.CREATED_REMOTE_PRODUCTION_API_KEY: - return created_remote_production_api_key() - if self is EventTypeEnum.DELETED_REMOTE_PRODUCTION_API_KEY: - return deleted_remote_production_api_key() - if self is EventTypeEnum.CREATED_TEST_API_KEY: - return created_test_api_key() - if self is EventTypeEnum.DELETED_TEST_API_KEY: - return deleted_test_api_key() - if self is EventTypeEnum.REGENERATED_PRODUCTION_API_KEY: - return regenerated_production_api_key() - if self is EventTypeEnum.REGENERATED_WEBHOOK_SIGNATURE: - return regenerated_webhook_signature() - if self is EventTypeEnum.INVITED_USER: - return invited_user() - if self is EventTypeEnum.TWO_FACTOR_AUTH_ENABLED: - return two_factor_auth_enabled() - if self is EventTypeEnum.TWO_FACTOR_AUTH_DISABLED: - return two_factor_auth_disabled() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT: - return deleted_linked_account() - if self is EventTypeEnum.DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT: - return deleted_all_common_models_for_linked_account() - if self is EventTypeEnum.CREATED_DESTINATION: - return created_destination() - if self is EventTypeEnum.DELETED_DESTINATION: - return deleted_destination() - if self is EventTypeEnum.CHANGED_DESTINATION: - return changed_destination() - if self is EventTypeEnum.CHANGED_SCOPES: - return changed_scopes() - if self is EventTypeEnum.CHANGED_PERSONAL_INFORMATION: - return changed_personal_information() - if self is EventTypeEnum.CHANGED_ORGANIZATION_SETTINGS: - return changed_organization_settings() - if self is EventTypeEnum.ENABLED_INTEGRATION: - return enabled_integration() - if self is EventTypeEnum.DISABLED_INTEGRATION: - return disabled_integration() - if self is EventTypeEnum.ENABLED_CATEGORY: - return enabled_category() - if self is EventTypeEnum.DISABLED_CATEGORY: - return disabled_category() - if self is EventTypeEnum.CHANGED_PASSWORD: - return changed_password() - if self is EventTypeEnum.RESET_PASSWORD: - return reset_password() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return enabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return enabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return disabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return disabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.CREATED_INTEGRATION_WIDE_FIELD_MAPPING: - return created_integration_wide_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_FIELD_MAPPING: - return created_linked_account_field_mapping() - if self is EventTypeEnum.CHANGED_INTEGRATION_WIDE_FIELD_MAPPING: - return changed_integration_wide_field_mapping() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_FIELD_MAPPING: - return changed_linked_account_field_mapping() - if self is EventTypeEnum.DELETED_INTEGRATION_WIDE_FIELD_MAPPING: - return deleted_integration_wide_field_mapping() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_FIELD_MAPPING: - return deleted_linked_account_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return created_linked_account_common_model_override() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return changed_linked_account_common_model_override() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return deleted_linked_account_common_model_override() - if self is EventTypeEnum.FORCED_LINKED_ACCOUNT_RESYNC: - return forced_linked_account_resync() - if self is EventTypeEnum.MUTED_ISSUE: - return muted_issue() - if self is EventTypeEnum.GENERATED_MAGIC_LINK: - return generated_magic_link() - if self is EventTypeEnum.ENABLED_MERGE_WEBHOOK: - return enabled_merge_webhook() - if self is EventTypeEnum.DISABLED_MERGE_WEBHOOK: - return disabled_merge_webhook() - if self is EventTypeEnum.MERGE_WEBHOOK_TARGET_CHANGED: - return merge_webhook_target_changed() - if self is EventTypeEnum.END_USER_CREDENTIALS_ACCESSED: - return end_user_credentials_accessed() diff --git a/src/merge/resources/chat/types/external_target_field_api.py b/src/merge/resources/chat/types/external_target_field_api.py deleted file mode 100644 index c0fea1eb..00000000 --- a/src/merge/resources/chat/types/external_target_field_api.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ExternalTargetFieldApi(UncheckedBaseModel): - name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_mapped: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/external_target_field_api_response.py b/src/merge/resources/chat/types/external_target_field_api_response.py deleted file mode 100644 index 624d13ef..00000000 --- a/src/merge/resources/chat/types/external_target_field_api_response.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .external_target_field_api import ExternalTargetFieldApi - - -class ExternalTargetFieldApiResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field( - alias="Conversation", default=None - ) - member: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance.py b/src/merge/resources/chat/types/field_mapping_api_instance.py deleted file mode 100644 index 0d257dcb..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - - -class FieldMappingApiInstance(UncheckedBaseModel): - id: typing.Optional[str] = None - is_integration_wide: typing.Optional[bool] = None - target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None - remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py deleted file mode 100644 index 578a2b10..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, -) - - -class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): - remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py deleted file mode 100644 index 4171f08b..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): - method: typing.Optional[str] = None - url_path: typing.Optional[str] = None - field_traversal_path: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_response.py b/src/merge/resources/chat/types/field_mapping_api_instance_response.py deleted file mode 100644 index ebded9e9..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_response.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance import FieldMappingApiInstance - - -class FieldMappingApiInstanceResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field( - alias="Conversation", default=None - ) - member: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_mapping_api_instance_target_field.py b/src/merge/resources/chat/types/field_mapping_api_instance_target_field.py deleted file mode 100644 index e6474cba..00000000 --- a/src/merge/resources/chat/types/field_mapping_api_instance_target_field.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceTargetField(UncheckedBaseModel): - name: str - description: str - is_organization_wide: bool - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_permission_deserializer.py b/src/merge/resources/chat/types/field_permission_deserializer.py deleted file mode 100644 index 1d71ae04..00000000 --- a/src/merge/resources/chat/types/field_permission_deserializer.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/field_permission_deserializer_request.py b/src/merge/resources/chat/types/field_permission_deserializer_request.py deleted file mode 100644 index a4113b46..00000000 --- a/src/merge/resources/chat/types/field_permission_deserializer_request.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/group.py b/src/merge/resources/chat/types/group.py deleted file mode 100644 index 732616f4..00000000 --- a/src/merge/resources/chat/types/group.py +++ /dev/null @@ -1,68 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Group(UncheckedBaseModel): - """ - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. - ### Usage Example - Fetch from the `GET /api/chat/v1/groups` endpoint and view their groups. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The name of the Group - """ - - users: typing.Optional[typing.List[typing.Optional[str]]] = None - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's group was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's group was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/individual_common_model_scope_deserializer.py b/src/merge/resources/chat/types/individual_common_model_scope_deserializer.py deleted file mode 100644 index 4b1ef6a4..00000000 --- a/src/merge/resources/chat/types/individual_common_model_scope_deserializer.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer import FieldPermissionDeserializer -from .model_permission_deserializer import ModelPermissionDeserializer - - -class IndividualCommonModelScopeDeserializer(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializer]] = None - field_permissions: typing.Optional[FieldPermissionDeserializer] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py deleted file mode 100644 index 1dcda203..00000000 --- a/src/merge/resources/chat/types/individual_common_model_scope_deserializer_request.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - - -class IndividualCommonModelScopeDeserializerRequest(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializerRequest]] = None - field_permissions: typing.Optional[FieldPermissionDeserializerRequest] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/issue.py b/src/merge/resources/chat/types/issue.py deleted file mode 100644 index df31be95..00000000 --- a/src/merge/resources/chat/types/issue.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue_status import IssueStatus - - -class Issue(UncheckedBaseModel): - id: typing.Optional[str] = None - status: typing.Optional[IssueStatus] = pydantic.Field(default=None) - """ - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - first_incident_time: typing.Optional[dt.datetime] = None - last_incident_time: typing.Optional[dt.datetime] = None - is_muted: typing.Optional[bool] = None - error_details: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/issue_status.py b/src/merge/resources/chat/types/issue_status.py deleted file mode 100644 index 8e4d6516..00000000 --- a/src/merge/resources/chat/types/issue_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .issue_status_enum import IssueStatusEnum - -IssueStatus = typing.Union[IssueStatusEnum, str] diff --git a/src/merge/resources/chat/types/issue_status_enum.py b/src/merge/resources/chat/types/issue_status_enum.py deleted file mode 100644 index 57eb9618..00000000 --- a/src/merge/resources/chat/types/issue_status_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssueStatusEnum(str, enum.Enum): - """ - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssueStatusEnum.ONGOING: - return ongoing() - if self is IssueStatusEnum.RESOLVED: - return resolved() diff --git a/src/merge/resources/chat/types/language_enum.py b/src/merge/resources/chat/types/language_enum.py deleted file mode 100644 index 44b693f2..00000000 --- a/src/merge/resources/chat/types/language_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LanguageEnum(str, enum.Enum): - """ - * `en` - en - * `de` - de - """ - - EN = "en" - DE = "de" - - def visit(self, en: typing.Callable[[], T_Result], de: typing.Callable[[], T_Result]) -> T_Result: - if self is LanguageEnum.EN: - return en() - if self is LanguageEnum.DE: - return de() diff --git a/src/merge/resources/chat/types/last_sync_result_enum.py b/src/merge/resources/chat/types/last_sync_result_enum.py deleted file mode 100644 index ec777ee6..00000000 --- a/src/merge/resources/chat/types/last_sync_result_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LastSyncResultEnum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LastSyncResultEnum.SYNCING: - return syncing() - if self is LastSyncResultEnum.DONE: - return done() - if self is LastSyncResultEnum.FAILED: - return failed() - if self is LastSyncResultEnum.DISABLED: - return disabled() - if self is LastSyncResultEnum.PAUSED: - return paused() - if self is LastSyncResultEnum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/chat/types/link_token.py b/src/merge/resources/chat/types/link_token.py deleted file mode 100644 index f78dedeb..00000000 --- a/src/merge/resources/chat/types/link_token.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class LinkToken(UncheckedBaseModel): - link_token: str - integration_name: typing.Optional[str] = None - magic_link_url: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/member.py b/src/merge/resources/chat/types/member.py deleted file mode 100644 index 40bea7ed..00000000 --- a/src/merge/resources/chat/types/member.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Member(UncheckedBaseModel): - """ - # The Member Object - ### Description - The `Member` object is used to represent a member within the Chat account. - - ### Usage Example - Fetch from the `GET /api/chat/v1/members` endpoint and view their members. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user: typing.Optional[str] = pydantic.Field(default=None) - """ - The user that is a member of the conversation. Only populated if the member is a user. - """ - - group: typing.Optional[str] = pydantic.Field(default=None) - """ - The group that is a member of the conversation. Only populated if the member is a group. - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/message.py b/src/merge/resources/chat/types/message.py deleted file mode 100644 index 8e5d6fb8..00000000 --- a/src/merge/resources/chat/types/message.py +++ /dev/null @@ -1,88 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class Message(UncheckedBaseModel): - """ - # The Message Object - ### Description - The `Message` object is used to represent a message within the Chat account. - ### Usage Example - Fetch from the `GET /api/chat/v1/messages` endpoint and view their message. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - user_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The user that sent the message. - """ - - conversation_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The conversation this message belongs to. - """ - - body: typing.Optional[str] = pydantic.Field(default=None) - """ - The body of the message. - """ - - subject_line: typing.Optional[str] = pydantic.Field(default=None) - """ - The subject line of the message. - """ - - root_message_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The root message this message belongs to. - """ - - url: typing.Optional[str] = pydantic.Field(default=None) - """ - The url of the message. - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's conversation was updated. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/method_enum.py b/src/merge/resources/chat/types/method_enum.py deleted file mode 100644 index 57bcde10..00000000 --- a/src/merge/resources/chat/types/method_enum.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MethodEnum(str, enum.Enum): - """ - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - """ - - GET = "GET" - OPTIONS = "OPTIONS" - HEAD = "HEAD" - POST = "POST" - PUT = "PUT" - PATCH = "PATCH" - DELETE = "DELETE" - - def visit( - self, - get: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - head: typing.Callable[[], T_Result], - post: typing.Callable[[], T_Result], - put: typing.Callable[[], T_Result], - patch: typing.Callable[[], T_Result], - delete: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MethodEnum.GET: - return get() - if self is MethodEnum.OPTIONS: - return options() - if self is MethodEnum.HEAD: - return head() - if self is MethodEnum.POST: - return post() - if self is MethodEnum.PUT: - return put() - if self is MethodEnum.PATCH: - return patch() - if self is MethodEnum.DELETE: - return delete() diff --git a/src/merge/resources/chat/types/model_operation.py b/src/merge/resources/chat/types/model_operation.py deleted file mode 100644 index c367572d..00000000 --- a/src/merge/resources/chat/types/model_operation.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelOperation(UncheckedBaseModel): - """ - # The ModelOperation Object - ### Description - The `ModelOperation` object is used to represent the operations that are currently supported for a given model. - - ### Usage Example - View what operations are supported for the `Candidate` endpoint. - """ - - model_name: str - available_operations: typing.List[str] - required_post_parameters: typing.List[str] - supported_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/model_permission_deserializer.py b/src/merge/resources/chat/types/model_permission_deserializer.py deleted file mode 100644 index 6381814c..00000000 --- a/src/merge/resources/chat/types/model_permission_deserializer.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializer(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/model_permission_deserializer_request.py b/src/merge/resources/chat/types/model_permission_deserializer_request.py deleted file mode 100644 index cdc2ff4c..00000000 --- a/src/merge/resources/chat/types/model_permission_deserializer_request.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializerRequest(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/multipart_form_field_request.py b/src/merge/resources/chat/types/multipart_form_field_request.py deleted file mode 100644 index abc37692..00000000 --- a/src/merge/resources/chat/types/multipart_form_field_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - - -class MultipartFormFieldRequest(UncheckedBaseModel): - """ - # The MultipartFormField Object - ### Description - The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. - - ### Usage Example - Create a `MultipartFormField` to define a multipart form entry. - """ - - name: str = pydantic.Field() - """ - The name of the form field - """ - - data: str = pydantic.Field() - """ - The data for the form field. - """ - - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) - """ - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - file_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The file name of the form field, if the field is for a file. - """ - - content_type: typing.Optional[str] = pydantic.Field(default=None) - """ - The MIME type of the file, if the field is for a file. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/multipart_form_field_request_encoding.py b/src/merge/resources/chat/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/chat/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/chat/types/paginated_account_details_and_actions_list.py b/src/merge/resources/chat/types/paginated_account_details_and_actions_list.py deleted file mode 100644 index d2d16116..00000000 --- a/src/merge/resources/chat/types/paginated_account_details_and_actions_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions import AccountDetailsAndActions - - -class PaginatedAccountDetailsAndActionsList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AccountDetailsAndActions]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_conversation_list.py b/src/merge/resources/chat/types/paginated_conversation_list.py deleted file mode 100644 index 66ae6ad4..00000000 --- a/src/merge/resources/chat/types/paginated_conversation_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .conversation import Conversation - - -class PaginatedConversationList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Conversation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_group_list.py b/src/merge/resources/chat/types/paginated_group_list.py deleted file mode 100644 index 90702e1f..00000000 --- a/src/merge/resources/chat/types/paginated_group_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .group import Group - - -class PaginatedGroupList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Group]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_member_list.py b/src/merge/resources/chat/types/paginated_member_list.py deleted file mode 100644 index 97a567c2..00000000 --- a/src/merge/resources/chat/types/paginated_member_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .member import Member - - -class PaginatedMemberList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Member]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_message_list.py b/src/merge/resources/chat/types/paginated_message_list.py deleted file mode 100644 index 6e8a7aee..00000000 --- a/src/merge/resources/chat/types/paginated_message_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .message import Message - - -class PaginatedMessageList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Message]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_sync_status_list.py b/src/merge/resources/chat/types/paginated_sync_status_list.py deleted file mode 100644 index cc4bd7a8..00000000 --- a/src/merge/resources/chat/types/paginated_sync_status_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .sync_status import SyncStatus - - -class PaginatedSyncStatusList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[SyncStatus]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/paginated_user_list.py b/src/merge/resources/chat/types/paginated_user_list.py deleted file mode 100644 index 809b285c..00000000 --- a/src/merge/resources/chat/types/paginated_user_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .user import User - - -class PaginatedUserList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[User]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_data.py b/src/merge/resources/chat/types/remote_data.py deleted file mode 100644 index f34bec80..00000000 --- a/src/merge/resources/chat/types/remote_data.py +++ /dev/null @@ -1,37 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteData(UncheckedBaseModel): - """ - # The RemoteData Object - ### Description - The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. - - ### Usage Example - TODO - """ - - path: str = pydantic.Field() - """ - The third-party API path that is being called. - """ - - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) - """ - The data returned from the third-party for this object in its original, unnormalized format. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_endpoint_info.py b/src/merge/resources/chat/types/remote_endpoint_info.py deleted file mode 100644 index 07ceff6a..00000000 --- a/src/merge/resources/chat/types/remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteEndpointInfo(UncheckedBaseModel): - method: str - url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_field_api.py b/src/merge/resources/chat/types/remote_field_api.py deleted file mode 100644 index 0756bfc3..00000000 --- a/src/merge/resources/chat/types/remote_field_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_endpoint_info import RemoteEndpointInfo -from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata -from .remote_field_api_coverage import RemoteFieldApiCoverage - - -class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") - remote_key_name: str - remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - advanced_metadata: typing.Optional[RemoteFieldApiAdvancedMetadata] = None - coverage: typing.Optional[RemoteFieldApiCoverage] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py b/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py deleted file mode 100644 index e93da936..00000000 --- a/src/merge/resources/chat/types/remote_field_api_advanced_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .advanced_metadata import AdvancedMetadata - -RemoteFieldApiAdvancedMetadata = typing.Union[AdvancedMetadata, str] diff --git a/src/merge/resources/chat/types/remote_field_api_coverage.py b/src/merge/resources/chat/types/remote_field_api_coverage.py deleted file mode 100644 index adcd9be9..00000000 --- a/src/merge/resources/chat/types/remote_field_api_coverage.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -RemoteFieldApiCoverage = typing.Union[int, float] diff --git a/src/merge/resources/chat/types/remote_field_api_response.py b/src/merge/resources/chat/types/remote_field_api_response.py deleted file mode 100644 index 7e47f247..00000000 --- a/src/merge/resources/chat/types/remote_field_api_response.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_api import RemoteFieldApi - - -class RemoteFieldApiResponse(UncheckedBaseModel): - user: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Group", default=None) - conversation: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Conversation", default=None) - member: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Member", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/remote_response.py b/src/merge/resources/chat/types/remote_response.py deleted file mode 100644 index db01131f..00000000 --- a/src/merge/resources/chat/types/remote_response.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_response_response_type import RemoteResponseResponseType - - -class RemoteResponse(UncheckedBaseModel): - """ - # The RemoteResponse Object - ### Description - The `RemoteResponse` object is used to represent information returned from a third-party endpoint. - - ### Usage Example - View the `RemoteResponse` returned from your `DataPassthrough`. - """ - - method: str - path: str - status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/request_format_enum.py b/src/merge/resources/chat/types/request_format_enum.py deleted file mode 100644 index 21c272f2..00000000 --- a/src/merge/resources/chat/types/request_format_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RequestFormatEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - """ - - JSON = "JSON" - XML = "XML" - MULTIPART = "MULTIPART" - - def visit( - self, - json: typing.Callable[[], T_Result], - xml: typing.Callable[[], T_Result], - multipart: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RequestFormatEnum.JSON: - return json() - if self is RequestFormatEnum.XML: - return xml() - if self is RequestFormatEnum.MULTIPART: - return multipart() diff --git a/src/merge/resources/chat/types/response_type_enum.py b/src/merge/resources/chat/types/response_type_enum.py deleted file mode 100644 index ef241302..00000000 --- a/src/merge/resources/chat/types/response_type_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ResponseTypeEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - """ - - JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" - - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: - if self is ResponseTypeEnum.JSON: - return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() diff --git a/src/merge/resources/chat/types/role_enum.py b/src/merge/resources/chat/types/role_enum.py deleted file mode 100644 index a6cfcc6f..00000000 --- a/src/merge/resources/chat/types/role_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RoleEnum(str, enum.Enum): - """ - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ADMIN = "ADMIN" - DEVELOPER = "DEVELOPER" - MEMBER = "MEMBER" - API = "API" - SYSTEM = "SYSTEM" - MERGE_TEAM = "MERGE_TEAM" - - def visit( - self, - admin: typing.Callable[[], T_Result], - developer: typing.Callable[[], T_Result], - member: typing.Callable[[], T_Result], - api: typing.Callable[[], T_Result], - system: typing.Callable[[], T_Result], - merge_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RoleEnum.ADMIN: - return admin() - if self is RoleEnum.DEVELOPER: - return developer() - if self is RoleEnum.MEMBER: - return member() - if self is RoleEnum.API: - return api() - if self is RoleEnum.SYSTEM: - return system() - if self is RoleEnum.MERGE_TEAM: - return merge_team() diff --git a/src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py b/src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py deleted file mode 100644 index 9ff43813..00000000 --- a/src/merge/resources/chat/types/selective_sync_configurations_usage_enum.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class SelectiveSyncConfigurationsUsageEnum(str, enum.Enum): - """ - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - """ - - IN_NEXT_SYNC = "IN_NEXT_SYNC" - IN_LAST_SYNC = "IN_LAST_SYNC" - - def visit( - self, in_next_sync: typing.Callable[[], T_Result], in_last_sync: typing.Callable[[], T_Result] - ) -> T_Result: - if self is SelectiveSyncConfigurationsUsageEnum.IN_NEXT_SYNC: - return in_next_sync() - if self is SelectiveSyncConfigurationsUsageEnum.IN_LAST_SYNC: - return in_last_sync() diff --git a/src/merge/resources/chat/types/status_fd_5_enum.py b/src/merge/resources/chat/types/status_fd_5_enum.py deleted file mode 100644 index d753f77c..00000000 --- a/src/merge/resources/chat/types/status_fd_5_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class StatusFd5Enum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is StatusFd5Enum.SYNCING: - return syncing() - if self is StatusFd5Enum.DONE: - return done() - if self is StatusFd5Enum.FAILED: - return failed() - if self is StatusFd5Enum.DISABLED: - return disabled() - if self is StatusFd5Enum.PAUSED: - return paused() - if self is StatusFd5Enum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/chat/types/sync_status.py b/src/merge/resources/chat/types/sync_status.py deleted file mode 100644 index 07ab1dc2..00000000 --- a/src/merge/resources/chat/types/sync_status.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .sync_status_status import SyncStatusStatus - - -class SyncStatus(UncheckedBaseModel): - """ - # The SyncStatus Object - ### Description - The `SyncStatus` object is used to represent the syncing state of an account - - ### Usage Example - View the `SyncStatus` for an account to see how recently its models were synced. - """ - - model_name: str - model_id: str - last_sync_start: typing.Optional[dt.datetime] = None - next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None - last_sync_finished: typing.Optional[dt.datetime] = None - status: SyncStatusStatus - is_initial_sync: bool - selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/type_enum.py b/src/merge/resources/chat/types/type_enum.py deleted file mode 100644 index 6d258d7f..00000000 --- a/src/merge/resources/chat/types/type_enum.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TypeEnum(str, enum.Enum): - """ - * `PRIVATE_INTERNAL` - PRIVATE_INTERNAL - * `PRIVATE_EXTERNAL` - PRIVATE_EXTERNAL - * `PUBLIC_INTERNAL` - PUBLIC_INTERNAL - * `PUBLIC_EXTERNAL` - PUBLIC_EXTERNAL - * `ONE_ON_ONE_CHAT` - ONE_ON_ONE_CHAT - * `GROUP_CHAT` - GROUP_CHAT - * `MEETING_CHAT` - MEETING_CHAT - """ - - PRIVATE_INTERNAL = "PRIVATE_INTERNAL" - PRIVATE_EXTERNAL = "PRIVATE_EXTERNAL" - PUBLIC_INTERNAL = "PUBLIC_INTERNAL" - PUBLIC_EXTERNAL = "PUBLIC_EXTERNAL" - ONE_ON_ONE_CHAT = "ONE_ON_ONE_CHAT" - GROUP_CHAT = "GROUP_CHAT" - MEETING_CHAT = "MEETING_CHAT" - - def visit( - self, - private_internal: typing.Callable[[], T_Result], - private_external: typing.Callable[[], T_Result], - public_internal: typing.Callable[[], T_Result], - public_external: typing.Callable[[], T_Result], - one_on_one_chat: typing.Callable[[], T_Result], - group_chat: typing.Callable[[], T_Result], - meeting_chat: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TypeEnum.PRIVATE_INTERNAL: - return private_internal() - if self is TypeEnum.PRIVATE_EXTERNAL: - return private_external() - if self is TypeEnum.PUBLIC_INTERNAL: - return public_internal() - if self is TypeEnum.PUBLIC_EXTERNAL: - return public_external() - if self is TypeEnum.ONE_ON_ONE_CHAT: - return one_on_one_chat() - if self is TypeEnum.GROUP_CHAT: - return group_chat() - if self is TypeEnum.MEETING_CHAT: - return meeting_chat() diff --git a/src/merge/resources/chat/types/validation_problem_source.py b/src/merge/resources/chat/types/validation_problem_source.py deleted file mode 100644 index fbebe626..00000000 --- a/src/merge/resources/chat/types/validation_problem_source.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ValidationProblemSource(UncheckedBaseModel): - pointer: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/warning_validation_problem.py b/src/merge/resources/chat/types/warning_validation_problem.py deleted file mode 100644 index 960a315f..00000000 --- a/src/merge/resources/chat/types/warning_validation_problem.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class WarningValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - block_merge_link: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/chat/types/webhook_receiver.py b/src/merge/resources/chat/types/webhook_receiver.py deleted file mode 100644 index fb49c044..00000000 --- a/src/merge/resources/chat/types/webhook_receiver.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class WebhookReceiver(UncheckedBaseModel): - event: str - is_active: bool - key: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/crm/__init__.py b/src/merge/resources/crm/__init__.py index d978998c..2415ec79 100644 --- a/src/merge/resources/crm/__init__.py +++ b/src/merge/resources/crm/__init__.py @@ -117,6 +117,8 @@ LeadRequestConvertedContact, LeadRequestOwner, LeadResponse, + LeadStatus, + LeadStatusEnum, LinkToken, LinkedAccountStatus, MetaResponse, @@ -182,6 +184,7 @@ PhoneNumber, PhoneNumberRequest, ReasonEnum, + RegenerateAccountToken, RemoteData, RemoteEndpointInfo, RemoteField, @@ -190,8 +193,6 @@ RemoteFieldApiResponse, RemoteFieldClass, RemoteFieldClassFieldChoicesItem, - RemoteFieldClassFieldFormat, - RemoteFieldClassFieldType, RemoteFieldClassForCustomObjectClass, RemoteFieldClassForCustomObjectClassFieldChoicesItem, RemoteFieldClassForCustomObjectClassFieldFormat, @@ -202,6 +203,7 @@ RemoteFieldRequestRemoteFieldClass, RemoteKey, RemoteResponse, + RemoteResponseResponseType, RequestFormatEnum, ResponseTypeEnum, RoleEnum, @@ -213,10 +215,12 @@ SyncStatusStatus, Task, TaskAccount, + TaskContact, TaskOpportunity, TaskOwner, TaskRequest, TaskRequestAccount, + TaskRequestContact, TaskRequestOpportunity, TaskRequestOwner, TaskRequestStatus, @@ -230,22 +234,22 @@ ) from .resources import ( AsyncPassthroughRetrieveResponse, - ContactsListRequestExpand, - ContactsRetrieveRequestExpand, + ContactsListRequestExpandItem, + ContactsRetrieveRequestExpandItem, EndUserDetailsRequestLanguage, - EngagementsListRequestExpand, - EngagementsRetrieveRequestExpand, + EngagementsListRequestExpandItem, + EngagementsRetrieveRequestExpandItem, IssuesListRequestStatus, - LeadsListRequestExpand, - LeadsRetrieveRequestExpand, + LeadsListRequestExpandItem, + LeadsRetrieveRequestExpandItem, LinkedAccountsListRequestCategory, - NotesListRequestExpand, - NotesRetrieveRequestExpand, - OpportunitiesListRequestExpand, + NotesListRequestExpandItem, + NotesRetrieveRequestExpandItem, + OpportunitiesListRequestExpandItem, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, - TasksListRequestExpand, - TasksRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, + TasksListRequestExpandItem, + TasksRetrieveRequestExpandItem, account_details, account_token, accounts, @@ -324,8 +328,8 @@ "ContactRequest": ".types", "ContactRequestAccount": ".types", "ContactRequestOwner": ".types", - "ContactsListRequestExpand": ".resources", - "ContactsRetrieveRequestExpand": ".resources", + "ContactsListRequestExpandItem": ".resources", + "ContactsRetrieveRequestExpandItem": ".resources", "CountryEnum": ".types", "CrmAccountResponse": ".types", "CrmAssociationTypeResponse": ".types", @@ -358,8 +362,8 @@ "EngagementResponse": ".types", "EngagementType": ".types", "EngagementTypeActivityType": ".types", - "EngagementsListRequestExpand": ".resources", - "EngagementsRetrieveRequestExpand": ".resources", + "EngagementsListRequestExpandItem": ".resources", + "EngagementsRetrieveRequestExpandItem": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", "ExternalTargetFieldApi": ".types", @@ -396,8 +400,10 @@ "LeadRequestConvertedContact": ".types", "LeadRequestOwner": ".types", "LeadResponse": ".types", - "LeadsListRequestExpand": ".resources", - "LeadsRetrieveRequestExpand": ".resources", + "LeadStatus": ".types", + "LeadStatusEnum": ".types", + "LeadsListRequestExpandItem": ".resources", + "LeadsRetrieveRequestExpandItem": ".resources", "LinkToken": ".types", "LinkedAccountStatus": ".types", "LinkedAccountsListRequestCategory": ".resources", @@ -419,12 +425,12 @@ "NoteRequestOpportunity": ".types", "NoteRequestOwner": ".types", "NoteResponse": ".types", - "NotesListRequestExpand": ".resources", - "NotesRetrieveRequestExpand": ".resources", + "NotesListRequestExpandItem": ".resources", + "NotesRetrieveRequestExpandItem": ".resources", "ObjectClassDescriptionRequest": ".types", - "OpportunitiesListRequestExpand": ".resources", + "OpportunitiesListRequestExpandItem": ".resources", "OpportunitiesListRequestStatus": ".resources", - "OpportunitiesRetrieveRequestExpand": ".resources", + "OpportunitiesRetrieveRequestExpandItem": ".resources", "Opportunity": ".types", "OpportunityAccount": ".types", "OpportunityOwner": ".types", @@ -469,6 +475,7 @@ "PhoneNumber": ".types", "PhoneNumberRequest": ".types", "ReasonEnum": ".types", + "RegenerateAccountToken": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteField": ".types", @@ -477,8 +484,6 @@ "RemoteFieldApiResponse": ".types", "RemoteFieldClass": ".types", "RemoteFieldClassFieldChoicesItem": ".types", - "RemoteFieldClassFieldFormat": ".types", - "RemoteFieldClassFieldType": ".types", "RemoteFieldClassForCustomObjectClass": ".types", "RemoteFieldClassForCustomObjectClassFieldChoicesItem": ".types", "RemoteFieldClassForCustomObjectClassFieldFormat": ".types", @@ -489,6 +494,7 @@ "RemoteFieldRequestRemoteFieldClass": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "RoleEnum": ".types", @@ -500,18 +506,20 @@ "SyncStatusStatus": ".types", "Task": ".types", "TaskAccount": ".types", + "TaskContact": ".types", "TaskOpportunity": ".types", "TaskOwner": ".types", "TaskRequest": ".types", "TaskRequestAccount": ".types", + "TaskRequestContact": ".types", "TaskRequestOpportunity": ".types", "TaskRequestOwner": ".types", "TaskRequestStatus": ".types", "TaskResponse": ".types", "TaskStatus": ".types", "TaskStatusEnum": ".types", - "TasksListRequestExpand": ".resources", - "TasksRetrieveRequestExpand": ".resources", + "TasksListRequestExpandItem": ".resources", + "TasksRetrieveRequestExpandItem": ".resources", "User": ".types", "ValidationProblemSource": ".types", "WarningValidationProblem": ".types", @@ -615,8 +623,8 @@ def __dir__(): "ContactRequest", "ContactRequestAccount", "ContactRequestOwner", - "ContactsListRequestExpand", - "ContactsRetrieveRequestExpand", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", "CountryEnum", "CrmAccountResponse", "CrmAssociationTypeResponse", @@ -649,8 +657,8 @@ def __dir__(): "EngagementResponse", "EngagementType", "EngagementTypeActivityType", - "EngagementsListRequestExpand", - "EngagementsRetrieveRequestExpand", + "EngagementsListRequestExpandItem", + "EngagementsRetrieveRequestExpandItem", "ErrorValidationProblem", "EventTypeEnum", "ExternalTargetFieldApi", @@ -687,8 +695,10 @@ def __dir__(): "LeadRequestConvertedContact", "LeadRequestOwner", "LeadResponse", - "LeadsListRequestExpand", - "LeadsRetrieveRequestExpand", + "LeadStatus", + "LeadStatusEnum", + "LeadsListRequestExpandItem", + "LeadsRetrieveRequestExpandItem", "LinkToken", "LinkedAccountStatus", "LinkedAccountsListRequestCategory", @@ -710,12 +720,12 @@ def __dir__(): "NoteRequestOpportunity", "NoteRequestOwner", "NoteResponse", - "NotesListRequestExpand", - "NotesRetrieveRequestExpand", + "NotesListRequestExpandItem", + "NotesRetrieveRequestExpandItem", "ObjectClassDescriptionRequest", - "OpportunitiesListRequestExpand", + "OpportunitiesListRequestExpandItem", "OpportunitiesListRequestStatus", - "OpportunitiesRetrieveRequestExpand", + "OpportunitiesRetrieveRequestExpandItem", "Opportunity", "OpportunityAccount", "OpportunityOwner", @@ -760,6 +770,7 @@ def __dir__(): "PhoneNumber", "PhoneNumberRequest", "ReasonEnum", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -768,8 +779,6 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldClassForCustomObjectClass", "RemoteFieldClassForCustomObjectClassFieldChoicesItem", "RemoteFieldClassForCustomObjectClassFieldFormat", @@ -780,6 +789,7 @@ def __dir__(): "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", @@ -791,18 +801,20 @@ def __dir__(): "SyncStatusStatus", "Task", "TaskAccount", + "TaskContact", "TaskOpportunity", "TaskOwner", "TaskRequest", "TaskRequestAccount", + "TaskRequestContact", "TaskRequestOpportunity", "TaskRequestOwner", "TaskRequestStatus", "TaskResponse", "TaskStatus", "TaskStatusEnum", - "TasksListRequestExpand", - "TasksRetrieveRequestExpand", + "TasksListRequestExpandItem", + "TasksRetrieveRequestExpandItem", "User", "ValidationProblemSource", "WarningValidationProblem", diff --git a/src/merge/resources/crm/resources/__init__.py b/src/merge/resources/crm/resources/__init__.py index aacab149..c7752e72 100644 --- a/src/merge/resources/crm/resources/__init__.py +++ b/src/merge/resources/crm/resources/__init__.py @@ -40,37 +40,37 @@ webhook_receivers, ) from .async_passthrough import AsyncPassthroughRetrieveResponse - from .contacts import ContactsListRequestExpand, ContactsRetrieveRequestExpand - from .engagements import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand + from .contacts import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem + from .engagements import EngagementsListRequestExpandItem, EngagementsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus - from .leads import LeadsListRequestExpand, LeadsRetrieveRequestExpand + from .leads import LeadsListRequestExpandItem, LeadsRetrieveRequestExpandItem from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .notes import NotesListRequestExpand, NotesRetrieveRequestExpand + from .notes import NotesListRequestExpandItem, NotesRetrieveRequestExpandItem from .opportunities import ( - OpportunitiesListRequestExpand, + OpportunitiesListRequestExpandItem, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, ) - from .tasks import TasksListRequestExpand, TasksRetrieveRequestExpand + from .tasks import TasksListRequestExpandItem, TasksRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ContactsListRequestExpand": ".contacts", - "ContactsRetrieveRequestExpand": ".contacts", + "ContactsListRequestExpandItem": ".contacts", + "ContactsRetrieveRequestExpandItem": ".contacts", "EndUserDetailsRequestLanguage": ".link_token", - "EngagementsListRequestExpand": ".engagements", - "EngagementsRetrieveRequestExpand": ".engagements", + "EngagementsListRequestExpandItem": ".engagements", + "EngagementsRetrieveRequestExpandItem": ".engagements", "IssuesListRequestStatus": ".issues", - "LeadsListRequestExpand": ".leads", - "LeadsRetrieveRequestExpand": ".leads", + "LeadsListRequestExpandItem": ".leads", + "LeadsRetrieveRequestExpandItem": ".leads", "LinkedAccountsListRequestCategory": ".linked_accounts", - "NotesListRequestExpand": ".notes", - "NotesRetrieveRequestExpand": ".notes", - "OpportunitiesListRequestExpand": ".opportunities", + "NotesListRequestExpandItem": ".notes", + "NotesRetrieveRequestExpandItem": ".notes", + "OpportunitiesListRequestExpandItem": ".opportunities", "OpportunitiesListRequestStatus": ".opportunities", - "OpportunitiesRetrieveRequestExpand": ".opportunities", - "TasksListRequestExpand": ".tasks", - "TasksRetrieveRequestExpand": ".tasks", + "OpportunitiesRetrieveRequestExpandItem": ".opportunities", + "TasksListRequestExpandItem": ".tasks", + "TasksRetrieveRequestExpandItem": ".tasks", "account_details": ".", "account_token": ".", "accounts": ".", @@ -126,22 +126,22 @@ def __dir__(): __all__ = [ "AsyncPassthroughRetrieveResponse", - "ContactsListRequestExpand", - "ContactsRetrieveRequestExpand", + "ContactsListRequestExpandItem", + "ContactsRetrieveRequestExpandItem", "EndUserDetailsRequestLanguage", - "EngagementsListRequestExpand", - "EngagementsRetrieveRequestExpand", + "EngagementsListRequestExpandItem", + "EngagementsRetrieveRequestExpandItem", "IssuesListRequestStatus", - "LeadsListRequestExpand", - "LeadsRetrieveRequestExpand", + "LeadsListRequestExpandItem", + "LeadsRetrieveRequestExpandItem", "LinkedAccountsListRequestCategory", - "NotesListRequestExpand", - "NotesRetrieveRequestExpand", - "OpportunitiesListRequestExpand", + "NotesListRequestExpandItem", + "NotesRetrieveRequestExpandItem", + "OpportunitiesListRequestExpandItem", "OpportunitiesListRequestStatus", - "OpportunitiesRetrieveRequestExpand", - "TasksListRequestExpand", - "TasksRetrieveRequestExpand", + "OpportunitiesRetrieveRequestExpandItem", + "TasksListRequestExpandItem", + "TasksRetrieveRequestExpandItem", "account_details", "account_token", "accounts", diff --git a/src/merge/resources/crm/resources/account_token/client.py b/src/merge/resources/crm/resources/account_token/client.py index 76432434..188d6086 100644 --- a/src/merge/resources/crm/resources/account_token/client.py +++ b/src/merge/resources/crm/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.crm.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.crm.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/crm/resources/account_token/raw_client.py b/src/merge/resources/crm/resources/account_token/raw_client.py index e39f8772..c7cb3d38 100644 --- a/src/merge/resources/crm/resources/account_token/raw_client.py +++ b/src/merge/resources/crm/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "crm/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "crm/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/crm/resources/accounts/client.py b/src/merge/resources/crm/resources/accounts/client.py index 54d26f13..b7a14619 100644 --- a/src/merge/resources/crm/resources/accounts/client.py +++ b/src/merge/resources/crm/resources/accounts/client.py @@ -4,14 +4,14 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account from ...types.account_request import AccountRequest from ...types.crm_account_response import CrmAccountResponse from ...types.meta_response import MetaResponse -from ...types.paginated_account_list import PaginatedAccountList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_account_request import PatchedAccountRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawAccountsClient, RawAccountsClient # this is used as the default value for optional parameters @@ -39,7 +39,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -51,7 +51,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -66,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +94,7 @@ def list( If provided, will only return accounts with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -104,7 +104,7 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account] Examples @@ -117,7 +117,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.accounts.list( + response = client.crm.accounts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -140,8 +140,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +163,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -213,7 +217,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -226,7 +230,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -394,7 +398,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -422,14 +426,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -440,7 +444,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.accounts.remote_field_classes_list( + response = client.crm.accounts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -450,8 +454,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -462,7 +471,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncAccountsClient: @@ -486,7 +494,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -498,7 +506,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -513,7 +521,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -541,7 +549,7 @@ async def list( If provided, will only return accounts with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -551,7 +559,7 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account] Examples @@ -568,7 +576,7 @@ async def list( async def main() -> None: - await client.crm.accounts.list( + response = await client.crm.accounts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -591,11 +599,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -612,7 +626,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -675,7 +688,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -688,7 +701,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -890,7 +903,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -918,14 +931,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -941,7 +954,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.accounts.remote_field_classes_list( + response = await client.crm.accounts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -951,11 +964,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -966,4 +985,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/accounts/raw_client.py b/src/merge/resources/crm/resources/accounts/raw_client.py index f1e94b94..6b42a911 100644 --- a/src/merge/resources/crm/resources/accounts/raw_client.py +++ b/src/merge/resources/crm/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -18,6 +19,7 @@ from ...types.paginated_account_list import PaginatedAccountList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_account_request import PatchedAccountRequest +from ...types.remote_field_class import RemoteFieldClass # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -33,7 +35,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -45,7 +47,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -60,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +90,7 @@ def list( If provided, will only return accounts with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -98,7 +100,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account] """ _response = self._client_wrapper.httpx_client.request( @@ -124,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -201,7 +225,7 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -214,7 +238,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -409,7 +433,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -437,14 +461,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -464,14 +488,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -488,7 +528,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -500,7 +540,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -515,7 +555,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -543,7 +583,7 @@ async def list( If provided, will only return accounts with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -553,7 +593,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account] """ _response = await self._client_wrapper.httpx_client.request( @@ -579,14 +619,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -656,7 +721,7 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["owner"]] = None, + expand: typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -669,7 +734,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["owner"]] + expand : typing.Optional[typing.Union[typing.Literal["owner"], typing.Sequence[typing.Literal["owner"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -864,7 +929,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -892,14 +957,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -919,14 +984,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/association_types/client.py b/src/merge/resources/crm/resources/association_types/client.py index b7f4611c..837df7f0 100644 --- a/src/merge/resources/crm/resources/association_types/client.py +++ b/src/merge/resources/crm/resources/association_types/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.association_type import AssociationType from ...types.association_type_request_request import AssociationTypeRequestRequest from ...types.crm_association_type_response import CrmAssociationTypeResponse from ...types.meta_response import MetaResponse -from ...types.paginated_association_type_list import PaginatedAssociationTypeList from .raw_client import AsyncRawAssociationTypesClient, RawAssociationTypesClient # this is used as the default value for optional parameters @@ -38,7 +38,11 @@ def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationTypeList: + ) -> SyncPager[AssociationType]: """ Returns a list of `AssociationType` objects. @@ -64,7 +68,7 @@ def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -83,7 +87,7 @@ def custom_object_classes_association_types_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -93,7 +97,7 @@ def custom_object_classes_association_types_list( Returns ------- - PaginatedAssociationTypeList + SyncPager[AssociationType] Examples @@ -106,29 +110,36 @@ def custom_object_classes_association_types_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.association_types.custom_object_classes_association_types_list( - custom_object_class_id="custom_object_class_id", - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", + response = ( + client.crm.association_types.custom_object_classes_association_types_list( + custom_object_class_id="custom_object_class_id", + created_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + created_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + include_deleted_data=True, + include_remote_data=True, + include_shell_data=True, + modified_after=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + modified_before=datetime.datetime.fromisoformat( + "2024-01-15 09:30:00+00:00", + ), + page_size=1, + remote_id="remote_id", + ) ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_association_types_list( + return self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -143,7 +154,6 @@ def custom_object_classes_association_types_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_association_types_create( self, @@ -223,7 +233,11 @@ def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -237,7 +251,7 @@ def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -337,7 +351,11 @@ async def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -346,7 +364,7 @@ async def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationTypeList: + ) -> AsyncPager[AssociationType]: """ Returns a list of `AssociationType` objects. @@ -363,7 +381,7 @@ async def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -382,7 +400,7 @@ async def custom_object_classes_association_types_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -392,7 +410,7 @@ async def custom_object_classes_association_types_list( Returns ------- - PaginatedAssociationTypeList + AsyncPager[AssociationType] Examples @@ -409,7 +427,7 @@ async def custom_object_classes_association_types_list( async def main() -> None: - await client.crm.association_types.custom_object_classes_association_types_list( + response = await client.crm.association_types.custom_object_classes_association_types_list( custom_object_class_id="custom_object_class_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -430,11 +448,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_association_types_list( + return await self._raw_client.custom_object_classes_association_types_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -449,7 +473,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_association_types_create( self, @@ -537,7 +560,11 @@ async def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -551,7 +578,7 @@ async def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/association_types/raw_client.py b/src/merge/resources/crm/resources/association_types/raw_client.py index 22a134e5..700d844b 100644 --- a/src/merge/resources/crm/resources/association_types/raw_client.py +++ b/src/merge/resources/crm/resources/association_types/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.association_type import AssociationType @@ -32,7 +33,11 @@ def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +46,7 @@ def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAssociationTypeList]: + ) -> SyncPager[AssociationType]: """ Returns a list of `AssociationType` objects. @@ -58,7 +63,7 @@ def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -77,7 +82,7 @@ def custom_object_classes_association_types_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -87,7 +92,7 @@ def custom_object_classes_association_types_list( Returns ------- - HttpResponse[PaginatedAssociationTypeList] + SyncPager[AssociationType] """ _response = self._client_wrapper.httpx_client.request( @@ -110,14 +115,34 @@ def custom_object_classes_association_types_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationTypeList, construct_type( type_=PaginatedAssociationTypeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_association_types_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -191,7 +216,11 @@ def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -205,7 +234,7 @@ def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -297,7 +326,11 @@ async def custom_object_classes_association_types_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -306,7 +339,7 @@ async def custom_object_classes_association_types_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAssociationTypeList]: + ) -> AsyncPager[AssociationType]: """ Returns a list of `AssociationType` objects. @@ -323,7 +356,7 @@ async def custom_object_classes_association_types_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -342,7 +375,7 @@ async def custom_object_classes_association_types_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -352,7 +385,7 @@ async def custom_object_classes_association_types_list( Returns ------- - AsyncHttpResponse[PaginatedAssociationTypeList] + AsyncPager[AssociationType] """ _response = await self._client_wrapper.httpx_client.request( @@ -375,14 +408,37 @@ async def custom_object_classes_association_types_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationTypeList, construct_type( type_=PaginatedAssociationTypeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_association_types_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -456,7 +512,11 @@ async def custom_object_classes_association_types_retrieve( custom_object_class_id: str, id: str, *, - expand: typing.Optional[typing.Literal["target_object_classes"]] = None, + expand: typing.Optional[ + typing.Union[ + typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -470,7 +530,7 @@ async def custom_object_classes_association_types_retrieve( id : str - expand : typing.Optional[typing.Literal["target_object_classes"]] + expand : typing.Optional[typing.Union[typing.Literal["target_object_classes"], typing.Sequence[typing.Literal["target_object_classes"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/associations/client.py b/src/merge/resources/crm/resources/associations/client.py index 28d8f541..0d42c51f 100644 --- a/src/merge/resources/crm/resources/associations/client.py +++ b/src/merge/resources/crm/resources/associations/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.association import Association -from ...types.paginated_association_list import PaginatedAssociationList from .raw_client import AsyncRawAssociationsClient, RawAssociationsClient @@ -34,7 +34,9 @@ def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,7 +45,7 @@ def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationList: + ) -> SyncPager[Association]: """ Returns a list of `Association` objects. @@ -65,7 +67,7 @@ def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +86,7 @@ def custom_object_classes_custom_objects_associations_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -94,7 +96,7 @@ def custom_object_classes_custom_objects_associations_list( Returns ------- - PaginatedAssociationList + SyncPager[Association] Examples @@ -107,7 +109,7 @@ def custom_object_classes_custom_objects_associations_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.associations.custom_object_classes_custom_objects_associations_list( + response = client.crm.associations.custom_object_classes_custom_objects_associations_list( custom_object_class_id="custom_object_class_id", object_id="object_id", association_type_id="association_type_id", @@ -130,8 +132,13 @@ def custom_object_classes_custom_objects_associations_list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_associations_list( + return self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -148,7 +155,6 @@ def custom_object_classes_custom_objects_associations_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_custom_objects_associations_update( self, @@ -246,7 +252,9 @@ async def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -255,7 +263,7 @@ async def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAssociationList: + ) -> AsyncPager[Association]: """ Returns a list of `Association` objects. @@ -277,7 +285,7 @@ async def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -296,7 +304,7 @@ async def custom_object_classes_custom_objects_associations_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -306,7 +314,7 @@ async def custom_object_classes_custom_objects_associations_list( Returns ------- - PaginatedAssociationList + AsyncPager[Association] Examples @@ -323,7 +331,7 @@ async def custom_object_classes_custom_objects_associations_list( async def main() -> None: - await client.crm.associations.custom_object_classes_custom_objects_associations_list( + response = await client.crm.associations.custom_object_classes_custom_objects_associations_list( custom_object_class_id="custom_object_class_id", object_id="object_id", association_type_id="association_type_id", @@ -346,11 +354,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_associations_list( + return await self._raw_client.custom_object_classes_custom_objects_associations_list( custom_object_class_id, object_id, association_type_id=association_type_id, @@ -367,7 +381,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_custom_objects_associations_update( self, diff --git a/src/merge/resources/crm/resources/associations/raw_client.py b/src/merge/resources/crm/resources/associations/raw_client.py index a78ef724..fd47366c 100644 --- a/src/merge/resources/crm/resources/associations/raw_client.py +++ b/src/merge/resources/crm/resources/associations/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.association import Association @@ -28,7 +29,9 @@ def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -37,7 +40,7 @@ def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAssociationList]: + ) -> SyncPager[Association]: """ Returns a list of `Association` objects. @@ -59,7 +62,7 @@ def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -78,7 +81,7 @@ def custom_object_classes_custom_objects_associations_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +91,7 @@ def custom_object_classes_custom_objects_associations_list( Returns ------- - HttpResponse[PaginatedAssociationList] + SyncPager[Association] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +115,36 @@ def custom_object_classes_custom_objects_associations_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationList, construct_type( type_=PaginatedAssociationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_associations_list( + custom_object_class_id, + object_id, + association_type_id=association_type_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -204,7 +229,9 @@ async def custom_object_classes_custom_objects_associations_list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["association_type"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -213,7 +240,7 @@ async def custom_object_classes_custom_objects_associations_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAssociationList]: + ) -> AsyncPager[Association]: """ Returns a list of `Association` objects. @@ -235,7 +262,7 @@ async def custom_object_classes_custom_objects_associations_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["association_type"]] + expand : typing.Optional[typing.Union[typing.Literal["association_type"], typing.Sequence[typing.Literal["association_type"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -254,7 +281,7 @@ async def custom_object_classes_custom_objects_associations_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -264,7 +291,7 @@ async def custom_object_classes_custom_objects_associations_list( Returns ------- - AsyncHttpResponse[PaginatedAssociationList] + AsyncPager[Association] """ _response = await self._client_wrapper.httpx_client.request( @@ -288,14 +315,39 @@ async def custom_object_classes_custom_objects_associations_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAssociationList, construct_type( type_=PaginatedAssociationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_associations_list( + custom_object_class_id, + object_id, + association_type_id=association_type_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/audit_trail/client.py b/src/merge/resources/crm/resources/audit_trail/client.py index 3d1fcc71..1fad441f 100644 --- a/src/merge/resources/crm/resources/audit_trail/client.py +++ b/src/merge/resources/crm/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -49,7 +50,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.audit_trail.list( + response = client.crm.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -135,7 +140,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.crm.audit_trail.list( + response = await client.crm.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/audit_trail/raw_client.py b/src/merge/resources/crm/resources/audit_trail/raw_client.py index b75a9ad0..c5ce5380 100644 --- a/src/merge/resources/crm/resources/audit_trail/raw_client.py +++ b/src/merge/resources/crm/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -116,7 +131,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/contacts/__init__.py b/src/merge/resources/crm/resources/contacts/__init__.py index e5740c79..2c1bb6ab 100644 --- a/src/merge/resources/crm/resources/contacts/__init__.py +++ b/src/merge/resources/crm/resources/contacts/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ContactsListRequestExpand, ContactsRetrieveRequestExpand + from .types import ContactsListRequestExpandItem, ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".types", - "ContactsRetrieveRequestExpand": ".types", + "ContactsListRequestExpandItem": ".types", + "ContactsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/contacts/client.py b/src/merge/resources/crm/resources/contacts/client.py index 7fe8c8b0..a3f47cf9 100644 --- a/src/merge/resources/crm/resources/contacts/client.py +++ b/src/merge/resources/crm/resources/contacts/client.py @@ -4,18 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest from ...types.crm_contact_response import CrmContactResponse from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse -from ...types.paginated_contact_list import PaginatedContactList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawContactsClient, RawContactsClient -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +44,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +57,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -76,7 +78,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,7 +100,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -111,7 +113,7 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact] Examples @@ -119,13 +121,12 @@ def list( import datetime from merge import Merge - from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.contacts.list( + response = client.crm.contacts.list( account_id="account_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -135,7 +136,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -150,8 +150,13 @@ def list( phone_numbers="phone_numbers", remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -169,7 +174,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -224,7 +228,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -237,7 +243,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -260,7 +266,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -268,7 +273,6 @@ def retrieve( ) client.crm.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -449,7 +453,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -477,14 +481,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -495,7 +499,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.contacts.remote_field_classes_list( + response = client.crm.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -505,8 +509,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -517,7 +526,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncContactsClient: @@ -543,7 +551,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -554,7 +564,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -575,7 +585,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -597,7 +607,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -610,7 +620,7 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact] Examples @@ -619,7 +629,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.crm.resources.contacts import ContactsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -628,7 +637,7 @@ async def list( async def main() -> None: - await client.crm.contacts.list( + response = await client.crm.contacts.list( account_id="account_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -638,7 +647,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=ContactsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -653,11 +661,17 @@ async def main() -> None: phone_numbers="phone_numbers", remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -675,7 +689,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -738,7 +751,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -751,7 +766,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -776,7 +791,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.contacts import ContactsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -787,7 +801,6 @@ async def retrieve( async def main() -> None: await client.crm.contacts.retrieve( id="id", - expand=ContactsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -1005,7 +1018,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1033,14 +1046,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1056,7 +1069,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.contacts.remote_field_classes_list( + response = await client.crm.contacts.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -1066,11 +1079,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1081,4 +1100,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/contacts/raw_client.py b/src/merge/resources/crm/resources/contacts/raw_client.py index 11528b00..001b9219 100644 --- a/src/merge/resources/crm/resources/contacts/raw_client.py +++ b/src/merge/resources/crm/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -19,8 +20,9 @@ from ...types.paginated_contact_list import PaginatedContactList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_contact_request import PatchedContactRequest -from .types.contacts_list_request_expand import ContactsListRequestExpand -from .types.contacts_retrieve_request_expand import ContactsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.contacts_list_request_expand_item import ContactsListRequestExpandItem +from .types.contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -38,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,7 +53,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -70,7 +74,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -92,7 +96,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -105,7 +109,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact] """ _response = self._client_wrapper.httpx_client.request( @@ -132,14 +136,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -209,7 +236,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -222,7 +251,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -458,7 +487,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -486,14 +515,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -513,14 +542,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -539,7 +584,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[ContactsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -550,7 +597,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -571,7 +618,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[ContactsListRequestExpand] + expand : typing.Optional[typing.Union[ContactsListRequestExpandItem, typing.Sequence[ContactsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -593,7 +640,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -606,7 +653,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact] """ _response = await self._client_wrapper.httpx_client.request( @@ -633,14 +680,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -710,7 +783,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[ContactsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -723,7 +798,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[ContactsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[ContactsRetrieveRequestExpandItem, typing.Sequence[ContactsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -959,7 +1034,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -987,14 +1062,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1014,14 +1089,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/contacts/types/__init__.py b/src/merge/resources/crm/resources/contacts/types/__init__.py index 2dbee7a7..45a632d4 100644 --- a/src/merge/resources/crm/resources/contacts/types/__init__.py +++ b/src/merge/resources/crm/resources/contacts/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .contacts_list_request_expand import ContactsListRequestExpand - from .contacts_retrieve_request_expand import ContactsRetrieveRequestExpand + from .contacts_list_request_expand_item import ContactsListRequestExpandItem + from .contacts_retrieve_request_expand_item import ContactsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "ContactsListRequestExpand": ".contacts_list_request_expand", - "ContactsRetrieveRequestExpand": ".contacts_retrieve_request_expand", + "ContactsListRequestExpandItem": ".contacts_list_request_expand_item", + "ContactsRetrieveRequestExpandItem": ".contacts_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ContactsListRequestExpand", "ContactsRetrieveRequestExpand"] +__all__ = ["ContactsListRequestExpandItem", "ContactsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py b/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py new file mode 100644 index 00000000..535fbae5 --- /dev/null +++ b/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + + def visit(self, account: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsListRequestExpandItem.ACCOUNT: + return account() + if self is ContactsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py new file mode 100644 index 00000000..bacd3801 --- /dev/null +++ b/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ContactsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + OWNER = "owner" + + def visit(self, account: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result]) -> T_Result: + if self is ContactsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is ContactsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/custom_object_classes/client.py b/src/merge/resources/crm/resources/custom_object_classes/client.py index 5d3f37c5..61294f5b 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/client.py +++ b/src/merge/resources/crm/resources/custom_object_classes/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.custom_object_class import CustomObjectClass -from ...types.paginated_custom_object_class_list import PaginatedCustomObjectClassList from .raw_client import AsyncRawCustomObjectClassesClient, RawCustomObjectClassesClient @@ -31,7 +31,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -40,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectClassList: + ) -> SyncPager[CustomObjectClass]: """ Returns a list of `CustomObjectClass` objects. @@ -55,7 +57,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -74,7 +76,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -84,7 +86,7 @@ def list( Returns ------- - PaginatedCustomObjectClassList + SyncPager[CustomObjectClass] Examples @@ -97,7 +99,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_object_classes.list( + response = client.crm.custom_object_classes.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -117,8 +119,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -132,13 +139,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -150,7 +158,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -212,7 +220,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -221,7 +231,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectClassList: + ) -> AsyncPager[CustomObjectClass]: """ Returns a list of `CustomObjectClass` objects. @@ -236,7 +246,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -255,7 +265,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -265,7 +275,7 @@ async def list( Returns ------- - PaginatedCustomObjectClassList + AsyncPager[CustomObjectClass] Examples @@ -282,7 +292,7 @@ async def list( async def main() -> None: - await client.crm.custom_object_classes.list( + response = await client.crm.custom_object_classes.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -302,11 +312,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -320,13 +336,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -338,7 +355,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/custom_object_classes/raw_client.py b/src/merge/resources/crm/resources/custom_object_classes/raw_client.py index 924a26db..d0248e62 100644 --- a/src/merge/resources/crm/resources/custom_object_classes/raw_client.py +++ b/src/merge/resources/crm/resources/custom_object_classes/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.custom_object_class import CustomObjectClass @@ -25,7 +26,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -34,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCustomObjectClassList]: + ) -> SyncPager[CustomObjectClass]: """ Returns a list of `CustomObjectClass` objects. @@ -49,7 +52,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -68,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -78,7 +81,7 @@ def list( Returns ------- - HttpResponse[PaginatedCustomObjectClassList] + SyncPager[CustomObjectClass] """ _response = self._client_wrapper.httpx_client.request( @@ -101,14 +104,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectClassList, construct_type( type_=PaginatedCustomObjectClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -118,7 +140,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -130,7 +154,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,7 +207,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -192,7 +218,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCustomObjectClassList]: + ) -> AsyncPager[CustomObjectClass]: """ Returns a list of `CustomObjectClass` objects. @@ -207,7 +233,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -226,7 +252,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -236,7 +262,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCustomObjectClassList] + AsyncPager[CustomObjectClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -259,14 +285,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectClassList, construct_type( type_=PaginatedCustomObjectClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -276,7 +324,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["fields"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -288,7 +338,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["fields"]] + expand : typing.Optional[typing.Union[typing.Literal["fields"], typing.Sequence[typing.Literal["fields"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/crm/resources/custom_objects/client.py b/src/merge/resources/crm/resources/custom_objects/client.py index f8fa3719..a5c01cfc 100644 --- a/src/merge/resources/crm/resources/custom_objects/client.py +++ b/src/merge/resources/crm/resources/custom_objects/client.py @@ -4,13 +4,13 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.crm_custom_object_response import CrmCustomObjectResponse from ...types.custom_object import CustomObject from ...types.custom_object_request import CustomObjectRequest from ...types.meta_response import MetaResponse -from ...types.paginated_custom_object_list import PaginatedCustomObjectList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawCustomObjectsClient, RawCustomObjectsClient # this is used as the default value for optional parameters @@ -48,7 +48,7 @@ def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectList: + ) -> SyncPager[CustomObject]: """ Returns a list of `CustomObject` objects. @@ -84,7 +84,7 @@ def custom_object_classes_custom_objects_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -94,7 +94,7 @@ def custom_object_classes_custom_objects_list( Returns ------- - PaginatedCustomObjectList + SyncPager[CustomObject] Examples @@ -107,7 +107,7 @@ def custom_object_classes_custom_objects_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_objects.custom_object_classes_custom_objects_list( + response = client.crm.custom_objects.custom_object_classes_custom_objects_list( custom_object_class_id="custom_object_class_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -129,8 +129,13 @@ def custom_object_classes_custom_objects_list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_list( + return self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -145,7 +150,6 @@ def custom_object_classes_custom_objects_list( remote_id=remote_id, request_options=request_options, ) - return _response.data def custom_object_classes_custom_objects_create( self, @@ -315,7 +319,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -343,14 +347,14 @@ def custom_object_classes_custom_objects_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -361,7 +365,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + response = client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -371,8 +375,13 @@ def custom_object_classes_custom_objects_remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + return self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -383,7 +392,6 @@ def custom_object_classes_custom_objects_remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncCustomObjectsClient: @@ -417,7 +425,7 @@ async def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCustomObjectList: + ) -> AsyncPager[CustomObject]: """ Returns a list of `CustomObject` objects. @@ -453,7 +461,7 @@ async def custom_object_classes_custom_objects_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -463,7 +471,7 @@ async def custom_object_classes_custom_objects_list( Returns ------- - PaginatedCustomObjectList + AsyncPager[CustomObject] Examples @@ -480,7 +488,7 @@ async def custom_object_classes_custom_objects_list( async def main() -> None: - await client.crm.custom_objects.custom_object_classes_custom_objects_list( + response = await client.crm.custom_objects.custom_object_classes_custom_objects_list( custom_object_class_id="custom_object_class_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -502,11 +510,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_list( + return await self._raw_client.custom_object_classes_custom_objects_list( custom_object_class_id, created_after=created_after, created_before=created_before, @@ -521,7 +535,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def custom_object_classes_custom_objects_create( self, @@ -715,7 +728,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -743,14 +756,14 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -766,7 +779,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( async def main() -> None: - await client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( + response = await client.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -776,11 +789,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( + return await self._raw_client.custom_object_classes_custom_objects_remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -791,4 +810,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/custom_objects/raw_client.py b/src/merge/resources/crm/resources/custom_objects/raw_client.py index 70f1855a..cd65e8da 100644 --- a/src/merge/resources/crm/resources/custom_objects/raw_client.py +++ b/src/merge/resources/crm/resources/custom_objects/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.crm_custom_object_response import CrmCustomObjectResponse @@ -17,6 +18,7 @@ from ...types.meta_response import MetaResponse from ...types.paginated_custom_object_list import PaginatedCustomObjectList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +44,7 @@ def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCustomObjectList]: + ) -> SyncPager[CustomObject]: """ Returns a list of `CustomObject` objects. @@ -78,7 +80,7 @@ def custom_object_classes_custom_objects_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -88,7 +90,7 @@ def custom_object_classes_custom_objects_list( Returns ------- - HttpResponse[PaginatedCustomObjectList] + SyncPager[CustomObject] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +113,34 @@ def custom_object_classes_custom_objects_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectList, construct_type( type_=PaginatedCustomObjectList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -298,7 +320,7 @@ def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -326,14 +348,14 @@ def custom_object_classes_custom_objects_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -353,14 +375,30 @@ def custom_object_classes_custom_objects_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.custom_object_classes_custom_objects_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -387,7 +425,7 @@ async def custom_object_classes_custom_objects_list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCustomObjectList]: + ) -> AsyncPager[CustomObject]: """ Returns a list of `CustomObject` objects. @@ -423,7 +461,7 @@ async def custom_object_classes_custom_objects_list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -433,7 +471,7 @@ async def custom_object_classes_custom_objects_list( Returns ------- - AsyncHttpResponse[PaginatedCustomObjectList] + AsyncPager[CustomObject] """ _response = await self._client_wrapper.httpx_client.request( @@ -456,14 +494,37 @@ async def custom_object_classes_custom_objects_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCustomObjectList, construct_type( type_=PaginatedCustomObjectList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_list( + custom_object_class_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -643,7 +704,7 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -671,14 +732,14 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -698,14 +759,33 @@ async def custom_object_classes_custom_objects_remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.custom_object_classes_custom_objects_remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagement_types/client.py b/src/merge/resources/crm/resources/engagement_types/client.py index dc5086d2..f40e0eda 100644 --- a/src/merge/resources/crm/resources/engagement_types/client.py +++ b/src/merge/resources/crm/resources/engagement_types/client.py @@ -4,10 +4,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.engagement_type import EngagementType -from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawEngagementTypesClient, RawEngagementTypesClient @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementTypeList: + ) -> SyncPager[EngagementType]: """ Returns a list of `EngagementType` objects. @@ -75,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -85,7 +85,7 @@ def list( Returns ------- - PaginatedEngagementTypeList + SyncPager[EngagementType] Examples @@ -98,7 +98,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagement_types.list( + response = client.crm.engagement_types.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -119,8 +119,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -134,7 +139,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -205,7 +209,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -233,14 +237,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -251,7 +255,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagement_types.remote_field_classes_list( + response = client.crm.engagement_types.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -261,8 +265,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -273,7 +282,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncEngagementTypesClient: @@ -306,7 +314,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementTypeList: + ) -> AsyncPager[EngagementType]: """ Returns a list of `EngagementType` objects. @@ -340,7 +348,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -350,7 +358,7 @@ async def list( Returns ------- - PaginatedEngagementTypeList + AsyncPager[EngagementType] Examples @@ -367,7 +375,7 @@ async def list( async def main() -> None: - await client.crm.engagement_types.list( + response = await client.crm.engagement_types.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -388,11 +396,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -406,7 +420,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -485,7 +498,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -513,14 +526,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -536,7 +549,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.engagement_types.remote_field_classes_list( + response = await client.crm.engagement_types.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -546,11 +559,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -561,4 +580,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/engagement_types/raw_client.py b/src/merge/resources/crm/resources/engagement_types/raw_client.py index fcb2bbf4..4deaf1e7 100644 --- a/src/merge/resources/crm/resources/engagement_types/raw_client.py +++ b/src/merge/resources/crm/resources/engagement_types/raw_client.py @@ -9,11 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.engagement_type import EngagementType from ...types.paginated_engagement_type_list import PaginatedEngagementTypeList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass class RawEngagementTypesClient: @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEngagementTypeList]: + ) -> SyncPager[EngagementType]: """ Returns a list of `EngagementType` objects. @@ -69,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -79,7 +81,7 @@ def list( Returns ------- - HttpResponse[PaginatedEngagementTypeList] + SyncPager[EngagementType] """ _response = self._client_wrapper.httpx_client.request( @@ -102,14 +104,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementTypeList, construct_type( type_=PaginatedEngagementTypeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -185,7 +206,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -213,14 +234,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -240,14 +261,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -273,7 +310,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEngagementTypeList]: + ) -> AsyncPager[EngagementType]: """ Returns a list of `EngagementType` objects. @@ -307,7 +344,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -317,7 +354,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEngagementTypeList] + AsyncPager[EngagementType] """ _response = await self._client_wrapper.httpx_client.request( @@ -340,14 +377,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementTypeList, construct_type( type_=PaginatedEngagementTypeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -423,7 +482,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -451,14 +510,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -478,14 +537,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagements/__init__.py b/src/merge/resources/crm/resources/engagements/__init__.py index 59e38f99..26d23f3e 100644 --- a/src/merge/resources/crm/resources/engagements/__init__.py +++ b/src/merge/resources/crm/resources/engagements/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EngagementsListRequestExpand, EngagementsRetrieveRequestExpand + from .types import EngagementsListRequestExpandItem, EngagementsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EngagementsListRequestExpand": ".types", - "EngagementsRetrieveRequestExpand": ".types", + "EngagementsListRequestExpandItem": ".types", + "EngagementsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand"] +__all__ = ["EngagementsListRequestExpandItem", "EngagementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/engagements/client.py b/src/merge/resources/crm/resources/engagements/client.py index 24baf967..c414c025 100644 --- a/src/merge/resources/crm/resources/engagements/client.py +++ b/src/merge/resources/crm/resources/engagements/client.py @@ -4,17 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.engagement import Engagement from ...types.engagement_request import EngagementRequest from ...types.engagement_response import EngagementResponse from ...types.meta_response import MetaResponse -from ...types.paginated_engagement_list import PaginatedEngagementList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_engagement_request import PatchedEngagementRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawEngagementsClient, RawEngagementsClient -from .types.engagements_list_request_expand import EngagementsListRequestExpand -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand +from .types.engagements_list_request_expand_item import EngagementsListRequestExpandItem +from .types.engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +55,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementList: + ) -> SyncPager[Engagement]: """ Returns a list of `Engagement` objects. @@ -68,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -90,7 +92,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -106,7 +108,7 @@ def list( Returns ------- - PaginatedEngagementList + SyncPager[Engagement] Examples @@ -114,15 +116,12 @@ def list( import datetime from merge import Merge - from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagements.list( + response = client.crm.engagements.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -130,7 +129,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -150,8 +148,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -168,7 +171,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def create( self, @@ -223,7 +225,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -236,7 +240,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -259,9 +263,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -269,7 +270,6 @@ def retrieve( ) client.crm.engagements.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -408,7 +408,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -436,14 +436,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -454,7 +454,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.engagements.remote_field_classes_list( + response = client.crm.engagements.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -464,8 +464,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -476,7 +481,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncEngagementsClient: @@ -500,7 +504,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -512,7 +518,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEngagementList: + ) -> AsyncPager[Engagement]: """ Returns a list of `Engagement` objects. @@ -527,7 +533,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -549,7 +555,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -565,7 +571,7 @@ async def list( Returns ------- - PaginatedEngagementList + AsyncPager[Engagement] Examples @@ -574,9 +580,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.crm.resources.engagements import ( - EngagementsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -585,7 +588,7 @@ async def list( async def main() -> None: - await client.crm.engagements.list( + response = await client.crm.engagements.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -593,7 +596,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=EngagementsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -613,11 +615,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -634,7 +642,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def create( self, @@ -697,7 +704,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -710,7 +719,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -735,9 +744,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.engagements import ( - EngagementsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -748,7 +754,6 @@ async def retrieve( async def main() -> None: await client.crm.engagements.retrieve( id="id", - expand=EngagementsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -916,7 +921,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -944,14 +949,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -967,7 +972,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.engagements.remote_field_classes_list( + response = await client.crm.engagements.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -977,11 +982,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -992,4 +1003,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/engagements/raw_client.py b/src/merge/resources/crm/resources/engagements/raw_client.py index 03107454..9db0403a 100644 --- a/src/merge/resources/crm/resources/engagements/raw_client.py +++ b/src/merge/resources/crm/resources/engagements/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.engagement import Engagement @@ -18,8 +19,9 @@ from ...types.paginated_engagement_list import PaginatedEngagementList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_engagement_request import PatchedEngagementRequest -from .types.engagements_list_request_expand import EngagementsListRequestExpand -from .types.engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.engagements_list_request_expand_item import EngagementsListRequestExpandItem +from .types.engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -47,7 +51,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEngagementList]: + ) -> SyncPager[Engagement]: """ Returns a list of `Engagement` objects. @@ -62,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -84,7 +88,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -100,7 +104,7 @@ def list( Returns ------- - HttpResponse[PaginatedEngagementList] + SyncPager[Engagement] """ _response = self._client_wrapper.httpx_client.request( @@ -126,14 +130,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementList, construct_type( type_=PaginatedEngagementList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -203,7 +229,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -216,7 +244,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -411,7 +439,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -439,14 +467,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -466,14 +494,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -490,7 +534,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[EngagementsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -502,7 +548,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEngagementList]: + ) -> AsyncPager[Engagement]: """ Returns a list of `Engagement` objects. @@ -517,7 +563,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[EngagementsListRequestExpand] + expand : typing.Optional[typing.Union[EngagementsListRequestExpandItem, typing.Sequence[EngagementsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -539,7 +585,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -555,7 +601,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEngagementList] + AsyncPager[Engagement] """ _response = await self._client_wrapper.httpx_client.request( @@ -581,14 +627,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEngagementList, construct_type( type_=PaginatedEngagementList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -658,7 +729,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EngagementsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -671,7 +744,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EngagementsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EngagementsRetrieveRequestExpandItem, typing.Sequence[EngagementsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -866,7 +939,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -894,14 +967,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -921,14 +994,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/engagements/types/__init__.py b/src/merge/resources/crm/resources/engagements/types/__init__.py index 186343d3..8bcded71 100644 --- a/src/merge/resources/crm/resources/engagements/types/__init__.py +++ b/src/merge/resources/crm/resources/engagements/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .engagements_list_request_expand import EngagementsListRequestExpand - from .engagements_retrieve_request_expand import EngagementsRetrieveRequestExpand + from .engagements_list_request_expand_item import EngagementsListRequestExpandItem + from .engagements_retrieve_request_expand_item import EngagementsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EngagementsListRequestExpand": ".engagements_list_request_expand", - "EngagementsRetrieveRequestExpand": ".engagements_retrieve_request_expand", + "EngagementsListRequestExpandItem": ".engagements_list_request_expand_item", + "EngagementsRetrieveRequestExpandItem": ".engagements_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EngagementsListRequestExpand", "EngagementsRetrieveRequestExpand"] +__all__ = ["EngagementsListRequestExpandItem", "EngagementsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py deleted file mode 100644 index 33ee98e3..00000000 --- a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EngagementsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ENGAGEMENT_TYPE = "account,engagement_type" - CONTACTS = "contacts" - CONTACTS_ACCOUNT = "contacts,account" - CONTACTS_ACCOUNT_ENGAGEMENT_TYPE = "contacts,account,engagement_type" - CONTACTS_ENGAGEMENT_TYPE = "contacts,engagement_type" - CONTACTS_OWNER = "contacts,owner" - CONTACTS_OWNER_ACCOUNT = "contacts,owner,account" - CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE = "contacts,owner,account,engagement_type" - CONTACTS_OWNER_ENGAGEMENT_TYPE = "contacts,owner,engagement_type" - ENGAGEMENT_TYPE = "engagement_type" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_ENGAGEMENT_TYPE = "owner,account,engagement_type" - OWNER_ENGAGEMENT_TYPE = "owner,engagement_type" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_engagement_type: typing.Callable[[], T_Result], - contacts: typing.Callable[[], T_Result], - contacts_account: typing.Callable[[], T_Result], - contacts_account_engagement_type: typing.Callable[[], T_Result], - contacts_engagement_type: typing.Callable[[], T_Result], - contacts_owner: typing.Callable[[], T_Result], - contacts_owner_account: typing.Callable[[], T_Result], - contacts_owner_account_engagement_type: typing.Callable[[], T_Result], - contacts_owner_engagement_type: typing.Callable[[], T_Result], - engagement_type: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_engagement_type: typing.Callable[[], T_Result], - owner_engagement_type: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EngagementsListRequestExpand.ACCOUNT: - return account() - if self is EngagementsListRequestExpand.ACCOUNT_ENGAGEMENT_TYPE: - return account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS: - return contacts() - if self is EngagementsListRequestExpand.CONTACTS_ACCOUNT: - return contacts_account() - if self is EngagementsListRequestExpand.CONTACTS_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_ENGAGEMENT_TYPE: - return contacts_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_OWNER: - return contacts_owner() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ACCOUNT: - return contacts_owner_account() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_owner_account_engagement_type() - if self is EngagementsListRequestExpand.CONTACTS_OWNER_ENGAGEMENT_TYPE: - return contacts_owner_engagement_type() - if self is EngagementsListRequestExpand.ENGAGEMENT_TYPE: - return engagement_type() - if self is EngagementsListRequestExpand.OWNER: - return owner() - if self is EngagementsListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is EngagementsListRequestExpand.OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return owner_account_engagement_type() - if self is EngagementsListRequestExpand.OWNER_ENGAGEMENT_TYPE: - return owner_engagement_type() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py new file mode 100644 index 00000000..436161b5 --- /dev/null +++ b/src/merge/resources/crm/resources/engagements/types/engagements_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EngagementsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACTS = "contacts" + ENGAGEMENT_TYPE = "engagement_type" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contacts: typing.Callable[[], T_Result], + engagement_type: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EngagementsListRequestExpandItem.ACCOUNT: + return account() + if self is EngagementsListRequestExpandItem.CONTACTS: + return contacts() + if self is EngagementsListRequestExpandItem.ENGAGEMENT_TYPE: + return engagement_type() + if self is EngagementsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py deleted file mode 100644 index 53b94d8c..00000000 --- a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EngagementsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_ENGAGEMENT_TYPE = "account,engagement_type" - CONTACTS = "contacts" - CONTACTS_ACCOUNT = "contacts,account" - CONTACTS_ACCOUNT_ENGAGEMENT_TYPE = "contacts,account,engagement_type" - CONTACTS_ENGAGEMENT_TYPE = "contacts,engagement_type" - CONTACTS_OWNER = "contacts,owner" - CONTACTS_OWNER_ACCOUNT = "contacts,owner,account" - CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE = "contacts,owner,account,engagement_type" - CONTACTS_OWNER_ENGAGEMENT_TYPE = "contacts,owner,engagement_type" - ENGAGEMENT_TYPE = "engagement_type" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_ENGAGEMENT_TYPE = "owner,account,engagement_type" - OWNER_ENGAGEMENT_TYPE = "owner,engagement_type" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_engagement_type: typing.Callable[[], T_Result], - contacts: typing.Callable[[], T_Result], - contacts_account: typing.Callable[[], T_Result], - contacts_account_engagement_type: typing.Callable[[], T_Result], - contacts_engagement_type: typing.Callable[[], T_Result], - contacts_owner: typing.Callable[[], T_Result], - contacts_owner_account: typing.Callable[[], T_Result], - contacts_owner_account_engagement_type: typing.Callable[[], T_Result], - contacts_owner_engagement_type: typing.Callable[[], T_Result], - engagement_type: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_engagement_type: typing.Callable[[], T_Result], - owner_engagement_type: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EngagementsRetrieveRequestExpand.ACCOUNT: - return account() - if self is EngagementsRetrieveRequestExpand.ACCOUNT_ENGAGEMENT_TYPE: - return account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS: - return contacts() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ACCOUNT: - return contacts_account() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_ENGAGEMENT_TYPE: - return contacts_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER: - return contacts_owner() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ACCOUNT: - return contacts_owner_account() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return contacts_owner_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.CONTACTS_OWNER_ENGAGEMENT_TYPE: - return contacts_owner_engagement_type() - if self is EngagementsRetrieveRequestExpand.ENGAGEMENT_TYPE: - return engagement_type() - if self is EngagementsRetrieveRequestExpand.OWNER: - return owner() - if self is EngagementsRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is EngagementsRetrieveRequestExpand.OWNER_ACCOUNT_ENGAGEMENT_TYPE: - return owner_account_engagement_type() - if self is EngagementsRetrieveRequestExpand.OWNER_ENGAGEMENT_TYPE: - return owner_engagement_type() diff --git a/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py new file mode 100644 index 00000000..1232f6e3 --- /dev/null +++ b/src/merge/resources/crm/resources/engagements/types/engagements_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EngagementsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACTS = "contacts" + ENGAGEMENT_TYPE = "engagement_type" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contacts: typing.Callable[[], T_Result], + engagement_type: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EngagementsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is EngagementsRetrieveRequestExpandItem.CONTACTS: + return contacts() + if self is EngagementsRetrieveRequestExpandItem.ENGAGEMENT_TYPE: + return engagement_type() + if self is EngagementsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/field_mapping/client.py b/src/merge/resources/crm/resources/field_mapping/client.py index 851e71cd..6dc22cea 100644 --- a/src/merge/resources/crm/resources/field_mapping/client.py +++ b/src/merge/resources/crm/resources/field_mapping/client.py @@ -78,6 +78,8 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -106,6 +108,12 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -124,6 +132,7 @@ def field_mappings_create( ) client.crm.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -140,6 +149,8 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -181,9 +192,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -193,6 +206,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -202,6 +218,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -220,13 +239,16 @@ def field_mappings_partial_update( ) client.crm.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -377,6 +399,8 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -405,6 +429,12 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -428,6 +458,7 @@ async def field_mappings_create( async def main() -> None: await client.crm.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -447,6 +478,8 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -496,9 +529,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -508,6 +543,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -517,6 +555,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -540,6 +581,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.crm.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -547,9 +589,11 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/crm/resources/field_mapping/raw_client.py b/src/merge/resources/crm/resources/field_mapping/raw_client.py index c540caec..0d5652ee 100644 --- a/src/merge/resources/crm/resources/field_mapping/raw_client.py +++ b/src/merge/resources/crm/resources/field_mapping/raw_client.py @@ -77,6 +77,8 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -105,6 +107,12 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -118,6 +126,7 @@ def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -126,6 +135,7 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -190,9 +200,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -202,6 +214,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -211,6 +226,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -222,10 +240,14 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"crm/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -394,6 +416,8 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -422,6 +446,12 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -435,6 +465,7 @@ async def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -443,6 +474,7 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -507,9 +539,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -519,6 +553,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -528,6 +565,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -539,10 +579,14 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"crm/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/crm/resources/issues/client.py b/src/merge/resources/crm/resources/issues/client.py index 2e460bd0..8efe92d8 100644 --- a/src/merge/resources/crm/resources/issues/client.py +++ b/src/merge/resources/crm/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -81,7 +81,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.issues.list( + response = client.crm.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -257,7 +261,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.crm.issues.list( + response = await client.crm.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/crm/resources/issues/raw_client.py b/src/merge/resources/crm/resources/issues/raw_client.py index dd161a06..c303a69b 100644 --- a/src/merge/resources/crm/resources/issues/raw_client.py +++ b/src/merge/resources/crm/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -234,7 +257,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/leads/__init__.py b/src/merge/resources/crm/resources/leads/__init__.py index 472e695d..d12cf119 100644 --- a/src/merge/resources/crm/resources/leads/__init__.py +++ b/src/merge/resources/crm/resources/leads/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import LeadsListRequestExpand, LeadsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"LeadsListRequestExpand": ".types", "LeadsRetrieveRequestExpand": ".types"} + from .types import LeadsListRequestExpandItem, LeadsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "LeadsListRequestExpandItem": ".types", + "LeadsRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LeadsListRequestExpand", "LeadsRetrieveRequestExpand"] +__all__ = ["LeadsListRequestExpandItem", "LeadsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/leads/client.py b/src/merge/resources/crm/resources/leads/client.py index 1ede9f02..3505a124 100644 --- a/src/merge/resources/crm/resources/leads/client.py +++ b/src/merge/resources/crm/resources/leads/client.py @@ -4,16 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.lead import Lead from ...types.lead_request import LeadRequest from ...types.lead_response import LeadResponse from ...types.meta_response import MetaResponse -from ...types.paginated_lead_list import PaginatedLeadList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawLeadsClient, RawLeadsClient -from .types.leads_list_request_expand import LeadsListRequestExpand -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand +from .types.leads_list_request_expand_item import LeadsListRequestExpandItem +from .types.leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -43,7 +43,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -55,7 +57,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLeadList: + ) -> SyncPager[Lead]: """ Returns a list of `Lead` objects. @@ -79,7 +81,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,7 +106,7 @@ def list( If provided, will only return leads with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -117,7 +119,7 @@ def list( Returns ------- - PaginatedLeadList + SyncPager[Lead] Examples @@ -125,13 +127,12 @@ def list( import datetime from merge import Merge - from merge.resources.crm.resources.leads import LeadsListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.leads.list( + response = client.crm.leads.list( converted_account_id="converted_account_id", converted_contact_id="converted_contact_id", created_after=datetime.datetime.fromisoformat( @@ -142,7 +143,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -158,8 +158,13 @@ def list( phone_numbers="phone_numbers", remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -179,7 +184,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -234,7 +238,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -247,7 +253,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -270,7 +276,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -278,7 +283,6 @@ def retrieve( ) client.crm.leads.retrieve( id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -333,7 +337,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -361,14 +365,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -379,7 +383,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.leads.remote_field_classes_list( + response = client.crm.leads.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -389,8 +393,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -401,7 +410,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncLeadsClient: @@ -428,7 +436,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -440,7 +450,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLeadList: + ) -> AsyncPager[Lead]: """ Returns a list of `Lead` objects. @@ -464,7 +474,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -489,7 +499,7 @@ async def list( If provided, will only return leads with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -502,7 +512,7 @@ async def list( Returns ------- - PaginatedLeadList + AsyncPager[Lead] Examples @@ -511,7 +521,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.crm.resources.leads import LeadsListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -520,7 +529,7 @@ async def list( async def main() -> None: - await client.crm.leads.list( + response = await client.crm.leads.list( converted_account_id="converted_account_id", converted_contact_id="converted_contact_id", created_after=datetime.datetime.fromisoformat( @@ -531,7 +540,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_addresses="email_addresses", - expand=LeadsListRequestExpand.CONVERTED_ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -547,11 +555,17 @@ async def main() -> None: phone_numbers="phone_numbers", remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( converted_account_id=converted_account_id, converted_contact_id=converted_contact_id, created_after=created_after, @@ -571,7 +585,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -634,7 +647,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -647,7 +662,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -672,7 +687,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.leads import LeadsRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -683,7 +697,6 @@ async def retrieve( async def main() -> None: await client.crm.leads.retrieve( id="id", - expand=LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -749,7 +762,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -777,14 +790,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -800,7 +813,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.leads.remote_field_classes_list( + response = await client.crm.leads.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -810,11 +823,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -825,4 +844,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/leads/raw_client.py b/src/merge/resources/crm/resources/leads/raw_client.py index 8779c5d2..c6f456d8 100644 --- a/src/merge/resources/crm/resources/leads/raw_client.py +++ b/src/merge/resources/crm/resources/leads/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.lead import Lead @@ -17,8 +18,9 @@ from ...types.meta_response import MetaResponse from ...types.paginated_lead_list import PaginatedLeadList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.leads_list_request_expand import LeadsListRequestExpand -from .types.leads_retrieve_request_expand import LeadsRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.leads_list_request_expand_item import LeadsListRequestExpandItem +from .types.leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +39,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -49,7 +53,7 @@ def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedLeadList]: + ) -> SyncPager[Lead]: """ Returns a list of `Lead` objects. @@ -73,7 +77,7 @@ def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -98,7 +102,7 @@ def list( If provided, will only return leads with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -111,7 +115,7 @@ def list( Returns ------- - HttpResponse[PaginatedLeadList] + SyncPager[Lead] """ _response = self._client_wrapper.httpx_client.request( @@ -140,14 +144,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLeadList, construct_type( type_=PaginatedLeadList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + converted_account_id=converted_account_id, + converted_contact_id=converted_contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,7 +246,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,7 +261,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -324,7 +355,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -352,14 +383,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -379,14 +410,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -406,7 +453,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_addresses: typing.Optional[str] = None, - expand: typing.Optional[LeadsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -418,7 +467,7 @@ async def list( phone_numbers: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedLeadList]: + ) -> AsyncPager[Lead]: """ Returns a list of `Lead` objects. @@ -442,7 +491,7 @@ async def list( email_addresses : typing.Optional[str] If provided, will only return contacts matching the email addresses; multiple email_addresses can be separated by commas. - expand : typing.Optional[LeadsListRequestExpand] + expand : typing.Optional[typing.Union[LeadsListRequestExpandItem, typing.Sequence[LeadsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -467,7 +516,7 @@ async def list( If provided, will only return leads with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. phone_numbers : typing.Optional[str] If provided, will only return contacts matching the phone numbers; multiple phone numbers can be separated by commas. @@ -480,7 +529,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedLeadList] + AsyncPager[Lead] """ _response = await self._client_wrapper.httpx_client.request( @@ -509,14 +558,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLeadList, construct_type( type_=PaginatedLeadList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + converted_account_id=converted_account_id, + converted_contact_id=converted_contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_addresses=email_addresses, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + phone_numbers=phone_numbers, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -586,7 +663,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[LeadsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -599,7 +678,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[LeadsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[LeadsRetrieveRequestExpandItem, typing.Sequence[LeadsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -693,7 +772,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -721,14 +800,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -748,14 +827,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/leads/types/__init__.py b/src/merge/resources/crm/resources/leads/types/__init__.py index e2f7e079..d3af6e19 100644 --- a/src/merge/resources/crm/resources/leads/types/__init__.py +++ b/src/merge/resources/crm/resources/leads/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .leads_list_request_expand import LeadsListRequestExpand - from .leads_retrieve_request_expand import LeadsRetrieveRequestExpand + from .leads_list_request_expand_item import LeadsListRequestExpandItem + from .leads_retrieve_request_expand_item import LeadsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "LeadsListRequestExpand": ".leads_list_request_expand", - "LeadsRetrieveRequestExpand": ".leads_retrieve_request_expand", + "LeadsListRequestExpandItem": ".leads_list_request_expand_item", + "LeadsRetrieveRequestExpandItem": ".leads_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["LeadsListRequestExpand", "LeadsRetrieveRequestExpand"] +__all__ = ["LeadsListRequestExpandItem", "LeadsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py deleted file mode 100644 index b563b107..00000000 --- a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LeadsListRequestExpand(str, enum.Enum): - CONVERTED_ACCOUNT = "converted_account" - CONVERTED_CONTACT = "converted_contact" - CONVERTED_CONTACT_CONVERTED_ACCOUNT = "converted_contact,converted_account" - OWNER = "owner" - OWNER_CONVERTED_ACCOUNT = "owner,converted_account" - OWNER_CONVERTED_CONTACT = "owner,converted_contact" - OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT = "owner,converted_contact,converted_account" - - def visit( - self, - converted_account: typing.Callable[[], T_Result], - converted_contact: typing.Callable[[], T_Result], - converted_contact_converted_account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_converted_account: typing.Callable[[], T_Result], - owner_converted_contact: typing.Callable[[], T_Result], - owner_converted_contact_converted_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LeadsListRequestExpand.CONVERTED_ACCOUNT: - return converted_account() - if self is LeadsListRequestExpand.CONVERTED_CONTACT: - return converted_contact() - if self is LeadsListRequestExpand.CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return converted_contact_converted_account() - if self is LeadsListRequestExpand.OWNER: - return owner() - if self is LeadsListRequestExpand.OWNER_CONVERTED_ACCOUNT: - return owner_converted_account() - if self is LeadsListRequestExpand.OWNER_CONVERTED_CONTACT: - return owner_converted_contact() - if self is LeadsListRequestExpand.OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return owner_converted_contact_converted_account() diff --git a/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py new file mode 100644 index 00000000..386fe5db --- /dev/null +++ b/src/merge/resources/crm/resources/leads/types/leads_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class LeadsListRequestExpandItem(str, enum.Enum): + CONVERTED_ACCOUNT = "converted_account" + CONVERTED_CONTACT = "converted_contact" + OWNER = "owner" + + def visit( + self, + converted_account: typing.Callable[[], T_Result], + converted_contact: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is LeadsListRequestExpandItem.CONVERTED_ACCOUNT: + return converted_account() + if self is LeadsListRequestExpandItem.CONVERTED_CONTACT: + return converted_contact() + if self is LeadsListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py deleted file mode 100644 index 08f9bd3f..00000000 --- a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LeadsRetrieveRequestExpand(str, enum.Enum): - CONVERTED_ACCOUNT = "converted_account" - CONVERTED_CONTACT = "converted_contact" - CONVERTED_CONTACT_CONVERTED_ACCOUNT = "converted_contact,converted_account" - OWNER = "owner" - OWNER_CONVERTED_ACCOUNT = "owner,converted_account" - OWNER_CONVERTED_CONTACT = "owner,converted_contact" - OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT = "owner,converted_contact,converted_account" - - def visit( - self, - converted_account: typing.Callable[[], T_Result], - converted_contact: typing.Callable[[], T_Result], - converted_contact_converted_account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_converted_account: typing.Callable[[], T_Result], - owner_converted_contact: typing.Callable[[], T_Result], - owner_converted_contact_converted_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LeadsRetrieveRequestExpand.CONVERTED_ACCOUNT: - return converted_account() - if self is LeadsRetrieveRequestExpand.CONVERTED_CONTACT: - return converted_contact() - if self is LeadsRetrieveRequestExpand.CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return converted_contact_converted_account() - if self is LeadsRetrieveRequestExpand.OWNER: - return owner() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_ACCOUNT: - return owner_converted_account() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_CONTACT: - return owner_converted_contact() - if self is LeadsRetrieveRequestExpand.OWNER_CONVERTED_CONTACT_CONVERTED_ACCOUNT: - return owner_converted_contact_converted_account() diff --git a/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py new file mode 100644 index 00000000..19c71587 --- /dev/null +++ b/src/merge/resources/crm/resources/leads/types/leads_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class LeadsRetrieveRequestExpandItem(str, enum.Enum): + CONVERTED_ACCOUNT = "converted_account" + CONVERTED_CONTACT = "converted_contact" + OWNER = "owner" + + def visit( + self, + converted_account: typing.Callable[[], T_Result], + converted_contact: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is LeadsRetrieveRequestExpandItem.CONVERTED_ACCOUNT: + return converted_account() + if self is LeadsRetrieveRequestExpandItem.CONVERTED_CONTACT: + return converted_contact() + if self is LeadsRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/link_token/client.py b/src/merge/resources/crm/resources/link_token/client.py index 8a8e4a5c..92a78722 100644 --- a/src/merge/resources/crm/resources/link_token/client.py +++ b/src/merge/resources/crm/resources/link_token/client.py @@ -51,7 +51,7 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -176,7 +176,7 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- diff --git a/src/merge/resources/crm/resources/link_token/raw_client.py b/src/merge/resources/crm/resources/link_token/raw_client.py index ad9b7802..0c829e1d 100644 --- a/src/merge/resources/crm/resources/link_token/raw_client.py +++ b/src/merge/resources/crm/resources/link_token/raw_client.py @@ -43,7 +43,7 @@ def create( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -162,7 +162,7 @@ async def create( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- diff --git a/src/merge/resources/crm/resources/linked_accounts/client.py b/src/merge/resources/crm/resources/linked_accounts/client.py index 7587420a..a6b92a81 100644 --- a/src/merge/resources/crm/resources/linked_accounts/client.py +++ b/src/merge/resources/crm/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -88,7 +89,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,7 +99,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.linked_accounts.list( + response = client.crm.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +128,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +150,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +184,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -226,7 +231,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +241,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +260,7 @@ async def list( async def main() -> None: - await client.crm.linked_accounts.list( + response = await client.crm.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +275,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +301,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/linked_accounts/raw_client.py b/src/merge/resources/crm/resources/linked_accounts/raw_client.py index 173c2dcd..81d2c8a0 100644 --- a/src/merge/resources/crm/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/crm/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -80,7 +81,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +172,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -197,7 +219,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +229,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +254,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/notes/__init__.py b/src/merge/resources/crm/resources/notes/__init__.py index adc441a0..00283fd0 100644 --- a/src/merge/resources/crm/resources/notes/__init__.py +++ b/src/merge/resources/crm/resources/notes/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import NotesListRequestExpand, NotesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"NotesListRequestExpand": ".types", "NotesRetrieveRequestExpand": ".types"} + from .types import NotesListRequestExpandItem, NotesRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "NotesListRequestExpandItem": ".types", + "NotesRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["NotesListRequestExpand", "NotesRetrieveRequestExpand"] +__all__ = ["NotesListRequestExpandItem", "NotesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/notes/client.py b/src/merge/resources/crm/resources/notes/client.py index 171e94d2..b98be66b 100644 --- a/src/merge/resources/crm/resources/notes/client.py +++ b/src/merge/resources/crm/resources/notes/client.py @@ -4,16 +4,16 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.note import Note from ...types.note_request import NoteRequest from ...types.note_response import NoteResponse -from ...types.paginated_note_list import PaginatedNoteList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawNotesClient, RawNotesClient -from .types.notes_list_request_expand import NotesListRequestExpand -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand +from .types.notes_list_request_expand_item import NotesListRequestExpandItem +from .types.notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -42,7 +42,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -54,7 +56,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedNoteList: + ) -> SyncPager[Note]: """ Returns a list of `Note` objects. @@ -75,7 +77,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -103,7 +105,7 @@ def list( If provided, will only return notes with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -113,7 +115,7 @@ def list( Returns ------- - PaginatedNoteList + SyncPager[Note] Examples @@ -121,13 +123,12 @@ def list( import datetime from merge import Merge - from merge.resources.crm.resources.notes import NotesListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.notes.list( + response = client.crm.notes.list( account_id="account_id", contact_id="contact_id", created_after=datetime.datetime.fromisoformat( @@ -137,7 +138,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -153,8 +153,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -173,7 +178,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -228,7 +232,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -241,7 +247,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -264,7 +270,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -272,7 +277,6 @@ def retrieve( ) client.crm.notes.retrieve( id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -327,7 +331,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -355,14 +359,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -373,7 +377,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.notes.remote_field_classes_list( + response = client.crm.notes.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -383,8 +387,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -395,7 +404,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncNotesClient: @@ -421,7 +429,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -433,7 +443,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedNoteList: + ) -> AsyncPager[Note]: """ Returns a list of `Note` objects. @@ -454,7 +464,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -482,7 +492,7 @@ async def list( If provided, will only return notes with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -492,7 +502,7 @@ async def list( Returns ------- - PaginatedNoteList + AsyncPager[Note] Examples @@ -501,7 +511,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.crm.resources.notes import NotesListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -510,7 +519,7 @@ async def list( async def main() -> None: - await client.crm.notes.list( + response = await client.crm.notes.list( account_id="account_id", contact_id="contact_id", created_after=datetime.datetime.fromisoformat( @@ -520,7 +529,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=NotesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -536,11 +544,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, contact_id=contact_id, created_after=created_after, @@ -559,7 +573,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -622,7 +635,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -635,7 +650,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -660,7 +675,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.notes import NotesRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -671,7 +685,6 @@ async def retrieve( async def main() -> None: await client.crm.notes.retrieve( id="id", - expand=NotesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -737,7 +750,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -765,14 +778,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -788,7 +801,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.notes.remote_field_classes_list( + response = await client.crm.notes.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -798,11 +811,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -813,4 +832,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/notes/raw_client.py b/src/merge/resources/crm/resources/notes/raw_client.py index 9b95ef38..1c8ab7a7 100644 --- a/src/merge/resources/crm/resources/notes/raw_client.py +++ b/src/merge/resources/crm/resources/notes/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -17,8 +18,9 @@ from ...types.note_response import NoteResponse from ...types.paginated_note_list import PaginatedNoteList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from .types.notes_list_request_expand import NotesListRequestExpand -from .types.notes_retrieve_request_expand import NotesRetrieveRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.notes_list_request_expand_item import NotesListRequestExpandItem +from .types.notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -36,7 +38,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -48,7 +52,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedNoteList]: + ) -> SyncPager[Note]: """ Returns a list of `Note` objects. @@ -69,7 +73,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -97,7 +101,7 @@ def list( If provided, will only return notes with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -107,7 +111,7 @@ def list( Returns ------- - HttpResponse[PaginatedNoteList] + SyncPager[Note] """ _response = self._client_wrapper.httpx_client.request( @@ -135,14 +139,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedNoteList, construct_type( type_=PaginatedNoteList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + opportunity_id=opportunity_id, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -212,7 +240,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -225,7 +255,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -319,7 +349,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -347,14 +377,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -374,14 +404,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -400,7 +446,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[NotesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -412,7 +460,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedNoteList]: + ) -> AsyncPager[Note]: """ Returns a list of `Note` objects. @@ -433,7 +481,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[NotesListRequestExpand] + expand : typing.Optional[typing.Union[NotesListRequestExpandItem, typing.Sequence[NotesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -461,7 +509,7 @@ async def list( If provided, will only return notes with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -471,7 +519,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedNoteList] + AsyncPager[Note] """ _response = await self._client_wrapper.httpx_client.request( @@ -499,14 +547,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedNoteList, construct_type( type_=PaginatedNoteList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + opportunity_id=opportunity_id, + owner_id=owner_id, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -576,7 +651,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[NotesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -589,7 +666,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[NotesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[NotesRetrieveRequestExpandItem, typing.Sequence[NotesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -683,7 +760,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -711,14 +788,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -738,14 +815,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/notes/types/__init__.py b/src/merge/resources/crm/resources/notes/types/__init__.py index 7099c9bd..ccddadf7 100644 --- a/src/merge/resources/crm/resources/notes/types/__init__.py +++ b/src/merge/resources/crm/resources/notes/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .notes_list_request_expand import NotesListRequestExpand - from .notes_retrieve_request_expand import NotesRetrieveRequestExpand + from .notes_list_request_expand_item import NotesListRequestExpandItem + from .notes_retrieve_request_expand_item import NotesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "NotesListRequestExpand": ".notes_list_request_expand", - "NotesRetrieveRequestExpand": ".notes_retrieve_request_expand", + "NotesListRequestExpandItem": ".notes_list_request_expand_item", + "NotesRetrieveRequestExpandItem": ".notes_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["NotesListRequestExpand", "NotesRetrieveRequestExpand"] +__all__ = ["NotesListRequestExpandItem", "NotesRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py deleted file mode 100644 index 6ba7625f..00000000 --- a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class NotesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_OPPORTUNITY = "contact,account,opportunity" - CONTACT_OPPORTUNITY = "contact,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_CONTACT = "owner,contact" - OWNER_CONTACT_ACCOUNT = "owner,contact,account" - OWNER_CONTACT_ACCOUNT_OPPORTUNITY = "owner,contact,account,opportunity" - OWNER_CONTACT_OPPORTUNITY = "owner,contact,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_opportunity: typing.Callable[[], T_Result], - contact_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_contact: typing.Callable[[], T_Result], - owner_contact_account: typing.Callable[[], T_Result], - owner_contact_account_opportunity: typing.Callable[[], T_Result], - owner_contact_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is NotesListRequestExpand.ACCOUNT: - return account() - if self is NotesListRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is NotesListRequestExpand.CONTACT: - return contact() - if self is NotesListRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is NotesListRequestExpand.CONTACT_ACCOUNT_OPPORTUNITY: - return contact_account_opportunity() - if self is NotesListRequestExpand.CONTACT_OPPORTUNITY: - return contact_opportunity() - if self is NotesListRequestExpand.OPPORTUNITY: - return opportunity() - if self is NotesListRequestExpand.OWNER: - return owner() - if self is NotesListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is NotesListRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is NotesListRequestExpand.OWNER_CONTACT: - return owner_contact() - if self is NotesListRequestExpand.OWNER_CONTACT_ACCOUNT: - return owner_contact_account() - if self is NotesListRequestExpand.OWNER_CONTACT_ACCOUNT_OPPORTUNITY: - return owner_contact_account_opportunity() - if self is NotesListRequestExpand.OWNER_CONTACT_OPPORTUNITY: - return owner_contact_opportunity() - if self is NotesListRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py new file mode 100644 index 00000000..b062d7bf --- /dev/null +++ b/src/merge/resources/crm/resources/notes/types/notes_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class NotesListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is NotesListRequestExpandItem.ACCOUNT: + return account() + if self is NotesListRequestExpandItem.CONTACT: + return contact() + if self is NotesListRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is NotesListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py deleted file mode 100644 index a9e9b3d4..00000000 --- a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand.py +++ /dev/null @@ -1,73 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class NotesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - CONTACT = "contact" - CONTACT_ACCOUNT = "contact,account" - CONTACT_ACCOUNT_OPPORTUNITY = "contact,account,opportunity" - CONTACT_OPPORTUNITY = "contact,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_CONTACT = "owner,contact" - OWNER_CONTACT_ACCOUNT = "owner,contact,account" - OWNER_CONTACT_ACCOUNT_OPPORTUNITY = "owner,contact,account,opportunity" - OWNER_CONTACT_OPPORTUNITY = "owner,contact,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_account: typing.Callable[[], T_Result], - contact_account_opportunity: typing.Callable[[], T_Result], - contact_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_contact: typing.Callable[[], T_Result], - owner_contact_account: typing.Callable[[], T_Result], - owner_contact_account_opportunity: typing.Callable[[], T_Result], - owner_contact_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is NotesRetrieveRequestExpand.ACCOUNT: - return account() - if self is NotesRetrieveRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is NotesRetrieveRequestExpand.CONTACT: - return contact() - if self is NotesRetrieveRequestExpand.CONTACT_ACCOUNT: - return contact_account() - if self is NotesRetrieveRequestExpand.CONTACT_ACCOUNT_OPPORTUNITY: - return contact_account_opportunity() - if self is NotesRetrieveRequestExpand.CONTACT_OPPORTUNITY: - return contact_opportunity() - if self is NotesRetrieveRequestExpand.OPPORTUNITY: - return opportunity() - if self is NotesRetrieveRequestExpand.OWNER: - return owner() - if self is NotesRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is NotesRetrieveRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT: - return owner_contact() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_ACCOUNT: - return owner_contact_account() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_ACCOUNT_OPPORTUNITY: - return owner_contact_account_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_CONTACT_OPPORTUNITY: - return owner_contact_opportunity() - if self is NotesRetrieveRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py new file mode 100644 index 00000000..3680c443 --- /dev/null +++ b/src/merge/resources/crm/resources/notes/types/notes_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class NotesRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is NotesRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is NotesRetrieveRequestExpandItem.CONTACT: + return contact() + if self is NotesRetrieveRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is NotesRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/opportunities/__init__.py b/src/merge/resources/crm/resources/opportunities/__init__.py index 09e2332d..2768275c 100644 --- a/src/merge/resources/crm/resources/opportunities/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/__init__.py @@ -7,14 +7,14 @@ if typing.TYPE_CHECKING: from .types import ( - OpportunitiesListRequestExpand, + OpportunitiesListRequestExpandItem, OpportunitiesListRequestStatus, - OpportunitiesRetrieveRequestExpand, + OpportunitiesRetrieveRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "OpportunitiesListRequestExpand": ".types", + "OpportunitiesListRequestExpandItem": ".types", "OpportunitiesListRequestStatus": ".types", - "OpportunitiesRetrieveRequestExpand": ".types", + "OpportunitiesRetrieveRequestExpandItem": ".types", } @@ -37,4 +37,8 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OpportunitiesListRequestExpand", "OpportunitiesListRequestStatus", "OpportunitiesRetrieveRequestExpand"] +__all__ = [ + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestStatus", + "OpportunitiesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/crm/resources/opportunities/client.py b/src/merge/resources/crm/resources/opportunities/client.py index 198ce722..5dfc18d1 100644 --- a/src/merge/resources/crm/resources/opportunities/client.py +++ b/src/merge/resources/crm/resources/opportunities/client.py @@ -4,18 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse from ...types.opportunity import Opportunity from ...types.opportunity_request import OpportunityRequest from ...types.opportunity_response import OpportunityResponse -from ...types.paginated_opportunity_list import PaginatedOpportunityList -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_opportunity_request import PatchedOpportunityRequest +from ...types.remote_field_class import RemoteFieldClass from .raw_client import AsyncRawOpportunitiesClient, RawOpportunitiesClient -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from .types.opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem from .types.opportunities_list_request_status import OpportunitiesListRequestStatus -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand +from .types.opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -43,7 +43,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -59,7 +61,7 @@ def list( stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOpportunityList: + ) -> SyncPager[Opportunity]: """ Returns a list of `Opportunity` objects. @@ -77,7 +79,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -102,7 +104,7 @@ def list( If provided, will only return opportunities with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. @@ -131,7 +133,7 @@ def list( Returns ------- - PaginatedOpportunityList + SyncPager[Opportunity] Examples @@ -140,7 +142,6 @@ def list( from merge import Merge from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, OpportunitiesListRequestStatus, ) @@ -148,7 +149,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.opportunities.list( + response = client.crm.opportunities.list( account_id="account_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -157,7 +158,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -177,8 +177,13 @@ def list( stage_id="stage_id", status=OpportunitiesListRequestStatus.LOST, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -200,7 +205,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -255,7 +259,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -270,7 +278,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -299,9 +307,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,7 +314,6 @@ def retrieve( ) client.crm.opportunities.retrieve( id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -450,7 +454,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -478,14 +482,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -496,7 +500,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.opportunities.remote_field_classes_list( + response = client.crm.opportunities.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -506,8 +510,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -518,7 +527,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncOpportunitiesClient: @@ -543,7 +551,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -559,7 +569,7 @@ async def list( stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedOpportunityList: + ) -> AsyncPager[Opportunity]: """ Returns a list of `Opportunity` objects. @@ -577,7 +587,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -602,7 +612,7 @@ async def list( If provided, will only return opportunities with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. @@ -631,7 +641,7 @@ async def list( Returns ------- - PaginatedOpportunityList + AsyncPager[Opportunity] Examples @@ -641,7 +651,6 @@ async def list( from merge import AsyncMerge from merge.resources.crm.resources.opportunities import ( - OpportunitiesListRequestExpand, OpportunitiesListRequestStatus, ) @@ -652,7 +661,7 @@ async def list( async def main() -> None: - await client.crm.opportunities.list( + response = await client.crm.opportunities.list( account_id="account_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -661,7 +670,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=OpportunitiesListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -681,11 +689,17 @@ async def main() -> None: stage_id="stage_id", status=OpportunitiesListRequestStatus.LOST, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, created_after=created_after, created_before=created_before, @@ -707,7 +721,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -770,7 +783,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -785,7 +802,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -816,9 +833,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.opportunities import ( - OpportunitiesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -829,7 +843,6 @@ async def retrieve( async def main() -> None: await client.crm.opportunities.retrieve( id="id", - expand=OpportunitiesRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -999,7 +1012,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1027,14 +1040,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1050,7 +1063,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.opportunities.remote_field_classes_list( + response = await client.crm.opportunities.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -1060,11 +1073,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -1075,4 +1094,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/opportunities/raw_client.py b/src/merge/resources/crm/resources/opportunities/raw_client.py index 89416b47..9f954ab7 100644 --- a/src/merge/resources/crm/resources/opportunities/raw_client.py +++ b/src/merge/resources/crm/resources/opportunities/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -18,9 +19,10 @@ from ...types.paginated_opportunity_list import PaginatedOpportunityList from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.patched_opportunity_request import PatchedOpportunityRequest -from .types.opportunities_list_request_expand import OpportunitiesListRequestExpand +from ...types.remote_field_class import RemoteFieldClass +from .types.opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem from .types.opportunities_list_request_status import OpportunitiesListRequestStatus -from .types.opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand +from .types.opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -53,7 +57,7 @@ def list( stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedOpportunityList]: + ) -> SyncPager[Opportunity]: """ Returns a list of `Opportunity` objects. @@ -71,7 +75,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -96,7 +100,7 @@ def list( If provided, will only return opportunities with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. @@ -125,7 +129,7 @@ def list( Returns ------- - HttpResponse[PaginatedOpportunityList] + SyncPager[Opportunity] """ _response = self._client_wrapper.httpx_client.request( @@ -158,14 +162,41 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOpportunityList, construct_type( type_=PaginatedOpportunityList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + remote_created_after=remote_created_after, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + stage_id=stage_id, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -235,7 +266,11 @@ def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -250,7 +285,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -453,7 +488,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -481,14 +516,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -508,14 +543,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -533,7 +584,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[OpportunitiesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -549,7 +602,7 @@ async def list( stage_id: typing.Optional[str] = None, status: typing.Optional[OpportunitiesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedOpportunityList]: + ) -> AsyncPager[Opportunity]: """ Returns a list of `Opportunity` objects. @@ -567,7 +620,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[OpportunitiesListRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesListRequestExpandItem, typing.Sequence[OpportunitiesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -592,7 +645,7 @@ async def list( If provided, will only return opportunities with this owner. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return opportunities created in the third party platform after this datetime. @@ -621,7 +674,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedOpportunityList] + AsyncPager[Opportunity] """ _response = await self._client_wrapper.httpx_client.request( @@ -654,14 +707,44 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedOpportunityList, construct_type( type_=PaginatedOpportunityList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + owner_id=owner_id, + page_size=page_size, + remote_created_after=remote_created_after, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + stage_id=stage_id, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -731,7 +814,11 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[OpportunitiesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem] + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -746,7 +833,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[OpportunitiesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[OpportunitiesRetrieveRequestExpandItem, typing.Sequence[OpportunitiesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -949,7 +1036,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -977,14 +1064,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1004,14 +1091,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/opportunities/types/__init__.py b/src/merge/resources/crm/resources/opportunities/types/__init__.py index d5d1d8dc..1de02ea6 100644 --- a/src/merge/resources/crm/resources/opportunities/types/__init__.py +++ b/src/merge/resources/crm/resources/opportunities/types/__init__.py @@ -6,13 +6,13 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .opportunities_list_request_expand import OpportunitiesListRequestExpand + from .opportunities_list_request_expand_item import OpportunitiesListRequestExpandItem from .opportunities_list_request_status import OpportunitiesListRequestStatus - from .opportunities_retrieve_request_expand import OpportunitiesRetrieveRequestExpand + from .opportunities_retrieve_request_expand_item import OpportunitiesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "OpportunitiesListRequestExpand": ".opportunities_list_request_expand", + "OpportunitiesListRequestExpandItem": ".opportunities_list_request_expand_item", "OpportunitiesListRequestStatus": ".opportunities_list_request_status", - "OpportunitiesRetrieveRequestExpand": ".opportunities_retrieve_request_expand", + "OpportunitiesRetrieveRequestExpandItem": ".opportunities_retrieve_request_expand_item", } @@ -35,4 +35,8 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["OpportunitiesListRequestExpand", "OpportunitiesListRequestStatus", "OpportunitiesRetrieveRequestExpand"] +__all__ = [ + "OpportunitiesListRequestExpandItem", + "OpportunitiesListRequestStatus", + "OpportunitiesRetrieveRequestExpandItem", +] diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py deleted file mode 100644 index 04f0a2ee..00000000 --- a/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OpportunitiesListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_STAGE = "owner,stage" - OWNER_STAGE_ACCOUNT = "owner,stage,account" - STAGE = "stage" - STAGE_ACCOUNT = "stage,account" - - def visit( - self, - account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_stage: typing.Callable[[], T_Result], - owner_stage_account: typing.Callable[[], T_Result], - stage: typing.Callable[[], T_Result], - stage_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OpportunitiesListRequestExpand.ACCOUNT: - return account() - if self is OpportunitiesListRequestExpand.OWNER: - return owner() - if self is OpportunitiesListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is OpportunitiesListRequestExpand.OWNER_STAGE: - return owner_stage() - if self is OpportunitiesListRequestExpand.OWNER_STAGE_ACCOUNT: - return owner_stage_account() - if self is OpportunitiesListRequestExpand.STAGE: - return stage() - if self is OpportunitiesListRequestExpand.STAGE_ACCOUNT: - return stage_account() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py similarity index 52% rename from src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py rename to src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py index 628c8157..f8c1e8ce 100644 --- a/src/merge/resources/crm/resources/contacts/types/contacts_list_request_expand.py +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_list_request_expand_item.py @@ -6,20 +6,20 @@ T_Result = typing.TypeVar("T_Result") -class ContactsListRequestExpand(str, enum.Enum): +class OpportunitiesListRequestExpandItem(str, enum.Enum): ACCOUNT = "account" - ACCOUNT_OWNER = "account,owner" OWNER = "owner" + STAGE = "stage" def visit( self, account: typing.Callable[[], T_Result], - account_owner: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result], + stage: typing.Callable[[], T_Result], ) -> T_Result: - if self is ContactsListRequestExpand.ACCOUNT: + if self is OpportunitiesListRequestExpandItem.ACCOUNT: return account() - if self is ContactsListRequestExpand.ACCOUNT_OWNER: - return account_owner() - if self is ContactsListRequestExpand.OWNER: + if self is OpportunitiesListRequestExpandItem.OWNER: return owner() + if self is OpportunitiesListRequestExpandItem.STAGE: + return stage() diff --git a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py deleted file mode 100644 index 8bf0a512..00000000 --- a/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class OpportunitiesRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_STAGE = "owner,stage" - OWNER_STAGE_ACCOUNT = "owner,stage,account" - STAGE = "stage" - STAGE_ACCOUNT = "stage,account" - - def visit( - self, - account: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_stage: typing.Callable[[], T_Result], - owner_stage_account: typing.Callable[[], T_Result], - stage: typing.Callable[[], T_Result], - stage_account: typing.Callable[[], T_Result], - ) -> T_Result: - if self is OpportunitiesRetrieveRequestExpand.ACCOUNT: - return account() - if self is OpportunitiesRetrieveRequestExpand.OWNER: - return owner() - if self is OpportunitiesRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is OpportunitiesRetrieveRequestExpand.OWNER_STAGE: - return owner_stage() - if self is OpportunitiesRetrieveRequestExpand.OWNER_STAGE_ACCOUNT: - return owner_stage_account() - if self is OpportunitiesRetrieveRequestExpand.STAGE: - return stage() - if self is OpportunitiesRetrieveRequestExpand.STAGE_ACCOUNT: - return stage_account() diff --git a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py similarity index 51% rename from src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py rename to src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py index f9251068..68e8adfa 100644 --- a/src/merge/resources/crm/resources/contacts/types/contacts_retrieve_request_expand.py +++ b/src/merge/resources/crm/resources/opportunities/types/opportunities_retrieve_request_expand_item.py @@ -6,20 +6,20 @@ T_Result = typing.TypeVar("T_Result") -class ContactsRetrieveRequestExpand(str, enum.Enum): +class OpportunitiesRetrieveRequestExpandItem(str, enum.Enum): ACCOUNT = "account" - ACCOUNT_OWNER = "account,owner" OWNER = "owner" + STAGE = "stage" def visit( self, account: typing.Callable[[], T_Result], - account_owner: typing.Callable[[], T_Result], owner: typing.Callable[[], T_Result], + stage: typing.Callable[[], T_Result], ) -> T_Result: - if self is ContactsRetrieveRequestExpand.ACCOUNT: + if self is OpportunitiesRetrieveRequestExpandItem.ACCOUNT: return account() - if self is ContactsRetrieveRequestExpand.ACCOUNT_OWNER: - return account_owner() - if self is ContactsRetrieveRequestExpand.OWNER: + if self is OpportunitiesRetrieveRequestExpandItem.OWNER: return owner() + if self is OpportunitiesRetrieveRequestExpandItem.STAGE: + return stage() diff --git a/src/merge/resources/crm/resources/stages/client.py b/src/merge/resources/crm/resources/stages/client.py index 630ece33..0bead043 100644 --- a/src/merge/resources/crm/resources/stages/client.py +++ b/src/merge/resources/crm/resources/stages/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.paginated_stage_list import PaginatedStageList +from ...types.remote_field_class import RemoteFieldClass from ...types.stage import Stage from .raw_client import AsyncRawStagesClient, RawStagesClient @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedStageList: + ) -> SyncPager[Stage]: """ Returns a list of `Stage` objects. @@ -75,7 +75,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -85,7 +85,7 @@ def list( Returns ------- - PaginatedStageList + SyncPager[Stage] Examples @@ -98,7 +98,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.stages.list( + response = client.crm.stages.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -119,8 +119,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -134,7 +139,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -205,7 +209,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -233,14 +237,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -251,7 +255,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.stages.remote_field_classes_list( + response = client.crm.stages.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -261,8 +265,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -273,7 +282,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncStagesClient: @@ -306,7 +314,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedStageList: + ) -> AsyncPager[Stage]: """ Returns a list of `Stage` objects. @@ -340,7 +348,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -350,7 +358,7 @@ async def list( Returns ------- - PaginatedStageList + AsyncPager[Stage] Examples @@ -367,7 +375,7 @@ async def list( async def main() -> None: - await client.crm.stages.list( + response = await client.crm.stages.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -388,11 +396,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -406,7 +420,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -485,7 +498,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -513,14 +526,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -536,7 +549,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.stages.remote_field_classes_list( + response = await client.crm.stages.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -546,11 +559,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -561,4 +580,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/stages/raw_client.py b/src/merge/resources/crm/resources/stages/raw_client.py index 9fddcfa5..14174dfe 100644 --- a/src/merge/resources/crm/resources/stages/raw_client.py +++ b/src/merge/resources/crm/resources/stages/raw_client.py @@ -9,10 +9,12 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_stage_list import PaginatedStageList +from ...types.remote_field_class import RemoteFieldClass from ...types.stage import Stage @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedStageList]: + ) -> SyncPager[Stage]: """ Returns a list of `Stage` objects. @@ -69,7 +71,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -79,7 +81,7 @@ def list( Returns ------- - HttpResponse[PaginatedStageList] + SyncPager[Stage] """ _response = self._client_wrapper.httpx_client.request( @@ -102,14 +104,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedStageList, construct_type( type_=PaginatedStageList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -185,7 +206,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -213,14 +234,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -240,14 +261,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -273,7 +310,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedStageList]: + ) -> AsyncPager[Stage]: """ Returns a list of `Stage` objects. @@ -307,7 +344,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -317,7 +354,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedStageList] + AsyncPager[Stage] """ _response = await self._client_wrapper.httpx_client.request( @@ -340,14 +377,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedStageList, construct_type( type_=PaginatedStageList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -423,7 +482,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -451,14 +510,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -478,14 +537,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/sync_status/client.py b/src/merge/resources/crm/resources/sync_status/client.py index 0cce890a..bfa82d13 100644 --- a/src/merge/resources/crm/resources/sync_status/client.py +++ b/src/merge/resources/crm/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +40,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.sync_status.list( + response = client.crm.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.crm.sync_status.list( + response = await client.crm.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/crm/resources/sync_status/raw_client.py b/src/merge/resources/crm/resources/sync_status/raw_client.py index 00d932d2..534ef24c 100644 --- a/src/merge/resources/crm/resources/sync_status/raw_client.py +++ b/src/merge/resources/crm/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +97,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/tasks/__init__.py b/src/merge/resources/crm/resources/tasks/__init__.py index 0c88f4b2..bbae5eef 100644 --- a/src/merge/resources/crm/resources/tasks/__init__.py +++ b/src/merge/resources/crm/resources/tasks/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import TasksListRequestExpand, TasksRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"TasksListRequestExpand": ".types", "TasksRetrieveRequestExpand": ".types"} + from .types import TasksListRequestExpandItem, TasksRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "TasksListRequestExpandItem": ".types", + "TasksRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TasksListRequestExpand", "TasksRetrieveRequestExpand"] +__all__ = ["TasksListRequestExpandItem", "TasksRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/tasks/client.py b/src/merge/resources/crm/resources/tasks/client.py index ccc25868..2e0b2fae 100644 --- a/src/merge/resources/crm/resources/tasks/client.py +++ b/src/merge/resources/crm/resources/tasks/client.py @@ -4,17 +4,17 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.paginated_task_list import PaginatedTaskList from ...types.patched_task_request import PatchedTaskRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.task import Task from ...types.task_request import TaskRequest from ...types.task_response import TaskResponse from .raw_client import AsyncRawTasksClient, RawTasksClient -from .types.tasks_list_request_expand import TasksListRequestExpand -from .types.tasks_retrieve_request_expand import TasksRetrieveRequestExpand +from .types.tasks_list_request_expand_item import TasksListRequestExpandItem +from .types.tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -41,7 +41,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -51,7 +53,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaskList: + ) -> SyncPager[Task]: """ Returns a list of `Task` objects. @@ -66,7 +68,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +90,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -98,7 +100,7 @@ def list( Returns ------- - PaginatedTaskList + SyncPager[Task] Examples @@ -106,13 +108,12 @@ def list( import datetime from merge import Merge - from merge.resources.crm.resources.tasks import TasksListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.tasks.list( + response = client.crm.tasks.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -120,7 +121,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -134,8 +134,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -150,7 +155,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -205,7 +209,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -218,7 +224,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -241,7 +247,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -249,7 +254,6 @@ def retrieve( ) client.crm.tasks.retrieve( id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -388,7 +392,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -416,14 +420,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -434,7 +438,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.tasks.remote_field_classes_list( + response = client.crm.tasks.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -444,8 +448,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -456,7 +465,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncTasksClient: @@ -480,7 +488,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -490,7 +500,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTaskList: + ) -> AsyncPager[Task]: """ Returns a list of `Task` objects. @@ -505,7 +515,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -527,7 +537,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -537,7 +547,7 @@ async def list( Returns ------- - PaginatedTaskList + AsyncPager[Task] Examples @@ -546,7 +556,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.crm.resources.tasks import TasksListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -555,7 +564,7 @@ async def list( async def main() -> None: - await client.crm.tasks.list( + response = await client.crm.tasks.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -563,7 +572,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TasksListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -577,11 +585,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -596,7 +610,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -659,7 +672,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -672,7 +687,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -697,7 +712,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.crm.resources.tasks import TasksRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -708,7 +722,6 @@ async def retrieve( async def main() -> None: await client.crm.tasks.retrieve( id="id", - expand=TasksRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -876,7 +889,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -904,14 +917,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -927,7 +940,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.tasks.remote_field_classes_list( + response = await client.crm.tasks.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -937,11 +950,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -952,4 +971,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/tasks/raw_client.py b/src/merge/resources/crm/resources/tasks/raw_client.py index 50499e60..d9bdf0f9 100644 --- a/src/merge/resources/crm/resources/tasks/raw_client.py +++ b/src/merge/resources/crm/resources/tasks/raw_client.py @@ -9,17 +9,19 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_task_list import PaginatedTaskList from ...types.patched_task_request import PatchedTaskRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.task import Task from ...types.task_request import TaskRequest from ...types.task_response import TaskResponse -from .types.tasks_list_request_expand import TasksListRequestExpand -from .types.tasks_retrieve_request_expand import TasksRetrieveRequestExpand +from .types.tasks_list_request_expand_item import TasksListRequestExpandItem +from .types.tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -45,7 +49,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTaskList]: + ) -> SyncPager[Task]: """ Returns a list of `Task` objects. @@ -60,7 +64,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +86,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -92,7 +96,7 @@ def list( Returns ------- - HttpResponse[PaginatedTaskList] + SyncPager[Task] """ _response = self._client_wrapper.httpx_client.request( @@ -116,14 +120,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaskList, construct_type( type_=PaginatedTaskList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -193,7 +217,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -206,7 +232,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -401,7 +427,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -429,14 +455,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -456,14 +482,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -480,7 +522,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[TasksListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -490,7 +534,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTaskList]: + ) -> AsyncPager[Task]: """ Returns a list of `Task` objects. @@ -505,7 +549,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TasksListRequestExpand] + expand : typing.Optional[typing.Union[TasksListRequestExpandItem, typing.Sequence[TasksListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -527,7 +571,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -537,7 +581,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTaskList] + AsyncPager[Task] """ _response = await self._client_wrapper.httpx_client.request( @@ -561,14 +605,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTaskList, construct_type( type_=PaginatedTaskList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -638,7 +705,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TasksRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -651,7 +720,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TasksRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TasksRetrieveRequestExpandItem, typing.Sequence[TasksRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -846,7 +915,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -874,14 +943,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -901,14 +970,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/resources/tasks/types/__init__.py b/src/merge/resources/crm/resources/tasks/types/__init__.py index 38341b32..9395dcba 100644 --- a/src/merge/resources/crm/resources/tasks/types/__init__.py +++ b/src/merge/resources/crm/resources/tasks/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .tasks_list_request_expand import TasksListRequestExpand - from .tasks_retrieve_request_expand import TasksRetrieveRequestExpand + from .tasks_list_request_expand_item import TasksListRequestExpandItem + from .tasks_retrieve_request_expand_item import TasksRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TasksListRequestExpand": ".tasks_list_request_expand", - "TasksRetrieveRequestExpand": ".tasks_retrieve_request_expand", + "TasksListRequestExpandItem": ".tasks_list_request_expand_item", + "TasksRetrieveRequestExpandItem": ".tasks_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["TasksListRequestExpand", "TasksRetrieveRequestExpand"] +__all__ = ["TasksListRequestExpandItem", "TasksRetrieveRequestExpandItem"] diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py deleted file mode 100644 index 605edb65..00000000 --- a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TasksListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TasksListRequestExpand.ACCOUNT: - return account() - if self is TasksListRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is TasksListRequestExpand.OPPORTUNITY: - return opportunity() - if self is TasksListRequestExpand.OWNER: - return owner() - if self is TasksListRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is TasksListRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is TasksListRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py new file mode 100644 index 00000000..67e914f9 --- /dev/null +++ b/src/merge/resources/crm/resources/tasks/types/tasks_list_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TasksListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TasksListRequestExpandItem.ACCOUNT: + return account() + if self is TasksListRequestExpandItem.CONTACT: + return contact() + if self is TasksListRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is TasksListRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py deleted file mode 100644 index 3fe53160..00000000 --- a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TasksRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_OPPORTUNITY = "account,opportunity" - OPPORTUNITY = "opportunity" - OWNER = "owner" - OWNER_ACCOUNT = "owner,account" - OWNER_ACCOUNT_OPPORTUNITY = "owner,account,opportunity" - OWNER_OPPORTUNITY = "owner,opportunity" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_opportunity: typing.Callable[[], T_Result], - opportunity: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - owner_account: typing.Callable[[], T_Result], - owner_account_opportunity: typing.Callable[[], T_Result], - owner_opportunity: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TasksRetrieveRequestExpand.ACCOUNT: - return account() - if self is TasksRetrieveRequestExpand.ACCOUNT_OPPORTUNITY: - return account_opportunity() - if self is TasksRetrieveRequestExpand.OPPORTUNITY: - return opportunity() - if self is TasksRetrieveRequestExpand.OWNER: - return owner() - if self is TasksRetrieveRequestExpand.OWNER_ACCOUNT: - return owner_account() - if self is TasksRetrieveRequestExpand.OWNER_ACCOUNT_OPPORTUNITY: - return owner_account_opportunity() - if self is TasksRetrieveRequestExpand.OWNER_OPPORTUNITY: - return owner_opportunity() diff --git a/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py new file mode 100644 index 00000000..c1c1f294 --- /dev/null +++ b/src/merge/resources/crm/resources/tasks/types/tasks_retrieve_request_expand_item.py @@ -0,0 +1,29 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TasksRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + CONTACT = "contact" + OPPORTUNITY = "opportunity" + OWNER = "owner" + + def visit( + self, + account: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + opportunity: typing.Callable[[], T_Result], + owner: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TasksRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TasksRetrieveRequestExpandItem.CONTACT: + return contact() + if self is TasksRetrieveRequestExpandItem.OPPORTUNITY: + return opportunity() + if self is TasksRetrieveRequestExpandItem.OWNER: + return owner() diff --git a/src/merge/resources/crm/resources/users/client.py b/src/merge/resources/crm/resources/users/client.py index e0986039..c973e632 100644 --- a/src/merge/resources/crm/resources/users/client.py +++ b/src/merge/resources/crm/resources/users/client.py @@ -4,10 +4,10 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.ignore_common_model_request import IgnoreCommonModelRequest -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.paginated_user_list import PaginatedUserList +from ...types.remote_field_class import RemoteFieldClass from ...types.user import User from .raw_client import AsyncRawUsersClient, RawUsersClient @@ -46,7 +46,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -83,7 +83,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -93,7 +93,7 @@ def list( Returns ------- - PaginatedUserList + SyncPager[User] Examples @@ -106,7 +106,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.users.list( + response = client.crm.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -128,8 +128,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +149,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -257,7 +261,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -285,14 +289,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -303,7 +307,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.crm.users.remote_field_classes_list( + response = client.crm.users.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -313,8 +317,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -325,7 +334,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncUsersClient: @@ -359,7 +367,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -396,7 +404,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -406,7 +414,7 @@ async def list( Returns ------- - PaginatedUserList + AsyncPager[User] Examples @@ -423,7 +431,7 @@ async def list( async def main() -> None: - await client.crm.users.list( + response = await client.crm.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -445,11 +453,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -464,7 +478,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -593,7 +606,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -621,14 +634,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -644,7 +657,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.crm.users.remote_field_classes_list( + response = await client.crm.users.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", include_deleted_data=True, include_remote_data=True, @@ -654,11 +667,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, @@ -669,4 +688,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/crm/resources/users/raw_client.py b/src/merge/resources/crm/resources/users/raw_client.py index 4e33bb25..4f3485e3 100644 --- a/src/merge/resources/crm/resources/users/raw_client.py +++ b/src/merge/resources/crm/resources/users/raw_client.py @@ -9,11 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList from ...types.paginated_user_list import PaginatedUserList +from ...types.remote_field_class import RemoteFieldClass from ...types.user import User # this is used as the default value for optional parameters @@ -40,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -77,7 +79,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -87,7 +89,7 @@ def list( Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User] """ _response = self._client_wrapper.httpx_client.request( @@ -111,14 +113,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -235,7 +257,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -263,14 +285,14 @@ def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -290,14 +312,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -324,7 +362,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -361,7 +399,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -371,7 +409,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User] """ _response = await self._client_wrapper.httpx_client.request( @@ -395,14 +433,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email=email, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -519,7 +580,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -547,14 +608,14 @@ async def remote_field_classes_list( If provided, will only return remote fields classes with this is_custom value page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -574,14 +635,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/crm/types/__init__.py b/src/merge/resources/crm/types/__init__.py index 0c058ced..7bb2bfe5 100644 --- a/src/merge/resources/crm/types/__init__.py +++ b/src/merge/resources/crm/types/__init__.py @@ -118,6 +118,8 @@ from .lead_request_converted_contact import LeadRequestConvertedContact from .lead_request_owner import LeadRequestOwner from .lead_response import LeadResponse + from .lead_status import LeadStatus + from .lead_status_enum import LeadStatusEnum from .link_token import LinkToken from .linked_account_status import LinkedAccountStatus from .meta_response import MetaResponse @@ -183,6 +185,7 @@ from .phone_number import PhoneNumber from .phone_number_request import PhoneNumberRequest from .reason_enum import ReasonEnum + from .regenerate_account_token import RegenerateAccountToken from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo from .remote_field import RemoteField @@ -191,8 +194,6 @@ from .remote_field_api_response import RemoteFieldApiResponse from .remote_field_class import RemoteFieldClass from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem - from .remote_field_class_field_format import RemoteFieldClassFieldFormat - from .remote_field_class_field_type import RemoteFieldClassFieldType from .remote_field_class_for_custom_object_class import RemoteFieldClassForCustomObjectClass from .remote_field_class_for_custom_object_class_field_choices_item import ( RemoteFieldClassForCustomObjectClassFieldChoicesItem, @@ -205,6 +206,7 @@ from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role_enum import RoleEnum @@ -216,10 +218,12 @@ from .sync_status_status import SyncStatusStatus from .task import Task from .task_account import TaskAccount + from .task_contact import TaskContact from .task_opportunity import TaskOpportunity from .task_owner import TaskOwner from .task_request import TaskRequest from .task_request_account import TaskRequestAccount + from .task_request_contact import TaskRequestContact from .task_request_opportunity import TaskRequestOpportunity from .task_request_owner import TaskRequestOwner from .task_request_status import TaskRequestStatus @@ -341,6 +345,8 @@ "LeadRequestConvertedContact": ".lead_request_converted_contact", "LeadRequestOwner": ".lead_request_owner", "LeadResponse": ".lead_response", + "LeadStatus": ".lead_status", + "LeadStatusEnum": ".lead_status_enum", "LinkToken": ".link_token", "LinkedAccountStatus": ".linked_account_status", "MetaResponse": ".meta_response", @@ -406,6 +412,7 @@ "PhoneNumber": ".phone_number", "PhoneNumberRequest": ".phone_number_request", "ReasonEnum": ".reason_enum", + "RegenerateAccountToken": ".regenerate_account_token", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", "RemoteField": ".remote_field", @@ -414,8 +421,6 @@ "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteFieldClass": ".remote_field_class", "RemoteFieldClassFieldChoicesItem": ".remote_field_class_field_choices_item", - "RemoteFieldClassFieldFormat": ".remote_field_class_field_format", - "RemoteFieldClassFieldType": ".remote_field_class_field_type", "RemoteFieldClassForCustomObjectClass": ".remote_field_class_for_custom_object_class", "RemoteFieldClassForCustomObjectClassFieldChoicesItem": ".remote_field_class_for_custom_object_class_field_choices_item", "RemoteFieldClassForCustomObjectClassFieldFormat": ".remote_field_class_for_custom_object_class_field_format", @@ -426,6 +431,7 @@ "RemoteFieldRequestRemoteFieldClass": ".remote_field_request_remote_field_class", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "RoleEnum": ".role_enum", @@ -437,10 +443,12 @@ "SyncStatusStatus": ".sync_status_status", "Task": ".task", "TaskAccount": ".task_account", + "TaskContact": ".task_contact", "TaskOpportunity": ".task_opportunity", "TaskOwner": ".task_owner", "TaskRequest": ".task_request", "TaskRequestAccount": ".task_request_account", + "TaskRequestContact": ".task_request_contact", "TaskRequestOpportunity": ".task_request_opportunity", "TaskRequestOwner": ".task_request_owner", "TaskRequestStatus": ".task_request_status", @@ -584,6 +592,8 @@ def __dir__(): "LeadRequestConvertedContact", "LeadRequestOwner", "LeadResponse", + "LeadStatus", + "LeadStatusEnum", "LinkToken", "LinkedAccountStatus", "MetaResponse", @@ -649,6 +659,7 @@ def __dir__(): "PhoneNumber", "PhoneNumberRequest", "ReasonEnum", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -657,8 +668,6 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldClassForCustomObjectClass", "RemoteFieldClassForCustomObjectClassFieldChoicesItem", "RemoteFieldClassForCustomObjectClassFieldFormat", @@ -669,6 +678,7 @@ def __dir__(): "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", @@ -680,10 +690,12 @@ def __dir__(): "SyncStatusStatus", "Task", "TaskAccount", + "TaskContact", "TaskOpportunity", "TaskOwner", "TaskRequest", "TaskRequestAccount", + "TaskRequestContact", "TaskRequestOpportunity", "TaskRequestOwner", "TaskRequestStatus", diff --git a/src/merge/resources/crm/types/account_details_and_actions.py b/src/merge/resources/crm/types/account_details_and_actions.py index a16114f6..93c874ed 100644 --- a/src/merge/resources/crm/types/account_details_and_actions.py +++ b/src/merge/resources/crm/types/account_details_and_actions.py @@ -42,6 +42,7 @@ class AccountDetailsAndActions(UncheckedBaseModel): integration: typing.Optional[AccountDetailsAndActionsIntegration] = None account_type: str completed_at: dt.datetime + integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/audit_log_event.py b/src/merge/resources/crm/types/audit_log_event.py index ab69fd32..1bb2fdbf 100644 --- a/src/merge/resources/crm/types/audit_log_event.py +++ b/src/merge/resources/crm/types/audit_log_event.py @@ -32,6 +32,7 @@ class AuditLogEvent(UncheckedBaseModel): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ip_address: str diff --git a/src/merge/resources/crm/types/field_mapping_api_instance.py b/src/merge/resources/crm/types/field_mapping_api_instance.py index a5815313..0d257dcb 100644 --- a/src/merge/resources/crm/types/field_mapping_api_instance.py +++ b/src/merge/resources/crm/types/field_mapping_api_instance.py @@ -14,6 +14,7 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None + jmes_path: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/lead.py b/src/merge/resources/crm/types/lead.py index 98d821e1..a588e0bb 100644 --- a/src/merge/resources/crm/types/lead.py +++ b/src/merge/resources/crm/types/lead.py @@ -11,6 +11,7 @@ from .lead_converted_account import LeadConvertedAccount from .lead_converted_contact import LeadConvertedContact from .lead_owner import LeadOwner +from .lead_status import LeadStatus from .phone_number import PhoneNumber from .remote_data import RemoteData from .remote_field import RemoteField @@ -99,6 +100,16 @@ class Lead(UncheckedBaseModel): The account of the converted lead. """ + status: typing.Optional[LeadStatus] = pydantic.Field(default=None) + """ + The lead's status. + + * `OPEN` - OPEN + * `CLOSED` - CLOSED + * `UNQUALIFIED` - UNQUALIFIED + * `QUALIFIED` - QUALIFIED + """ + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/crm/types/lead_status.py b/src/merge/resources/crm/types/lead_status.py new file mode 100644 index 00000000..96b24a88 --- /dev/null +++ b/src/merge/resources/crm/types/lead_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .lead_status_enum import LeadStatusEnum + +LeadStatus = typing.Union[LeadStatusEnum, str] diff --git a/src/merge/resources/crm/types/lead_status_enum.py b/src/merge/resources/crm/types/lead_status_enum.py new file mode 100644 index 00000000..31069a59 --- /dev/null +++ b/src/merge/resources/crm/types/lead_status_enum.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class LeadStatusEnum(str, enum.Enum): + """ + * `OPEN` - OPEN + * `CLOSED` - CLOSED + * `UNQUALIFIED` - UNQUALIFIED + * `QUALIFIED` - QUALIFIED + """ + + OPEN = "OPEN" + CLOSED = "CLOSED" + UNQUALIFIED = "UNQUALIFIED" + QUALIFIED = "QUALIFIED" + + def visit( + self, + open: typing.Callable[[], T_Result], + closed: typing.Callable[[], T_Result], + unqualified: typing.Callable[[], T_Result], + qualified: typing.Callable[[], T_Result], + ) -> T_Result: + if self is LeadStatusEnum.OPEN: + return open() + if self is LeadStatusEnum.CLOSED: + return closed() + if self is LeadStatusEnum.UNQUALIFIED: + return unqualified() + if self is LeadStatusEnum.QUALIFIED: + return qualified() diff --git a/src/merge/resources/crm/types/patched_task_request.py b/src/merge/resources/crm/types/patched_task_request.py index 098496ba..d8f8e7d4 100644 --- a/src/merge/resources/crm/types/patched_task_request.py +++ b/src/merge/resources/crm/types/patched_task_request.py @@ -44,6 +44,11 @@ class PatchedTaskRequest(UncheckedBaseModel): The task's opportunity. """ + contact: typing.Optional[str] = pydantic.Field(default=None) + """ + The task's contact. + """ + completed_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ When the task is completed. diff --git a/src/merge/resources/knowledgebase/types/account_token.py b/src/merge/resources/crm/types/regenerate_account_token.py similarity index 62% rename from src/merge/resources/knowledgebase/types/account_token.py rename to src/merge/resources/crm/types/regenerate_account_token.py index 6e82c8ac..5c31cf57 100644 --- a/src/merge/resources/knowledgebase/types/account_token.py +++ b/src/merge/resources/crm/types/regenerate_account_token.py @@ -5,13 +5,20 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -class AccountToken(UncheckedBaseModel): +class RegenerateAccountToken(UncheckedBaseModel): + """ + # The RegenerateAccountToken Object + ### Description + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. + + ### Usage Example + Post to receive a new `RegenerateAccountToken`. + """ + + linked_account_id: str account_token: str - integration: AccountIntegration - id: str if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/crm/types/remote_field_class.py b/src/merge/resources/crm/types/remote_field_class.py index 76189afe..c50d1dd3 100644 --- a/src/merge/resources/crm/types/remote_field_class.py +++ b/src/merge/resources/crm/types/remote_field_class.py @@ -5,10 +5,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .field_format_enum import FieldFormatEnum +from .field_type_enum import FieldTypeEnum from .item_schema import ItemSchema from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_type import RemoteFieldClassFieldType class RemoteFieldClass(UncheckedBaseModel): @@ -19,8 +19,8 @@ class RemoteFieldClass(UncheckedBaseModel): is_custom: typing.Optional[bool] = None is_common_model_field: typing.Optional[bool] = None is_required: typing.Optional[bool] = None - field_type: typing.Optional[RemoteFieldClassFieldType] = None - field_format: typing.Optional[RemoteFieldClassFieldFormat] = None + field_type: typing.Optional[FieldTypeEnum] = None + field_format: typing.Optional[FieldFormatEnum] = None field_choices: typing.Optional[typing.List[RemoteFieldClassFieldChoicesItem]] = None item_schema: typing.Optional[ItemSchema] = None diff --git a/src/merge/resources/crm/types/remote_field_class_field_format.py b/src/merge/resources/crm/types/remote_field_class_field_format.py deleted file mode 100644 index 13634337..00000000 --- a/src/merge/resources/crm/types/remote_field_class_field_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_format_enum import FieldFormatEnum - -RemoteFieldClassFieldFormat = typing.Union[FieldFormatEnum, str] diff --git a/src/merge/resources/crm/types/remote_field_class_field_type.py b/src/merge/resources/crm/types/remote_field_class_field_type.py deleted file mode 100644 index 48735d56..00000000 --- a/src/merge/resources/crm/types/remote_field_class_field_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_type_enum import FieldTypeEnum - -RemoteFieldClassFieldType = typing.Union[FieldTypeEnum, str] diff --git a/src/merge/resources/crm/types/remote_response.py b/src/merge/resources/crm/types/remote_response.py index af181fc0..db01131f 100644 --- a/src/merge/resources/crm/types/remote_response.py +++ b/src/merge/resources/crm/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -23,7 +23,7 @@ class RemoteResponse(UncheckedBaseModel): status: int response: typing.Optional[typing.Any] = None response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None + response_type: typing.Optional[RemoteResponseResponseType] = None headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/knowledgebase/types/remote_response_response_type.py b/src/merge/resources/crm/types/remote_response_response_type.py similarity index 100% rename from src/merge/resources/knowledgebase/types/remote_response_response_type.py rename to src/merge/resources/crm/types/remote_response_response_type.py diff --git a/src/merge/resources/crm/types/role_enum.py b/src/merge/resources/crm/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/crm/types/role_enum.py +++ b/src/merge/resources/crm/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/crm/types/task.py b/src/merge/resources/crm/types/task.py index 088d32bf..8e26f590 100644 --- a/src/merge/resources/crm/types/task.py +++ b/src/merge/resources/crm/types/task.py @@ -9,6 +9,7 @@ from .remote_data import RemoteData from .remote_field import RemoteField from .task_account import TaskAccount +from .task_contact import TaskContact from .task_opportunity import TaskOpportunity from .task_owner import TaskOwner from .task_status import TaskStatus @@ -64,6 +65,11 @@ class Task(UncheckedBaseModel): The task's opportunity. """ + contact: typing.Optional[TaskContact] = pydantic.Field(default=None) + """ + The task's contact. + """ + completed_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ When the task is completed. diff --git a/src/merge/resources/knowledgebase/types/article_author.py b/src/merge/resources/crm/types/task_contact.py similarity index 53% rename from src/merge/resources/knowledgebase/types/article_author.py rename to src/merge/resources/crm/types/task_contact.py index db8603d8..8df591d6 100644 --- a/src/merge/resources/knowledgebase/types/article_author.py +++ b/src/merge/resources/crm/types/task_contact.py @@ -2,6 +2,6 @@ import typing -from .user import User +from .contact import Contact -ArticleAuthor = typing.Union[str, User] +TaskContact = typing.Union[str, Contact] diff --git a/src/merge/resources/crm/types/task_request.py b/src/merge/resources/crm/types/task_request.py index 15ec61fd..a0eb4cb5 100644 --- a/src/merge/resources/crm/types/task_request.py +++ b/src/merge/resources/crm/types/task_request.py @@ -8,6 +8,7 @@ from ....core.unchecked_base_model import UncheckedBaseModel from .remote_field_request import RemoteFieldRequest from .task_request_account import TaskRequestAccount +from .task_request_contact import TaskRequestContact from .task_request_opportunity import TaskRequestOpportunity from .task_request_owner import TaskRequestOwner from .task_request_status import TaskRequestStatus @@ -47,6 +48,11 @@ class TaskRequest(UncheckedBaseModel): The task's opportunity. """ + contact: typing.Optional[TaskRequestContact] = pydantic.Field(default=None) + """ + The task's contact. + """ + completed_date: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ When the task is completed. diff --git a/src/merge/resources/crm/types/task_request_contact.py b/src/merge/resources/crm/types/task_request_contact.py new file mode 100644 index 00000000..eaa6a949 --- /dev/null +++ b/src/merge/resources/crm/types/task_request_contact.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .contact import Contact + +TaskRequestContact = typing.Union[str, Contact] diff --git a/src/merge/resources/filestorage/__init__.py b/src/merge/resources/filestorage/__init__.py index 5f6a52bb..fbed13e7 100644 --- a/src/merge/resources/filestorage/__init__.py +++ b/src/merge/resources/filestorage/__init__.py @@ -9,8 +9,11 @@ from .types import ( AccountDetails, AccountDetailsAndActions, + AccountDetailsAndActionsCategory, AccountDetailsAndActionsIntegration, + AccountDetailsAndActionsStatus, AccountDetailsAndActionsStatusEnum, + AccountDetailsCategory, AccountIntegration, AccountToken, AdvancedMetadata, @@ -102,6 +105,7 @@ PermissionRolesItem, PermissionType, PermissionUser, + RegenerateAccountToken, RemoteData, RemoteEndpointInfo, RemoteFieldApi, @@ -109,6 +113,7 @@ RemoteFieldApiResponse, RemoteKey, RemoteResponse, + RemoteResponseResponseType, RequestFormatEnum, ResponseTypeEnum, RoleEnum, @@ -117,6 +122,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, TypeEnum, User, ValidationProblemSource, @@ -125,12 +131,15 @@ ) from .resources import ( AsyncPassthroughRetrieveResponse, + EndUserDetailsRequestLanguage, FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, + FilesListRequestExpandItem, FilesListRequestOrderBy, - FilesRetrieveRequestExpand, - FoldersListRequestExpand, - FoldersRetrieveRequestExpand, + FilesRetrieveRequestExpandItem, + FoldersListRequestExpandItem, + FoldersRetrieveRequestExpandItem, + GroupsListRequestExpandItem, + GroupsRetrieveRequestExpandItem, IssuesListRequestStatus, LinkedAccountsListRequestCategory, account_details, @@ -159,8 +168,11 @@ _dynamic_imports: typing.Dict[str, str] = { "AccountDetails": ".types", "AccountDetailsAndActions": ".types", + "AccountDetailsAndActionsCategory": ".types", "AccountDetailsAndActionsIntegration": ".types", + "AccountDetailsAndActionsStatus": ".types", "AccountDetailsAndActionsStatusEnum": ".types", + "AccountDetailsCategory": ".types", "AccountIntegration": ".types", "AccountToken": ".types", "AdvancedMetadata": ".types", @@ -181,6 +193,7 @@ "Drive": ".types", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", + "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", "ExternalTargetFieldApi": ".types", @@ -206,9 +219,9 @@ "FileStorageFileResponse": ".types", "FileStorageFolderResponse": ".types", "FilesDownloadRequestMetaListRequestOrderBy": ".resources", - "FilesListRequestExpand": ".resources", + "FilesListRequestExpandItem": ".resources", "FilesListRequestOrderBy": ".resources", - "FilesRetrieveRequestExpand": ".resources", + "FilesRetrieveRequestExpandItem": ".resources", "Folder": ".types", "FolderDrive": ".types", "FolderParentFolder": ".types", @@ -219,10 +232,12 @@ "FolderRequestParentFolder": ".types", "FolderRequestPermissions": ".types", "FolderRequestPermissionsItem": ".types", - "FoldersListRequestExpand": ".resources", - "FoldersRetrieveRequestExpand": ".resources", + "FoldersListRequestExpandItem": ".resources", + "FoldersRetrieveRequestExpandItem": ".resources", "Group": ".types", "GroupChildGroupsItem": ".types", + "GroupsListRequestExpandItem": ".resources", + "GroupsRetrieveRequestExpandItem": ".resources", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", "Issue": ".types", @@ -261,6 +276,7 @@ "PermissionRolesItem": ".types", "PermissionType": ".types", "PermissionUser": ".types", + "RegenerateAccountToken": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteFieldApi": ".types", @@ -268,6 +284,7 @@ "RemoteFieldApiResponse": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "RoleEnum": ".types", @@ -276,6 +293,7 @@ "StatusFd5Enum": ".types", "SyncStatus": ".types", "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", "TypeEnum": ".types", "User": ".types", "ValidationProblemSource": ".types", @@ -328,8 +346,11 @@ def __dir__(): __all__ = [ "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AdvancedMetadata", @@ -350,6 +371,7 @@ def __dir__(): "Drive", "EnabledActionsEnum", "EncodingEnum", + "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", "ExternalTargetFieldApi", @@ -375,9 +397,9 @@ def __dir__(): "FileStorageFileResponse", "FileStorageFolderResponse", "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", + "FilesListRequestExpandItem", "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", + "FilesRetrieveRequestExpandItem", "Folder", "FolderDrive", "FolderParentFolder", @@ -388,10 +410,12 @@ def __dir__(): "FolderRequestParentFolder", "FolderRequestPermissions", "FolderRequestPermissionsItem", - "FoldersListRequestExpand", - "FoldersRetrieveRequestExpand", + "FoldersListRequestExpandItem", + "FoldersRetrieveRequestExpandItem", "Group", "GroupChildGroupsItem", + "GroupsListRequestExpandItem", + "GroupsRetrieveRequestExpandItem", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -430,6 +454,7 @@ def __dir__(): "PermissionRolesItem", "PermissionType", "PermissionUser", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteFieldApi", @@ -437,6 +462,7 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", @@ -445,6 +471,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "TypeEnum", "User", "ValidationProblemSource", diff --git a/src/merge/resources/filestorage/resources/__init__.py b/src/merge/resources/filestorage/resources/__init__.py index de5b48ff..44fe3243 100644 --- a/src/merge/resources/filestorage/resources/__init__.py +++ b/src/merge/resources/filestorage/resources/__init__.py @@ -33,21 +33,26 @@ from .async_passthrough import AsyncPassthroughRetrieveResponse from .files import ( FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, + FilesListRequestExpandItem, FilesListRequestOrderBy, - FilesRetrieveRequestExpand, + FilesRetrieveRequestExpandItem, ) - from .folders import FoldersListRequestExpand, FoldersRetrieveRequestExpand + from .folders import FoldersListRequestExpandItem, FoldersRetrieveRequestExpandItem + from .groups import GroupsListRequestExpandItem, GroupsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus + from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory _dynamic_imports: typing.Dict[str, str] = { "AsyncPassthroughRetrieveResponse": ".async_passthrough", + "EndUserDetailsRequestLanguage": ".link_token", "FilesDownloadRequestMetaListRequestOrderBy": ".files", - "FilesListRequestExpand": ".files", + "FilesListRequestExpandItem": ".files", "FilesListRequestOrderBy": ".files", - "FilesRetrieveRequestExpand": ".files", - "FoldersListRequestExpand": ".folders", - "FoldersRetrieveRequestExpand": ".folders", + "FilesRetrieveRequestExpandItem": ".files", + "FoldersListRequestExpandItem": ".folders", + "FoldersRetrieveRequestExpandItem": ".folders", + "GroupsListRequestExpandItem": ".groups", + "GroupsRetrieveRequestExpandItem": ".groups", "IssuesListRequestStatus": ".issues", "LinkedAccountsListRequestCategory": ".linked_accounts", "account_details": ".", @@ -96,12 +101,15 @@ def __dir__(): __all__ = [ "AsyncPassthroughRetrieveResponse", + "EndUserDetailsRequestLanguage", "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", + "FilesListRequestExpandItem", "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", - "FoldersListRequestExpand", - "FoldersRetrieveRequestExpand", + "FilesRetrieveRequestExpandItem", + "FoldersListRequestExpandItem", + "FoldersRetrieveRequestExpandItem", + "GroupsListRequestExpandItem", + "GroupsRetrieveRequestExpandItem", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", "account_details", diff --git a/src/merge/resources/filestorage/resources/account_token/client.py b/src/merge/resources/filestorage/resources/account_token/client.py index 7ca535bd..62c6c1fc 100644 --- a/src/merge/resources/filestorage/resources/account_token/client.py +++ b/src/merge/resources/filestorage/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.filestorage.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.filestorage.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/filestorage/resources/account_token/raw_client.py b/src/merge/resources/filestorage/resources/account_token/raw_client.py index 5520a69a..5ea56f35 100644 --- a/src/merge/resources/filestorage/resources/account_token/raw_client.py +++ b/src/merge/resources/filestorage/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "filestorage/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "filestorage/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/filestorage/resources/audit_trail/client.py b/src/merge/resources/filestorage/resources/audit_trail/client.py index cd4b170a..c87f8766 100644 --- a/src/merge/resources/filestorage/resources/audit_trail/client.py +++ b/src/merge/resources/filestorage/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -49,7 +50,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.audit_trail.list( + response = client.filestorage.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -135,7 +140,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.filestorage.audit_trail.list( + response = await client.filestorage.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/audit_trail/raw_client.py b/src/merge/resources/filestorage/resources/audit_trail/raw_client.py index 7d7369a4..dca7c46a 100644 --- a/src/merge/resources/filestorage/resources/audit_trail/raw_client.py +++ b/src/merge/resources/filestorage/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -116,7 +131,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/drives/client.py b/src/merge/resources/filestorage/resources/drives/client.py index 76710f4b..7453b97b 100644 --- a/src/merge/resources/filestorage/resources/drives/client.py +++ b/src/merge/resources/filestorage/resources/drives/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.drive import Drive -from ...types.paginated_drive_list import PaginatedDriveList from .raw_client import AsyncRawDrivesClient, RawDrivesClient @@ -40,7 +40,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDriveList: + ) -> SyncPager[Drive]: """ Returns a list of `Drive` objects. @@ -84,7 +84,7 @@ def list( Returns ------- - PaginatedDriveList + SyncPager[Drive] Examples @@ -97,7 +97,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.drives.list( + response = client.filestorage.drives.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -118,8 +118,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -133,7 +138,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -217,7 +221,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDriveList: + ) -> AsyncPager[Drive]: """ Returns a list of `Drive` objects. @@ -261,7 +265,7 @@ async def list( Returns ------- - PaginatedDriveList + AsyncPager[Drive] Examples @@ -278,7 +282,7 @@ async def list( async def main() -> None: - await client.filestorage.drives.list( + response = await client.filestorage.drives.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -299,11 +303,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -317,7 +327,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/filestorage/resources/drives/raw_client.py b/src/merge/resources/filestorage/resources/drives/raw_client.py index 666e5081..ef3ce92f 100644 --- a/src/merge/resources/filestorage/resources/drives/raw_client.py +++ b/src/merge/resources/filestorage/resources/drives/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.drive import Drive @@ -34,7 +35,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDriveList]: + ) -> SyncPager[Drive]: """ Returns a list of `Drive` objects. @@ -78,7 +79,7 @@ def list( Returns ------- - HttpResponse[PaginatedDriveList] + SyncPager[Drive] """ _response = self._client_wrapper.httpx_client.request( @@ -101,14 +102,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDriveList, construct_type( type_=PaginatedDriveList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -187,7 +207,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDriveList]: + ) -> AsyncPager[Drive]: """ Returns a list of `Drive` objects. @@ -231,7 +251,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedDriveList] + AsyncPager[Drive] """ _response = await self._client_wrapper.httpx_client.request( @@ -254,14 +274,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDriveList, construct_type( type_=PaginatedDriveList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/field_mapping/client.py b/src/merge/resources/filestorage/resources/field_mapping/client.py index e1e40571..066088f9 100644 --- a/src/merge/resources/filestorage/resources/field_mapping/client.py +++ b/src/merge/resources/filestorage/resources/field_mapping/client.py @@ -78,6 +78,8 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -106,6 +108,12 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -124,6 +132,7 @@ def field_mappings_create( ) client.filestorage.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -140,6 +149,8 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -181,9 +192,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -193,6 +206,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -202,6 +218,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -220,13 +239,16 @@ def field_mappings_partial_update( ) client.filestorage.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -377,6 +399,8 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -405,6 +429,12 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -428,6 +458,7 @@ async def field_mappings_create( async def main() -> None: await client.filestorage.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -447,6 +478,8 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, + jmes_path=jmes_path, request_options=request_options, ) return _response.data @@ -496,9 +529,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: """ @@ -508,6 +543,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -517,6 +555,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -540,6 +581,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.filestorage.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -547,9 +589,11 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, + jmes_path=jmes_path, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/filestorage/resources/field_mapping/raw_client.py b/src/merge/resources/filestorage/resources/field_mapping/raw_client.py index 02fe3e18..24a50dd7 100644 --- a/src/merge/resources/filestorage/resources/field_mapping/raw_client.py +++ b/src/merge/resources/filestorage/resources/field_mapping/raw_client.py @@ -77,6 +77,8 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -105,6 +107,12 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -118,6 +126,7 @@ def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -126,6 +135,7 @@ def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -190,9 +200,11 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: """ @@ -202,6 +214,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -211,6 +226,9 @@ def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -222,10 +240,14 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -394,6 +416,8 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -422,6 +446,12 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -435,6 +465,7 @@ async def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -443,6 +474,7 @@ async def field_mappings_create( "remote_method": remote_method, "remote_url_path": remote_url_path, "common_model_name": common_model_name, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", @@ -507,9 +539,11 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, + jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: """ @@ -519,6 +553,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -528,6 +565,9 @@ async def field_mappings_partial_update( remote_url_path : typing.Optional[str] The path of the remote endpoint where the remote field is coming from. + jmes_path : typing.Optional[str] + JMES path to specify json query expression to be used on field mapping. + request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -539,10 +579,14 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"filestorage/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, "remote_url_path": remote_url_path, + "jmes_path": jmes_path, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/filestorage/resources/files/__init__.py b/src/merge/resources/filestorage/resources/files/__init__.py index 6836be98..c3aa546f 100644 --- a/src/merge/resources/filestorage/resources/files/__init__.py +++ b/src/merge/resources/filestorage/resources/files/__init__.py @@ -8,15 +8,15 @@ if typing.TYPE_CHECKING: from .types import ( FilesDownloadRequestMetaListRequestOrderBy, - FilesListRequestExpand, + FilesListRequestExpandItem, FilesListRequestOrderBy, - FilesRetrieveRequestExpand, + FilesRetrieveRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { "FilesDownloadRequestMetaListRequestOrderBy": ".types", - "FilesListRequestExpand": ".types", + "FilesListRequestExpandItem": ".types", "FilesListRequestOrderBy": ".types", - "FilesRetrieveRequestExpand": ".types", + "FilesRetrieveRequestExpandItem": ".types", } @@ -41,7 +41,7 @@ def __dir__(): __all__ = [ "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", + "FilesListRequestExpandItem", "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", + "FilesRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/filestorage/resources/files/client.py b/src/merge/resources/filestorage/resources/files/client.py index 80a119ed..e1e8b02c 100644 --- a/src/merge/resources/filestorage/resources/files/client.py +++ b/src/merge/resources/filestorage/resources/files/client.py @@ -4,19 +4,18 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.download_request_meta import DownloadRequestMeta from ...types.file import File from ...types.file_request import FileRequest from ...types.file_storage_file_response import FileStorageFileResponse from ...types.meta_response import MetaResponse -from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList -from ...types.paginated_file_list import PaginatedFileList from .raw_client import AsyncRawFilesClient, RawFilesClient from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy -from .types.files_list_request_expand import FilesListRequestExpand +from .types.files_list_request_expand_item import FilesListRequestExpandItem from .types.files_list_request_order_by import FilesListRequestOrderBy -from .types.files_retrieve_request_expand import FilesRetrieveRequestExpand +from .types.files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +43,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, folder_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -59,7 +60,7 @@ def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFileList: + ) -> SyncPager[File]: """ Returns a list of `File` objects. @@ -77,7 +78,7 @@ def list( drive_id : typing.Optional[str] Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - expand : typing.Optional[FilesListRequestExpand] + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. folder_id : typing.Optional[str] @@ -108,7 +109,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return files created in the third party platform after this datetime. @@ -124,7 +125,7 @@ def list( Returns ------- - PaginatedFileList + SyncPager[File] Examples @@ -132,16 +133,13 @@ def list( import datetime from merge import Merge - from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, - ) + from merge.resources.filestorage.resources.files import FilesListRequestOrderBy client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.files.list( + response = client.filestorage.files.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -150,7 +148,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, folder_id="folder_id", include_deleted_data=True, include_remote_data=True, @@ -173,8 +170,13 @@ def list( ), remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -195,7 +197,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -250,7 +251,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -262,7 +265,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[FilesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -282,9 +285,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -292,7 +292,6 @@ def retrieve( ) client.filestorage.files.retrieve( id="id", - expand=FilesRetrieveRequestExpand.DRIVE, include_remote_data=True, include_shell_data=True, ) @@ -348,14 +347,14 @@ def download_request_meta_retrieve( request_options: typing.Optional[RequestOptions] = None, ) -> DownloadRequestMeta: """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our direct file download help center article. Parameters ---------- id : str mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + If provided, specifies the export format of the file to be downloaded. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -397,7 +396,7 @@ def download_request_meta_list( order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDownloadRequestMetaList: + ) -> SyncPager[DownloadRequestMeta]: """ Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. @@ -438,7 +437,7 @@ def download_request_meta_list( Returns ------- - PaginatedDownloadRequestMetaList + SyncPager[DownloadRequestMeta] Examples @@ -452,7 +451,7 @@ def download_request_meta_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.files.download_request_meta_list( + response = client.filestorage.files.download_request_meta_list( created_after="created_after", created_before="created_before", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -463,8 +462,13 @@ def download_request_meta_list( order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.download_request_meta_list( + return self._raw_client.download_request_meta_list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -477,7 +481,6 @@ def download_request_meta_list( page_size=page_size, request_options=request_options, ) - return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -529,7 +532,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, folder_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -544,7 +549,7 @@ async def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFileList: + ) -> AsyncPager[File]: """ Returns a list of `File` objects. @@ -562,7 +567,7 @@ async def list( drive_id : typing.Optional[str] Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - expand : typing.Optional[FilesListRequestExpand] + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. folder_id : typing.Optional[str] @@ -593,7 +598,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return files created in the third party platform after this datetime. @@ -609,7 +614,7 @@ async def list( Returns ------- - PaginatedFileList + AsyncPager[File] Examples @@ -618,10 +623,7 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.filestorage.resources.files import ( - FilesListRequestExpand, - FilesListRequestOrderBy, - ) + from merge.resources.filestorage.resources.files import FilesListRequestOrderBy client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -630,7 +632,7 @@ async def list( async def main() -> None: - await client.filestorage.files.list( + response = await client.filestorage.files.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -639,7 +641,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", drive_id="drive_id", - expand=FilesListRequestExpand.DRIVE, folder_id="folder_id", include_deleted_data=True, include_remote_data=True, @@ -662,11 +663,17 @@ async def main() -> None: ), remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -687,7 +694,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -750,7 +756,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -762,7 +770,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[FilesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -784,9 +792,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.filestorage.resources.files import ( - FilesRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -797,7 +802,6 @@ async def retrieve( async def main() -> None: await client.filestorage.files.retrieve( id="id", - expand=FilesRetrieveRequestExpand.DRIVE, include_remote_data=True, include_shell_data=True, ) @@ -857,14 +861,14 @@ async def download_request_meta_retrieve( request_options: typing.Optional[RequestOptions] = None, ) -> DownloadRequestMeta: """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our direct file download help center article. Parameters ---------- id : str mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + If provided, specifies the export format of the file to be downloaded. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -914,7 +918,7 @@ async def download_request_meta_list( order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDownloadRequestMetaList: + ) -> AsyncPager[DownloadRequestMeta]: """ Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. @@ -955,7 +959,7 @@ async def download_request_meta_list( Returns ------- - PaginatedDownloadRequestMetaList + AsyncPager[DownloadRequestMeta] Examples @@ -974,7 +978,7 @@ async def download_request_meta_list( async def main() -> None: - await client.filestorage.files.download_request_meta_list( + response = await client.filestorage.files.download_request_meta_list( created_after="created_after", created_before="created_before", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", @@ -985,11 +989,17 @@ async def main() -> None: order_by=FilesDownloadRequestMetaListRequestOrderBy.CREATED_AT_DESCENDING, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.download_request_meta_list( + return await self._raw_client.download_request_meta_list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -1002,7 +1012,6 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ diff --git a/src/merge/resources/filestorage/resources/files/raw_client.py b/src/merge/resources/filestorage/resources/files/raw_client.py index 8efa7999..74791bc8 100644 --- a/src/merge/resources/filestorage/resources/files/raw_client.py +++ b/src/merge/resources/filestorage/resources/files/raw_client.py @@ -10,6 +10,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.download_request_meta import DownloadRequestMeta @@ -20,9 +21,9 @@ from ...types.paginated_download_request_meta_list import PaginatedDownloadRequestMetaList from ...types.paginated_file_list import PaginatedFileList from .types.files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy -from .types.files_list_request_expand import FilesListRequestExpand +from .types.files_list_request_expand_item import FilesListRequestExpandItem from .types.files_list_request_order_by import FilesListRequestOrderBy -from .types.files_retrieve_request_expand import FilesRetrieveRequestExpand +from .types.files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -39,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, folder_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -54,7 +57,7 @@ def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedFileList]: + ) -> SyncPager[File]: """ Returns a list of `File` objects. @@ -72,7 +75,7 @@ def list( drive_id : typing.Optional[str] Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - expand : typing.Optional[FilesListRequestExpand] + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. folder_id : typing.Optional[str] @@ -103,7 +106,7 @@ def list( Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return files created in the third party platform after this datetime. @@ -119,7 +122,7 @@ def list( Returns ------- - HttpResponse[PaginatedFileList] + SyncPager[File] """ _response = self._client_wrapper.httpx_client.request( @@ -153,14 +156,40 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedFileList, construct_type( type_=PaginatedFileList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -230,7 +259,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -242,7 +273,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[FilesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -349,14 +380,14 @@ def download_request_meta_retrieve( request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[DownloadRequestMeta]: """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our direct file download help center article. Parameters ---------- id : str mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + If provided, specifies the export format of the file to be downloaded. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -403,7 +434,7 @@ def download_request_meta_list( order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDownloadRequestMetaList]: + ) -> SyncPager[DownloadRequestMeta]: """ Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. @@ -444,7 +475,7 @@ def download_request_meta_list( Returns ------- - HttpResponse[PaginatedDownloadRequestMetaList] + SyncPager[DownloadRequestMeta] """ _response = self._client_wrapper.httpx_client.request( @@ -466,14 +497,32 @@ def download_request_meta_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDownloadRequestMetaList, construct_type( type_=PaginatedDownloadRequestMetaList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -527,7 +576,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FilesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]] + ] = None, folder_id: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, @@ -542,7 +593,7 @@ async def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedFileList]: + ) -> AsyncPager[File]: """ Returns a list of `File` objects. @@ -560,7 +611,7 @@ async def list( drive_id : typing.Optional[str] Specifying a drive id returns only the files in that drive. Specifying null returns only the files outside the top-level drive. - expand : typing.Optional[FilesListRequestExpand] + expand : typing.Optional[typing.Union[FilesListRequestExpandItem, typing.Sequence[FilesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. folder_id : typing.Optional[str] @@ -591,7 +642,7 @@ async def list( Overrides the default ordering for this endpoint. Possible values include: created_at, -created_at, modified_at, -modified_at. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_created_after : typing.Optional[dt.datetime] If provided, will only return files created in the third party platform after this datetime. @@ -607,7 +658,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedFileList] + AsyncPager[File] """ _response = await self._client_wrapper.httpx_client.request( @@ -641,14 +692,43 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedFileList, construct_type( type_=PaginatedFileList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + folder_id=folder_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + mime_type=mime_type, + modified_after=modified_after, + modified_before=modified_before, + name=name, + order_by=order_by, + page_size=page_size, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -718,7 +798,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[FilesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -730,7 +812,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[FilesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FilesRetrieveRequestExpandItem, typing.Sequence[FilesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -838,14 +920,14 @@ async def download_request_meta_retrieve( request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[DownloadRequestMeta]: """ - Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. + Returns metadata to construct an authenticated file download request for a singular file, allowing you to download file directly from the third-party. For information on our download process please refer to our direct file download help center article. Parameters ---------- id : str mime_type : typing.Optional[str] - If provided, specifies the export format of the file to be downloaded. For information on supported export formats, please refer to our export format help center article. + If provided, specifies the export format of the file to be downloaded. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -892,7 +974,7 @@ async def download_request_meta_list( order_by: typing.Optional[FilesDownloadRequestMetaListRequestOrderBy] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDownloadRequestMetaList]: + ) -> AsyncPager[DownloadRequestMeta]: """ Returns metadata to construct authenticated file download requests, allowing you to download files directly from the third-party. @@ -933,7 +1015,7 @@ async def download_request_meta_list( Returns ------- - AsyncHttpResponse[PaginatedDownloadRequestMetaList] + AsyncPager[DownloadRequestMeta] """ _response = await self._client_wrapper.httpx_client.request( @@ -955,14 +1037,35 @@ async def download_request_meta_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDownloadRequestMetaList, construct_type( type_=PaginatedDownloadRequestMetaList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.download_request_meta_list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + mime_types=mime_types, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/files/types/__init__.py b/src/merge/resources/filestorage/resources/files/types/__init__.py index 90775da7..c0027796 100644 --- a/src/merge/resources/filestorage/resources/files/types/__init__.py +++ b/src/merge/resources/filestorage/resources/files/types/__init__.py @@ -7,14 +7,14 @@ if typing.TYPE_CHECKING: from .files_download_request_meta_list_request_order_by import FilesDownloadRequestMetaListRequestOrderBy - from .files_list_request_expand import FilesListRequestExpand + from .files_list_request_expand_item import FilesListRequestExpandItem from .files_list_request_order_by import FilesListRequestOrderBy - from .files_retrieve_request_expand import FilesRetrieveRequestExpand + from .files_retrieve_request_expand_item import FilesRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "FilesDownloadRequestMetaListRequestOrderBy": ".files_download_request_meta_list_request_order_by", - "FilesListRequestExpand": ".files_list_request_expand", + "FilesListRequestExpandItem": ".files_list_request_expand_item", "FilesListRequestOrderBy": ".files_list_request_order_by", - "FilesRetrieveRequestExpand": ".files_retrieve_request_expand", + "FilesRetrieveRequestExpandItem": ".files_retrieve_request_expand_item", } @@ -39,7 +39,7 @@ def __dir__(): __all__ = [ "FilesDownloadRequestMetaListRequestOrderBy", - "FilesListRequestExpand", + "FilesListRequestExpandItem", "FilesListRequestOrderBy", - "FilesRetrieveRequestExpand", + "FilesRetrieveRequestExpandItem", ] diff --git a/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py b/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py deleted file mode 100644 index f4c84b6f..00000000 --- a/src/merge/resources/filestorage/resources/files/types/files_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FilesListRequestExpand(str, enum.Enum): - DRIVE = "drive" - FOLDER = "folder" - FOLDER_DRIVE = "folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_FOLDER = "permissions,folder" - PERMISSIONS_FOLDER_DRIVE = "permissions,folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_folder: typing.Callable[[], T_Result], - permissions_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FilesListRequestExpand.DRIVE: - return drive() - if self is FilesListRequestExpand.FOLDER: - return folder() - if self is FilesListRequestExpand.FOLDER_DRIVE: - return folder_drive() - if self is FilesListRequestExpand.PERMISSIONS: - return permissions() - if self is FilesListRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FilesListRequestExpand.PERMISSIONS_FOLDER: - return permissions_folder() - if self is FilesListRequestExpand.PERMISSIONS_FOLDER_DRIVE: - return permissions_folder_drive() diff --git a/src/merge/resources/filestorage/resources/files/types/files_list_request_expand_item.py b/src/merge/resources/filestorage/resources/files/types/files_list_request_expand_item.py new file mode 100644 index 00000000..70700994 --- /dev/null +++ b/src/merge/resources/filestorage/resources/files/types/files_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FilesListRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + FOLDER = "folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesListRequestExpandItem.DRIVE: + return drive() + if self is FilesListRequestExpandItem.FOLDER: + return folder() + if self is FilesListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py b/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py deleted file mode 100644 index cc09519b..00000000 --- a/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FilesRetrieveRequestExpand(str, enum.Enum): - DRIVE = "drive" - FOLDER = "folder" - FOLDER_DRIVE = "folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_FOLDER = "permissions,folder" - PERMISSIONS_FOLDER_DRIVE = "permissions,folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_folder: typing.Callable[[], T_Result], - permissions_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FilesRetrieveRequestExpand.DRIVE: - return drive() - if self is FilesRetrieveRequestExpand.FOLDER: - return folder() - if self is FilesRetrieveRequestExpand.FOLDER_DRIVE: - return folder_drive() - if self is FilesRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is FilesRetrieveRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FilesRetrieveRequestExpand.PERMISSIONS_FOLDER: - return permissions_folder() - if self is FilesRetrieveRequestExpand.PERMISSIONS_FOLDER_DRIVE: - return permissions_folder_drive() diff --git a/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand_item.py b/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand_item.py new file mode 100644 index 00000000..1770d94e --- /dev/null +++ b/src/merge/resources/filestorage/resources/files/types/files_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FilesRetrieveRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + FOLDER = "folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FilesRetrieveRequestExpandItem.DRIVE: + return drive() + if self is FilesRetrieveRequestExpandItem.FOLDER: + return folder() + if self is FilesRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/filestorage/resources/folders/__init__.py b/src/merge/resources/filestorage/resources/folders/__init__.py index 41e475d7..b9307deb 100644 --- a/src/merge/resources/filestorage/resources/folders/__init__.py +++ b/src/merge/resources/filestorage/resources/folders/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import FoldersListRequestExpand, FoldersRetrieveRequestExpand + from .types import FoldersListRequestExpandItem, FoldersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "FoldersListRequestExpand": ".types", - "FoldersRetrieveRequestExpand": ".types", + "FoldersListRequestExpandItem": ".types", + "FoldersRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["FoldersListRequestExpand", "FoldersRetrieveRequestExpand"] +__all__ = ["FoldersListRequestExpandItem", "FoldersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/filestorage/resources/folders/client.py b/src/merge/resources/filestorage/resources/folders/client.py index 56600980..85b4ee1c 100644 --- a/src/merge/resources/filestorage/resources/folders/client.py +++ b/src/merge/resources/filestorage/resources/folders/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.file_storage_folder_response import FileStorageFolderResponse from ...types.folder import Folder from ...types.folder_request import FolderRequest from ...types.meta_response import MetaResponse -from ...types.paginated_folder_list import PaginatedFolderList from .raw_client import AsyncRawFoldersClient, RawFoldersClient -from .types.folders_list_request_expand import FoldersListRequestExpand -from .types.folders_retrieve_request_expand import FoldersRetrieveRequestExpand +from .types.folders_list_request_expand_item import FoldersListRequestExpandItem +from .types.folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -40,7 +40,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +53,7 @@ def list( parent_folder_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFolderList: + ) -> SyncPager[Folder]: """ Returns a list of `Folder` objects. @@ -69,7 +71,7 @@ def list( drive_id : typing.Optional[str] If provided, will only return folders in this drive. - expand : typing.Optional[FoldersListRequestExpand] + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -91,7 +93,7 @@ def list( If provided, will only return folders with this name. This performs an exact match. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. parent_folder_id : typing.Optional[str] If provided, will only return folders in this parent folder. If null, will return folders in root directory. @@ -104,7 +106,7 @@ def list( Returns ------- - PaginatedFolderList + SyncPager[Folder] Examples @@ -112,15 +114,12 @@ def list( import datetime from merge import Merge - from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.folders.list( + response = client.filestorage.folders.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -129,7 +128,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -144,8 +142,13 @@ def list( parent_folder_id="parent_folder_id", remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -162,7 +165,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -217,7 +219,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -229,7 +233,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[FoldersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -249,9 +253,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -259,7 +260,6 @@ def retrieve( ) client.filestorage.folders.retrieve( id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, include_remote_data=True, include_shell_data=True, ) @@ -323,7 +323,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -334,7 +336,7 @@ async def list( parent_folder_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedFolderList: + ) -> AsyncPager[Folder]: """ Returns a list of `Folder` objects. @@ -352,7 +354,7 @@ async def list( drive_id : typing.Optional[str] If provided, will only return folders in this drive. - expand : typing.Optional[FoldersListRequestExpand] + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -374,7 +376,7 @@ async def list( If provided, will only return folders with this name. This performs an exact match. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. parent_folder_id : typing.Optional[str] If provided, will only return folders in this parent folder. If null, will return folders in root directory. @@ -387,7 +389,7 @@ async def list( Returns ------- - PaginatedFolderList + AsyncPager[Folder] Examples @@ -396,9 +398,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.filestorage.resources.folders import ( - FoldersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -407,7 +406,7 @@ async def list( async def main() -> None: - await client.filestorage.folders.list( + response = await client.filestorage.folders.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -416,7 +415,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", drive_id="drive_id", - expand=FoldersListRequestExpand.DRIVE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -431,11 +429,17 @@ async def main() -> None: parent_folder_id="parent_folder_id", remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -452,7 +456,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -515,7 +518,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -527,7 +532,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[FoldersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -549,9 +554,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.filestorage.resources.folders import ( - FoldersRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -562,7 +564,6 @@ async def retrieve( async def main() -> None: await client.filestorage.folders.retrieve( id="id", - expand=FoldersRetrieveRequestExpand.DRIVE, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/filestorage/resources/folders/raw_client.py b/src/merge/resources/filestorage/resources/folders/raw_client.py index 1094fc1c..6678248e 100644 --- a/src/merge/resources/filestorage/resources/folders/raw_client.py +++ b/src/merge/resources/filestorage/resources/folders/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.file_storage_folder_response import FileStorageFolderResponse @@ -16,8 +17,8 @@ from ...types.folder_request import FolderRequest from ...types.meta_response import MetaResponse from ...types.paginated_folder_list import PaginatedFolderList -from .types.folders_list_request_expand import FoldersListRequestExpand -from .types.folders_retrieve_request_expand import FoldersRetrieveRequestExpand +from .types.folders_list_request_expand_item import FoldersListRequestExpandItem +from .types.folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -34,7 +35,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +48,7 @@ def list( parent_folder_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedFolderList]: + ) -> SyncPager[Folder]: """ Returns a list of `Folder` objects. @@ -63,7 +66,7 @@ def list( drive_id : typing.Optional[str] If provided, will only return folders in this drive. - expand : typing.Optional[FoldersListRequestExpand] + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -85,7 +88,7 @@ def list( If provided, will only return folders with this name. This performs an exact match. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. parent_folder_id : typing.Optional[str] If provided, will only return folders in this parent folder. If null, will return folders in root directory. @@ -98,7 +101,7 @@ def list( Returns ------- - HttpResponse[PaginatedFolderList] + SyncPager[Folder] """ _response = self._client_wrapper.httpx_client.request( @@ -124,14 +127,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedFolderList, construct_type( type_=PaginatedFolderList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -201,7 +226,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -213,7 +240,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[FoldersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -303,7 +330,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, drive_id: typing.Optional[str] = None, - expand: typing.Optional[FoldersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -314,7 +343,7 @@ async def list( parent_folder_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedFolderList]: + ) -> AsyncPager[Folder]: """ Returns a list of `Folder` objects. @@ -332,7 +361,7 @@ async def list( drive_id : typing.Optional[str] If provided, will only return folders in this drive. - expand : typing.Optional[FoldersListRequestExpand] + expand : typing.Optional[typing.Union[FoldersListRequestExpandItem, typing.Sequence[FoldersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -354,7 +383,7 @@ async def list( If provided, will only return folders with this name. This performs an exact match. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. parent_folder_id : typing.Optional[str] If provided, will only return folders in this parent folder. If null, will return folders in root directory. @@ -367,7 +396,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedFolderList] + AsyncPager[Folder] """ _response = await self._client_wrapper.httpx_client.request( @@ -393,14 +422,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedFolderList, construct_type( type_=PaginatedFolderList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + drive_id=drive_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_folder_id=parent_folder_id, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -470,7 +524,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[FoldersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -482,7 +538,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[FoldersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[FoldersRetrieveRequestExpandItem, typing.Sequence[FoldersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/filestorage/resources/folders/types/__init__.py b/src/merge/resources/filestorage/resources/folders/types/__init__.py index 6279a573..064c3b61 100644 --- a/src/merge/resources/filestorage/resources/folders/types/__init__.py +++ b/src/merge/resources/filestorage/resources/folders/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .folders_list_request_expand import FoldersListRequestExpand - from .folders_retrieve_request_expand import FoldersRetrieveRequestExpand + from .folders_list_request_expand_item import FoldersListRequestExpandItem + from .folders_retrieve_request_expand_item import FoldersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "FoldersListRequestExpand": ".folders_list_request_expand", - "FoldersRetrieveRequestExpand": ".folders_retrieve_request_expand", + "FoldersListRequestExpandItem": ".folders_list_request_expand_item", + "FoldersRetrieveRequestExpandItem": ".folders_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["FoldersListRequestExpand", "FoldersRetrieveRequestExpand"] +__all__ = ["FoldersListRequestExpandItem", "FoldersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py b/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py deleted file mode 100644 index 59ccf95d..00000000 --- a/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FoldersListRequestExpand(str, enum.Enum): - DRIVE = "drive" - PARENT_FOLDER = "parent_folder" - PARENT_FOLDER_DRIVE = "parent_folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_PARENT_FOLDER = "permissions,parent_folder" - PERMISSIONS_PARENT_FOLDER_DRIVE = "permissions,parent_folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - parent_folder: typing.Callable[[], T_Result], - parent_folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_parent_folder: typing.Callable[[], T_Result], - permissions_parent_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FoldersListRequestExpand.DRIVE: - return drive() - if self is FoldersListRequestExpand.PARENT_FOLDER: - return parent_folder() - if self is FoldersListRequestExpand.PARENT_FOLDER_DRIVE: - return parent_folder_drive() - if self is FoldersListRequestExpand.PERMISSIONS: - return permissions() - if self is FoldersListRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FoldersListRequestExpand.PERMISSIONS_PARENT_FOLDER: - return permissions_parent_folder() - if self is FoldersListRequestExpand.PERMISSIONS_PARENT_FOLDER_DRIVE: - return permissions_parent_folder_drive() diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand_item.py b/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand_item.py new file mode 100644 index 00000000..6a75787d --- /dev/null +++ b/src/merge/resources/filestorage/resources/folders/types/folders_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FoldersListRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + PARENT_FOLDER = "parent_folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + parent_folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FoldersListRequestExpandItem.DRIVE: + return drive() + if self is FoldersListRequestExpandItem.PARENT_FOLDER: + return parent_folder() + if self is FoldersListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py b/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py deleted file mode 100644 index f64d0f9d..00000000 --- a/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class FoldersRetrieveRequestExpand(str, enum.Enum): - DRIVE = "drive" - PARENT_FOLDER = "parent_folder" - PARENT_FOLDER_DRIVE = "parent_folder,drive" - PERMISSIONS = "permissions" - PERMISSIONS_DRIVE = "permissions,drive" - PERMISSIONS_PARENT_FOLDER = "permissions,parent_folder" - PERMISSIONS_PARENT_FOLDER_DRIVE = "permissions,parent_folder,drive" - - def visit( - self, - drive: typing.Callable[[], T_Result], - parent_folder: typing.Callable[[], T_Result], - parent_folder_drive: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_drive: typing.Callable[[], T_Result], - permissions_parent_folder: typing.Callable[[], T_Result], - permissions_parent_folder_drive: typing.Callable[[], T_Result], - ) -> T_Result: - if self is FoldersRetrieveRequestExpand.DRIVE: - return drive() - if self is FoldersRetrieveRequestExpand.PARENT_FOLDER: - return parent_folder() - if self is FoldersRetrieveRequestExpand.PARENT_FOLDER_DRIVE: - return parent_folder_drive() - if self is FoldersRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_DRIVE: - return permissions_drive() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_PARENT_FOLDER: - return permissions_parent_folder() - if self is FoldersRetrieveRequestExpand.PERMISSIONS_PARENT_FOLDER_DRIVE: - return permissions_parent_folder_drive() diff --git a/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand_item.py b/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand_item.py new file mode 100644 index 00000000..f2486a45 --- /dev/null +++ b/src/merge/resources/filestorage/resources/folders/types/folders_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class FoldersRetrieveRequestExpandItem(str, enum.Enum): + DRIVE = "drive" + PARENT_FOLDER = "parent_folder" + PERMISSIONS = "permissions" + + def visit( + self, + drive: typing.Callable[[], T_Result], + parent_folder: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is FoldersRetrieveRequestExpandItem.DRIVE: + return drive() + if self is FoldersRetrieveRequestExpandItem.PARENT_FOLDER: + return parent_folder() + if self is FoldersRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/filestorage/resources/groups/__init__.py b/src/merge/resources/filestorage/resources/groups/__init__.py index 5cde0202..c42a8d2e 100644 --- a/src/merge/resources/filestorage/resources/groups/__init__.py +++ b/src/merge/resources/filestorage/resources/groups/__init__.py @@ -2,3 +2,34 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import GroupsListRequestExpandItem, GroupsRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "GroupsListRequestExpandItem": ".types", + "GroupsRetrieveRequestExpandItem": ".types", +} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + result = getattr(module, attr_name) + return result + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["GroupsListRequestExpandItem", "GroupsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/filestorage/resources/groups/client.py b/src/merge/resources/filestorage/resources/groups/client.py index dd9c8e65..44db404d 100644 --- a/src/merge/resources/filestorage/resources/groups/client.py +++ b/src/merge/resources/filestorage/resources/groups/client.py @@ -4,10 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList from .raw_client import AsyncRawGroupsClient, RawGroupsClient +from .types.groups_list_request_expand_item import GroupsListRequestExpandItem +from .types.groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem class GroupsClient: @@ -31,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -40,7 +44,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> SyncPager[Group]: """ Returns a list of `Group` objects. @@ -55,7 +59,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -74,7 +78,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -84,7 +88,7 @@ def list( Returns ------- - PaginatedGroupList + SyncPager[Group] Examples @@ -97,7 +101,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.groups.list( + response = client.filestorage.groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -117,8 +121,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -132,13 +141,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -150,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -212,7 +222,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -221,7 +233,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> AsyncPager[Group]: """ Returns a list of `Group` objects. @@ -236,7 +248,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -255,7 +267,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -265,7 +277,7 @@ async def list( Returns ------- - PaginatedGroupList + AsyncPager[Group] Examples @@ -282,7 +294,7 @@ async def list( async def main() -> None: - await client.filestorage.groups.list( + response = await client.filestorage.groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -302,11 +314,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -320,13 +338,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -338,7 +357,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/filestorage/resources/groups/raw_client.py b/src/merge/resources/filestorage/resources/groups/raw_client.py index 9ca38893..832c4da6 100644 --- a/src/merge/resources/filestorage/resources/groups/raw_client.py +++ b/src/merge/resources/filestorage/resources/groups/raw_client.py @@ -9,10 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.group import Group from ...types.paginated_group_list import PaginatedGroupList +from .types.groups_list_request_expand_item import GroupsListRequestExpandItem +from .types.groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem class RawGroupsClient: @@ -25,7 +28,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -34,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: + ) -> SyncPager[Group]: """ Returns a list of `Group` objects. @@ -49,7 +54,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -68,7 +73,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -78,7 +83,7 @@ def list( Returns ------- - HttpResponse[PaginatedGroupList] + SyncPager[Group] """ _response = self._client_wrapper.httpx_client.request( @@ -101,14 +106,33 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -118,7 +142,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -130,7 +156,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -183,7 +209,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -192,7 +220,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: + ) -> AsyncPager[Group]: """ Returns a list of `Group` objects. @@ -207,7 +235,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsListRequestExpandItem, typing.Sequence[GroupsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -226,7 +254,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -236,7 +264,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedGroupList] + AsyncPager[Group] """ _response = await self._client_wrapper.httpx_client.request( @@ -259,14 +287,36 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -276,7 +326,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["child_groups"]] = None, + expand: typing.Optional[ + typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -288,7 +340,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["child_groups"]] + expand : typing.Optional[typing.Union[GroupsRetrieveRequestExpandItem, typing.Sequence[GroupsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/chat/resources/link_token/__init__.py b/src/merge/resources/filestorage/resources/groups/types/__init__.py similarity index 69% rename from src/merge/resources/chat/resources/link_token/__init__.py rename to src/merge/resources/filestorage/resources/groups/types/__init__.py index be8c3839..9f5d7290 100644 --- a/src/merge/resources/chat/resources/link_token/__init__.py +++ b/src/merge/resources/filestorage/resources/groups/types/__init__.py @@ -6,10 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage + from .groups_list_request_expand_item import GroupsListRequestExpandItem + from .groups_retrieve_request_expand_item import GroupsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", + "GroupsListRequestExpandItem": ".groups_list_request_expand_item", + "GroupsRetrieveRequestExpandItem": ".groups_retrieve_request_expand_item", } @@ -32,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["GroupsListRequestExpandItem", "GroupsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/filestorage/resources/groups/types/groups_list_request_expand_item.py b/src/merge/resources/filestorage/resources/groups/types/groups_list_request_expand_item.py new file mode 100644 index 00000000..7e74c3cc --- /dev/null +++ b/src/merge/resources/filestorage/resources/groups/types/groups_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsListRequestExpandItem(str, enum.Enum): + CHILD_GROUPS = "child_groups" + USERS = "users" + + def visit(self, child_groups: typing.Callable[[], T_Result], users: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsListRequestExpandItem.CHILD_GROUPS: + return child_groups() + if self is GroupsListRequestExpandItem.USERS: + return users() diff --git a/src/merge/resources/filestorage/resources/groups/types/groups_retrieve_request_expand_item.py b/src/merge/resources/filestorage/resources/groups/types/groups_retrieve_request_expand_item.py new file mode 100644 index 00000000..4843d494 --- /dev/null +++ b/src/merge/resources/filestorage/resources/groups/types/groups_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class GroupsRetrieveRequestExpandItem(str, enum.Enum): + CHILD_GROUPS = "child_groups" + USERS = "users" + + def visit(self, child_groups: typing.Callable[[], T_Result], users: typing.Callable[[], T_Result]) -> T_Result: + if self is GroupsRetrieveRequestExpandItem.CHILD_GROUPS: + return child_groups() + if self is GroupsRetrieveRequestExpandItem.USERS: + return users() diff --git a/src/merge/resources/filestorage/resources/issues/client.py b/src/merge/resources/filestorage/resources/issues/client.py index 423a956a..439ec69b 100644 --- a/src/merge/resources/filestorage/resources/issues/client.py +++ b/src/merge/resources/filestorage/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -81,7 +81,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.issues.list( + response = client.filestorage.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -257,7 +261,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.filestorage.issues.list( + response = await client.filestorage.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/filestorage/resources/issues/raw_client.py b/src/merge/resources/filestorage/resources/issues/raw_client.py index 2c87dada..3707c8b7 100644 --- a/src/merge/resources/filestorage/resources/issues/raw_client.py +++ b/src/merge/resources/filestorage/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -75,7 +76,7 @@ def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -234,7 +257,7 @@ async def list( If provided, will only include issues pertaining to the linked account passed in. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include issues whose most recent action occurred after this time @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/link_token/__init__.py b/src/merge/resources/filestorage/resources/link_token/__init__.py index 5cde0202..3bad6adf 100644 --- a/src/merge/resources/filestorage/resources/link_token/__init__.py +++ b/src/merge/resources/filestorage/resources/link_token/__init__.py @@ -2,3 +2,31 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + result = getattr(module, attr_name) + return result + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/filestorage/resources/link_token/client.py b/src/merge/resources/filestorage/resources/link_token/client.py index 9f8213f5..e1c3a8a2 100644 --- a/src/merge/resources/filestorage/resources/link_token/client.py +++ b/src/merge/resources/filestorage/resources/link_token/client.py @@ -7,9 +7,9 @@ from ...types.categories_enum import CategoriesEnum from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.language_enum import LanguageEnum from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -45,13 +45,13 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -85,7 +85,7 @@ def create( category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -170,13 +170,13 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -210,7 +210,7 @@ async def create( category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en diff --git a/src/merge/resources/filestorage/resources/link_token/raw_client.py b/src/merge/resources/filestorage/resources/link_token/raw_client.py index 391c7bb5..7bed415c 100644 --- a/src/merge/resources/filestorage/resources/link_token/raw_client.py +++ b/src/merge/resources/filestorage/resources/link_token/raw_client.py @@ -11,8 +11,8 @@ from ...types.categories_enum import CategoriesEnum from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.language_enum import LanguageEnum from ...types.link_token import LinkToken +from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -37,13 +37,13 @@ def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -77,7 +77,7 @@ def create( category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en @@ -156,13 +156,13 @@ async def create( category_common_model_scopes: typing.Optional[ typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] ] = OMIT, - language: typing.Optional[LanguageEnum] = OMIT, + language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -196,7 +196,7 @@ async def create( category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - language : typing.Optional[LanguageEnum] + language : typing.Optional[EndUserDetailsRequestLanguage] The following subset of IETF language tags can be used to configure localization. * `en` - en diff --git a/src/merge/resources/chat/resources/issues/__init__.py b/src/merge/resources/filestorage/resources/link_token/types/__init__.py similarity index 78% rename from src/merge/resources/chat/resources/issues/__init__.py rename to src/merge/resources/filestorage/resources/link_token/types/__init__.py index 3ca1094b..e9a7d3b9 100644 --- a/src/merge/resources/chat/resources/issues/__init__.py +++ b/src/merge/resources/filestorage/resources/link_token/types/__init__.py @@ -6,8 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} + from .end_user_details_request_language import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["IssuesListRequestStatus"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/chat/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/filestorage/resources/link_token/types/end_user_details_request_language.py similarity index 100% rename from src/merge/resources/chat/resources/link_token/types/end_user_details_request_language.py rename to src/merge/resources/filestorage/resources/link_token/types/end_user_details_request_language.py diff --git a/src/merge/resources/filestorage/resources/linked_accounts/client.py b/src/merge/resources/filestorage/resources/linked_accounts/client.py index dbe48ae0..7b9cc272 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/client.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -88,7 +89,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -98,7 +99,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.linked_accounts.list( + response = client.filestorage.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +128,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +150,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +184,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -226,7 +231,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -236,7 +241,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +260,7 @@ async def list( async def main() -> None: - await client.filestorage.linked_accounts.list( + response = await client.filestorage.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +275,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +301,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py b/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py index 84226075..42f8665f 100644 --- a/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/filestorage/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -80,7 +81,7 @@ def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +172,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -197,7 +219,7 @@ async def list( If included, will only include test linked accounts. If not included, will only include non-test linked accounts. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. status : typing.Optional[str] Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` @@ -207,7 +229,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +254,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/sync_status/client.py b/src/merge/resources/filestorage/resources/sync_status/client.py index 1ac89821..3795eec7 100644 --- a/src/merge/resources/filestorage/resources/sync_status/client.py +++ b/src/merge/resources/filestorage/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -39,14 +40,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.sync_status.list( + response = client.filestorage.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -97,14 +102,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.filestorage.sync_status.list( + response = await client.filestorage.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/filestorage/resources/sync_status/raw_client.py b/src/merge/resources/filestorage/resources/sync_status/raw_client.py index a3fccfec..71c1210f 100644 --- a/src/merge/resources/filestorage/resources/sync_status/raw_client.py +++ b/src/merge/resources/filestorage/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -31,14 +32,14 @@ def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -86,14 +97,14 @@ async def list( The pagination cursor value. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/resources/users/client.py b/src/merge/resources/filestorage/resources/users/client.py index 47767f06..9aeef6ab 100644 --- a/src/merge/resources/filestorage/resources/users/client.py +++ b/src/merge/resources/filestorage/resources/users/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList from ...types.user import User from .raw_client import AsyncRawUsersClient, RawUsersClient @@ -31,6 +31,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, + email_address: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -40,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -55,6 +56,9 @@ def list( cursor : typing.Optional[str] The pagination cursor value. + email_address : typing.Optional[str] + If provided, will only return users with emails equal to this value (case insensitive). + include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -74,7 +78,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -84,7 +88,7 @@ def list( Returns ------- - PaginatedUserList + SyncPager[User] Examples @@ -97,7 +101,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.filestorage.users.list( + response = client.filestorage.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -105,6 +109,7 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_address="email_address", include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -118,11 +123,17 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, + email_address=email_address, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -133,7 +144,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -208,6 +218,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, + email_address: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -217,7 +228,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -232,6 +243,9 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. + email_address : typing.Optional[str] + If provided, will only return users with emails equal to this value (case insensitive). + include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -251,7 +265,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -261,7 +275,7 @@ async def list( Returns ------- - PaginatedUserList + AsyncPager[User] Examples @@ -278,7 +292,7 @@ async def list( async def main() -> None: - await client.filestorage.users.list( + response = await client.filestorage.users.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -286,6 +300,7 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", + email_address="email_address", include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -299,14 +314,21 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, + email_address=email_address, include_deleted_data=include_deleted_data, include_remote_data=include_remote_data, include_shell_data=include_shell_data, @@ -317,7 +339,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/filestorage/resources/users/raw_client.py b/src/merge/resources/filestorage/resources/users/raw_client.py index 71f11280..476e9a7b 100644 --- a/src/merge/resources/filestorage/resources/users/raw_client.py +++ b/src/merge/resources/filestorage/resources/users/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_user_list import PaginatedUserList @@ -25,6 +26,7 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, + email_address: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -34,7 +36,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -49,6 +51,9 @@ def list( cursor : typing.Optional[str] The pagination cursor value. + email_address : typing.Optional[str] + If provided, will only return users with emails equal to this value (case insensitive). + include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -68,7 +73,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -78,7 +83,7 @@ def list( Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User] """ _response = self._client_wrapper.httpx_client.request( @@ -88,6 +93,7 @@ def list( "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, + "email_address": email_address, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, @@ -101,14 +107,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -178,6 +204,7 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, + email_address: typing.Optional[str] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -187,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -202,6 +229,9 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. + email_address : typing.Optional[str] + If provided, will only return users with emails equal to this value (case insensitive). + include_deleted_data : typing.Optional[bool] Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -221,7 +251,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -231,7 +261,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User] """ _response = await self._client_wrapper.httpx_client.request( @@ -241,6 +271,7 @@ async def list( "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, + "email_address": email_address, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_shell_data": include_shell_data, @@ -254,14 +285,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_me=is_me, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/filestorage/types/__init__.py b/src/merge/resources/filestorage/types/__init__.py index 88a872d6..27b840b1 100644 --- a/src/merge/resources/filestorage/types/__init__.py +++ b/src/merge/resources/filestorage/types/__init__.py @@ -8,8 +8,11 @@ if typing.TYPE_CHECKING: from .account_details import AccountDetails from .account_details_and_actions import AccountDetailsAndActions + from .account_details_and_actions_category import AccountDetailsAndActionsCategory from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration + from .account_details_and_actions_status import AccountDetailsAndActionsStatus from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum + from .account_details_category import AccountDetailsCategory from .account_integration import AccountIntegration from .account_token import AccountToken from .advanced_metadata import AdvancedMetadata @@ -103,6 +106,7 @@ from .permission_roles_item import PermissionRolesItem from .permission_type import PermissionType from .permission_user import PermissionUser + from .regenerate_account_token import RegenerateAccountToken from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo from .remote_field_api import RemoteFieldApi @@ -110,6 +114,7 @@ from .remote_field_api_response import RemoteFieldApiResponse from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role_enum import RoleEnum @@ -118,6 +123,7 @@ from .status_fd_5_enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus from .type_enum import TypeEnum from .user import User from .validation_problem_source import ValidationProblemSource @@ -126,8 +132,11 @@ _dynamic_imports: typing.Dict[str, str] = { "AccountDetails": ".account_details", "AccountDetailsAndActions": ".account_details_and_actions", + "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", + "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", + "AccountDetailsCategory": ".account_details_category", "AccountIntegration": ".account_integration", "AccountToken": ".account_token", "AdvancedMetadata": ".advanced_metadata", @@ -219,6 +228,7 @@ "PermissionRolesItem": ".permission_roles_item", "PermissionType": ".permission_type", "PermissionUser": ".permission_user", + "RegenerateAccountToken": ".regenerate_account_token", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", "RemoteFieldApi": ".remote_field_api", @@ -226,6 +236,7 @@ "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "RoleEnum": ".role_enum", @@ -234,6 +245,7 @@ "StatusFd5Enum": ".status_fd_5_enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", "TypeEnum": ".type_enum", "User": ".user", "ValidationProblemSource": ".validation_problem_source", @@ -264,8 +276,11 @@ def __dir__(): __all__ = [ "AccountDetails", "AccountDetailsAndActions", + "AccountDetailsAndActionsCategory", "AccountDetailsAndActionsIntegration", + "AccountDetailsAndActionsStatus", "AccountDetailsAndActionsStatusEnum", + "AccountDetailsCategory", "AccountIntegration", "AccountToken", "AdvancedMetadata", @@ -357,6 +372,7 @@ def __dir__(): "PermissionRolesItem", "PermissionType", "PermissionUser", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteFieldApi", @@ -364,6 +380,7 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "RoleEnum", @@ -372,6 +389,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "TypeEnum", "User", "ValidationProblemSource", diff --git a/src/merge/resources/filestorage/types/account_details.py b/src/merge/resources/filestorage/types/account_details.py index 58b10279..98923cd8 100644 --- a/src/merge/resources/filestorage/types/account_details.py +++ b/src/merge/resources/filestorage/types/account_details.py @@ -6,14 +6,14 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .category_enum import CategoryEnum +from .account_details_category import AccountDetailsCategory class AccountDetails(UncheckedBaseModel): id: typing.Optional[str] = None integration: typing.Optional[str] = None integration_slug: typing.Optional[str] = None - category: typing.Optional[CategoryEnum] = None + category: typing.Optional[AccountDetailsCategory] = None end_user_origin_id: typing.Optional[str] = None end_user_organization_name: typing.Optional[str] = None end_user_email_address: typing.Optional[str] = None diff --git a/src/merge/resources/filestorage/types/account_details_and_actions.py b/src/merge/resources/filestorage/types/account_details_and_actions.py index 897c08ba..93c874ed 100644 --- a/src/merge/resources/filestorage/types/account_details_and_actions.py +++ b/src/merge/resources/filestorage/types/account_details_and_actions.py @@ -6,9 +6,9 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .account_details_and_actions_category import AccountDetailsAndActionsCategory from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum -from .category_enum import CategoryEnum +from .account_details_and_actions_status import AccountDetailsAndActionsStatus class AccountDetailsAndActions(UncheckedBaseModel): @@ -22,8 +22,8 @@ class AccountDetailsAndActions(UncheckedBaseModel): """ id: str - category: typing.Optional[CategoryEnum] = None - status: AccountDetailsAndActionsStatusEnum + category: typing.Optional[AccountDetailsAndActionsCategory] = None + status: AccountDetailsAndActionsStatus status_detail: typing.Optional[str] = None end_user_origin_id: typing.Optional[str] = None end_user_organization_name: str diff --git a/src/merge/resources/chat/types/account_details_and_actions_category.py b/src/merge/resources/filestorage/types/account_details_and_actions_category.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_category.py rename to src/merge/resources/filestorage/types/account_details_and_actions_category.py diff --git a/src/merge/resources/chat/types/account_details_and_actions_status.py b/src/merge/resources/filestorage/types/account_details_and_actions_status.py similarity index 100% rename from src/merge/resources/chat/types/account_details_and_actions_status.py rename to src/merge/resources/filestorage/types/account_details_and_actions_status.py diff --git a/src/merge/resources/chat/types/account_details_category.py b/src/merge/resources/filestorage/types/account_details_category.py similarity index 100% rename from src/merge/resources/chat/types/account_details_category.py rename to src/merge/resources/filestorage/types/account_details_category.py diff --git a/src/merge/resources/filestorage/types/drive.py b/src/merge/resources/filestorage/types/drive.py index c0f931ee..50a5f2bf 100644 --- a/src/merge/resources/filestorage/types/drive.py +++ b/src/merge/resources/filestorage/types/drive.py @@ -49,11 +49,6 @@ class Drive(UncheckedBaseModel): The drive's url. """ - size: typing.Optional[int] = pydantic.Field(default=None) - """ - The drive's size, in bytes. - """ - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). diff --git a/src/merge/resources/filestorage/types/field_mapping_api_instance.py b/src/merge/resources/filestorage/types/field_mapping_api_instance.py index a5815313..0d257dcb 100644 --- a/src/merge/resources/filestorage/types/field_mapping_api_instance.py +++ b/src/merge/resources/filestorage/types/field_mapping_api_instance.py @@ -14,6 +14,7 @@ class FieldMappingApiInstance(UncheckedBaseModel): is_integration_wide: typing.Optional[bool] = None target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None + jmes_path: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/filestorage/types/permission.py b/src/merge/resources/filestorage/types/permission.py index 19cb335f..954f589f 100644 --- a/src/merge/resources/filestorage/types/permission.py +++ b/src/merge/resources/filestorage/types/permission.py @@ -65,6 +65,13 @@ class Permission(UncheckedBaseModel): The permissions that the user or group has for the File or Folder. It is possible for a user or group to have multiple roles, such as viewing & uploading. Possible values include: `READ`, `WRITE`, `OWNER`. In cases where there is no clear mapping, the original value passed through will be returned. """ + remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) + """ + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + """ + + field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 else: diff --git a/src/merge/resources/filestorage/types/regenerate_account_token.py b/src/merge/resources/filestorage/types/regenerate_account_token.py new file mode 100644 index 00000000..5c31cf57 --- /dev/null +++ b/src/merge/resources/filestorage/types/regenerate_account_token.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class RegenerateAccountToken(UncheckedBaseModel): + """ + # The RegenerateAccountToken Object + ### Description + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. + + ### Usage Example + Post to receive a new `RegenerateAccountToken`. + """ + + linked_account_id: str + account_token: str + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/filestorage/types/remote_response.py b/src/merge/resources/filestorage/types/remote_response.py index af181fc0..db01131f 100644 --- a/src/merge/resources/filestorage/types/remote_response.py +++ b/src/merge/resources/filestorage/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -23,7 +23,7 @@ class RemoteResponse(UncheckedBaseModel): status: int response: typing.Optional[typing.Any] = None response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None + response_type: typing.Optional[RemoteResponseResponseType] = None headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/filestorage/types/remote_response_response_type.py b/src/merge/resources/filestorage/types/remote_response_response_type.py new file mode 100644 index 00000000..2556417a --- /dev/null +++ b/src/merge/resources/filestorage/types/remote_response_response_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .response_type_enum import ResponseTypeEnum + +RemoteResponseResponseType = typing.Union[ResponseTypeEnum, str] diff --git a/src/merge/resources/filestorage/types/role_enum.py b/src/merge/resources/filestorage/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/filestorage/types/role_enum.py +++ b/src/merge/resources/filestorage/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/filestorage/types/sync_status.py b/src/merge/resources/filestorage/types/sync_status.py index 4a628c4f..07ab1dc2 100644 --- a/src/merge/resources/filestorage/types/sync_status.py +++ b/src/merge/resources/filestorage/types/sync_status.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum from .sync_status_last_sync_result import SyncStatusLastSyncResult +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -27,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/chat/types/sync_status_status.py b/src/merge/resources/filestorage/types/sync_status_status.py similarity index 100% rename from src/merge/resources/chat/types/sync_status_status.py rename to src/merge/resources/filestorage/types/sync_status_status.py diff --git a/src/merge/resources/hris/__init__.py b/src/merge/resources/hris/__init__.py index 634ca2a4..09c0c151 100644 --- a/src/merge/resources/hris/__init__.py +++ b/src/merge/resources/hris/__init__.py @@ -34,7 +34,6 @@ CommonModelScopeApi, CommonModelScopesBodyRequest, Company, - CompletedAccountInitialScreenEnum, CountryEnum, DataPassthroughRequest, DebugModeLog, @@ -108,6 +107,8 @@ Group, GroupType, GroupTypeEnum, + IgnoreCommonModelRequest, + IgnoreCommonModelRequestReason, IndividualCommonModelScopeDeserializer, IndividualCommonModelScopeDeserializerRequest, Issue, @@ -128,7 +129,6 @@ ModelPermissionDeserializer, ModelPermissionDeserializerRequest, MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, PaginatedAccountDetailsAndActionsList, PaginatedAuditLogEventList, PaginatedBankInfoList, @@ -158,6 +158,7 @@ PayrollRunRunType, PolicyTypeEnum, ReasonEnum, + RegenerateAccountToken, RelationshipEnum, RemoteData, RemoteEndpointInfo, @@ -177,6 +178,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, Tax, Team, TeamParentTeam, @@ -211,25 +213,24 @@ AsyncPassthroughRetrieveResponse, BankInfoListRequestAccountType, BankInfoListRequestOrderBy, - EmployeePayrollRunsListRequestExpand, - EmployeePayrollRunsRetrieveRequestExpand, + EmployeePayrollRunsListRequestExpandItem, + EmployeePayrollRunsRetrieveRequestExpandItem, EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, - EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage, - IgnoreCommonModelRequestReason, + GroupsTypesListResponse, IssuesListRequestStatus, LinkedAccountsListRequestCategory, LocationsListRequestLocationType, @@ -243,12 +244,12 @@ PayrollRunsRetrieveRequestRemoteFields, PayrollRunsRetrieveRequestShowEnumOrigins, TimeOffBalancesListRequestPolicyType, - TimeOffListRequestExpand, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, TimesheetEntriesListRequestOrderBy, @@ -317,7 +318,6 @@ "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", "Company": ".types", - "CompletedAccountInitialScreenEnum": ".types", "CountryEnum": ".types", "DataPassthroughRequest": ".types", "DebugModeLog": ".types", @@ -343,8 +343,8 @@ "EmployeePayrollRun": ".types", "EmployeePayrollRunEmployee": ".types", "EmployeePayrollRunPayrollRun": ".types", - "EmployeePayrollRunsListRequestExpand": ".resources", - "EmployeePayrollRunsRetrieveRequestExpand": ".resources", + "EmployeePayrollRunsListRequestExpandItem": ".resources", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".resources", "EmployeeRequest": ".types", "EmployeeRequestCompany": ".types", "EmployeeRequestEmploymentStatus": ".types", @@ -362,10 +362,10 @@ "EmployeeTeam": ".types", "EmployeeWorkLocation": ".types", "EmployeesListRequestEmploymentStatus": ".resources", - "EmployeesListRequestExpand": ".resources", + "EmployeesListRequestExpandItem": ".resources", "EmployeesListRequestRemoteFields": ".resources", "EmployeesListRequestShowEnumOrigins": ".resources", - "EmployeesRetrieveRequestExpand": ".resources", + "EmployeesRetrieveRequestExpandItem": ".resources", "EmployeesRetrieveRequestRemoteFields": ".resources", "EmployeesRetrieveRequestShowEnumOrigins": ".resources", "EmployerBenefit": ".types", @@ -380,16 +380,15 @@ "EmploymentPayPeriod": ".types", "EmploymentStatusEnum": ".types", "EmploymentTypeEnum": ".types", - "EmploymentsListRequestExpand": ".resources", + "EmploymentsListRequestExpandItem": ".resources", "EmploymentsListRequestOrderBy": ".resources", "EmploymentsListRequestRemoteFields": ".resources", "EmploymentsListRequestShowEnumOrigins": ".resources", - "EmploymentsRetrieveRequestExpand": ".resources", + "EmploymentsRetrieveRequestExpandItem": ".resources", "EmploymentsRetrieveRequestRemoteFields": ".resources", "EmploymentsRetrieveRequestShowEnumOrigins": ".resources", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EthnicityEnum": ".types", @@ -409,7 +408,9 @@ "Group": ".types", "GroupType": ".types", "GroupTypeEnum": ".types", - "IgnoreCommonModelRequestReason": ".resources", + "GroupsTypesListResponse": ".resources", + "IgnoreCommonModelRequest": ".types", + "IgnoreCommonModelRequestReason": ".types", "IndividualCommonModelScopeDeserializer": ".types", "IndividualCommonModelScopeDeserializerRequest": ".types", "Issue": ".types", @@ -437,7 +438,6 @@ "ModelPermissionDeserializer": ".types", "ModelPermissionDeserializerRequest": ".types", "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", "PaginatedAccountDetailsAndActionsList": ".types", "PaginatedAuditLogEventList": ".types", "PaginatedBankInfoList": ".types", @@ -472,6 +472,7 @@ "PayrollRunsRetrieveRequestShowEnumOrigins": ".resources", "PolicyTypeEnum": ".types", "ReasonEnum": ".types", + "RegenerateAccountToken": ".types", "RelationshipEnum": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", @@ -491,6 +492,7 @@ "StatusFd5Enum": ".types", "SyncStatus": ".types", "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", "Tax": ".types", "Team": ".types", "TeamParentTeam": ".types", @@ -501,7 +503,7 @@ "TimeOffBalancePolicyType": ".types", "TimeOffBalancesListRequestPolicyType": ".resources", "TimeOffEmployee": ".types", - "TimeOffListRequestExpand": ".resources", + "TimeOffListRequestExpandItem": ".resources", "TimeOffListRequestRemoteFields": ".resources", "TimeOffListRequestRequestType": ".resources", "TimeOffListRequestShowEnumOrigins": ".resources", @@ -514,7 +516,7 @@ "TimeOffRequestType": ".types", "TimeOffRequestUnits": ".types", "TimeOffResponse": ".types", - "TimeOffRetrieveRequestExpand": ".resources", + "TimeOffRetrieveRequestExpandItem": ".resources", "TimeOffRetrieveRequestRemoteFields": ".resources", "TimeOffRetrieveRequestShowEnumOrigins": ".resources", "TimeOffStatus": ".types", @@ -616,7 +618,6 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "Company", - "CompletedAccountInitialScreenEnum", "CountryEnum", "DataPassthroughRequest", "DebugModeLog", @@ -642,8 +643,8 @@ def __dir__(): "EmployeePayrollRun", "EmployeePayrollRunEmployee", "EmployeePayrollRunPayrollRun", - "EmployeePayrollRunsListRequestExpand", - "EmployeePayrollRunsRetrieveRequestExpand", + "EmployeePayrollRunsListRequestExpandItem", + "EmployeePayrollRunsRetrieveRequestExpandItem", "EmployeeRequest", "EmployeeRequestCompany", "EmployeeRequestEmploymentStatus", @@ -661,10 +662,10 @@ def __dir__(): "EmployeeTeam", "EmployeeWorkLocation", "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", "EmployerBenefit", @@ -679,16 +680,15 @@ def __dir__(): "EmploymentPayPeriod", "EmploymentStatusEnum", "EmploymentTypeEnum", - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", "EnabledActionsEnum", "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EthnicityEnum", @@ -708,6 +708,8 @@ def __dir__(): "Group", "GroupType", "GroupTypeEnum", + "GroupsTypesListResponse", + "IgnoreCommonModelRequest", "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", @@ -736,7 +738,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAuditLogEventList", "PaginatedBankInfoList", @@ -771,6 +772,7 @@ def __dir__(): "PayrollRunsRetrieveRequestShowEnumOrigins", "PolicyTypeEnum", "ReasonEnum", + "RegenerateAccountToken", "RelationshipEnum", "RemoteData", "RemoteEndpointInfo", @@ -790,6 +792,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tax", "Team", "TeamParentTeam", @@ -800,7 +803,7 @@ def __dir__(): "TimeOffBalancePolicyType", "TimeOffBalancesListRequestPolicyType", "TimeOffEmployee", - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", @@ -813,7 +816,7 @@ def __dir__(): "TimeOffRequestType", "TimeOffRequestUnits", "TimeOffResponse", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", "TimeOffStatus", diff --git a/src/merge/resources/hris/resources/__init__.py b/src/merge/resources/hris/resources/__init__.py index 18381433..7f75e17c 100644 --- a/src/merge/resources/hris/resources/__init__.py +++ b/src/merge/resources/hris/resources/__init__.py @@ -43,28 +43,31 @@ ) from .async_passthrough import AsyncPassthroughRetrieveResponse from .bank_info import BankInfoListRequestAccountType, BankInfoListRequestOrderBy - from .employee_payroll_runs import EmployeePayrollRunsListRequestExpand, EmployeePayrollRunsRetrieveRequestExpand + from .employee_payroll_runs import ( + EmployeePayrollRunsListRequestExpandItem, + EmployeePayrollRunsRetrieveRequestExpandItem, + ) from .employees import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - IgnoreCommonModelRequestReason, ) from .employments import ( - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) + from .groups import GroupsTypesListResponse from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage + from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory from .locations import ( LocationsListRequestLocationType, @@ -81,12 +84,12 @@ PayrollRunsRetrieveRequestShowEnumOrigins, ) from .time_off import ( - TimeOffListRequestExpand, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) @@ -96,25 +99,24 @@ "AsyncPassthroughRetrieveResponse": ".async_passthrough", "BankInfoListRequestAccountType": ".bank_info", "BankInfoListRequestOrderBy": ".bank_info", - "EmployeePayrollRunsListRequestExpand": ".employee_payroll_runs", - "EmployeePayrollRunsRetrieveRequestExpand": ".employee_payroll_runs", + "EmployeePayrollRunsListRequestExpandItem": ".employee_payroll_runs", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".employee_payroll_runs", "EmployeesListRequestEmploymentStatus": ".employees", - "EmployeesListRequestExpand": ".employees", + "EmployeesListRequestExpandItem": ".employees", "EmployeesListRequestRemoteFields": ".employees", "EmployeesListRequestShowEnumOrigins": ".employees", - "EmployeesRetrieveRequestExpand": ".employees", + "EmployeesRetrieveRequestExpandItem": ".employees", "EmployeesRetrieveRequestRemoteFields": ".employees", "EmployeesRetrieveRequestShowEnumOrigins": ".employees", - "EmploymentsListRequestExpand": ".employments", + "EmploymentsListRequestExpandItem": ".employments", "EmploymentsListRequestOrderBy": ".employments", "EmploymentsListRequestRemoteFields": ".employments", "EmploymentsListRequestShowEnumOrigins": ".employments", - "EmploymentsRetrieveRequestExpand": ".employments", + "EmploymentsRetrieveRequestExpandItem": ".employments", "EmploymentsRetrieveRequestRemoteFields": ".employments", "EmploymentsRetrieveRequestShowEnumOrigins": ".employments", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", "EndUserDetailsRequestLanguage": ".link_token", - "IgnoreCommonModelRequestReason": ".employees", + "GroupsTypesListResponse": ".groups", "IssuesListRequestStatus": ".issues", "LinkedAccountsListRequestCategory": ".linked_accounts", "LocationsListRequestLocationType": ".locations", @@ -128,12 +130,12 @@ "PayrollRunsRetrieveRequestRemoteFields": ".payroll_runs", "PayrollRunsRetrieveRequestShowEnumOrigins": ".payroll_runs", "TimeOffBalancesListRequestPolicyType": ".time_off_balances", - "TimeOffListRequestExpand": ".time_off", + "TimeOffListRequestExpandItem": ".time_off", "TimeOffListRequestRemoteFields": ".time_off", "TimeOffListRequestRequestType": ".time_off", "TimeOffListRequestShowEnumOrigins": ".time_off", "TimeOffListRequestStatus": ".time_off", - "TimeOffRetrieveRequestExpand": ".time_off", + "TimeOffRetrieveRequestExpandItem": ".time_off", "TimeOffRetrieveRequestRemoteFields": ".time_off", "TimeOffRetrieveRequestShowEnumOrigins": ".time_off", "TimesheetEntriesListRequestOrderBy": ".timesheet_entries", @@ -196,25 +198,24 @@ def __dir__(): "AsyncPassthroughRetrieveResponse", "BankInfoListRequestAccountType", "BankInfoListRequestOrderBy", - "EmployeePayrollRunsListRequestExpand", - "EmployeePayrollRunsRetrieveRequestExpand", + "EmployeePayrollRunsListRequestExpandItem", + "EmployeePayrollRunsRetrieveRequestExpandItem", "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", - "IgnoreCommonModelRequestReason", + "GroupsTypesListResponse", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", "LocationsListRequestLocationType", @@ -228,12 +229,12 @@ def __dir__(): "PayrollRunsRetrieveRequestRemoteFields", "PayrollRunsRetrieveRequestShowEnumOrigins", "TimeOffBalancesListRequestPolicyType", - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", "TimesheetEntriesListRequestOrderBy", diff --git a/src/merge/resources/hris/resources/account_token/client.py b/src/merge/resources/hris/resources/account_token/client.py index 0c87b2ea..8e7c5b75 100644 --- a/src/merge/resources/hris/resources/account_token/client.py +++ b/src/merge/resources/hris/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.hris.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.hris.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/hris/resources/account_token/raw_client.py b/src/merge/resources/hris/resources/account_token/raw_client.py index 5ae02722..996e66d9 100644 --- a/src/merge/resources/hris/resources/account_token/raw_client.py +++ b/src/merge/resources/hris/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "hris/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "hris/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/hris/resources/audit_trail/client.py b/src/merge/resources/hris/resources/audit_trail/client.py index 629f1716..ec680c39 100644 --- a/src/merge/resources/hris/resources/audit_trail/client.py +++ b/src/merge/resources/hris/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -49,7 +50,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.audit_trail.list( + response = client.hris.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -135,7 +140,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.hris.audit_trail.list( + response = await client.hris.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/hris/resources/audit_trail/raw_client.py b/src/merge/resources/hris/resources/audit_trail/raw_client.py index c9ff7ce6..aae49cbb 100644 --- a/src/merge/resources/hris/resources/audit_trail/raw_client.py +++ b/src/merge/resources/hris/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -41,7 +42,7 @@ def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -116,7 +131,7 @@ async def list( If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. start_date : typing.Optional[str] If included, will only include audit trail events that occurred after this time @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/bank_info/client.py b/src/merge/resources/hris/resources/bank_info/client.py index d8b8421b..a6c41179 100644 --- a/src/merge/resources/hris/resources/bank_info/client.py +++ b/src/merge/resources/hris/resources/bank_info/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.bank_info import BankInfo -from ...types.paginated_bank_info_list import PaginatedBankInfoList from .raw_client import AsyncRawBankInfoClient, RawBankInfoClient from .types.bank_info_list_request_account_type import BankInfoListRequestAccountType from .types.bank_info_list_request_order_by import BankInfoListRequestOrderBy @@ -36,7 +36,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +50,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankInfoList: + ) -> SyncPager[BankInfo]: """ Returns a list of `BankInfo` objects. @@ -75,7 +77,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -113,7 +115,7 @@ def list( Returns ------- - PaginatedBankInfoList + SyncPager[BankInfo] Examples @@ -130,7 +132,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.bank_info.list( + response = client.hris.bank_info.list( account_type=BankInfoListRequestAccountType.CHECKING, bank_name="bank_name", created_after=datetime.datetime.fromisoformat( @@ -154,8 +156,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -175,13 +182,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["account_type"]] = None, @@ -195,7 +203,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -268,7 +276,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -280,7 +290,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBankInfoList: + ) -> AsyncPager[BankInfo]: """ Returns a list of `BankInfo` objects. @@ -307,7 +317,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -345,7 +355,7 @@ async def list( Returns ------- - PaginatedBankInfoList + AsyncPager[BankInfo] Examples @@ -366,7 +376,7 @@ async def list( async def main() -> None: - await client.hris.bank_info.list( + response = await client.hris.bank_info.list( account_type=BankInfoListRequestAccountType.CHECKING, bank_name="bank_name", created_after=datetime.datetime.fromisoformat( @@ -390,11 +400,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_type=account_type, bank_name=bank_name, created_after=created_after, @@ -414,13 +430,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["account_type"]] = None, @@ -434,7 +451,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/bank_info/raw_client.py b/src/merge/resources/hris/resources/bank_info/raw_client.py index c031bf3b..e4af9112 100644 --- a/src/merge/resources/hris/resources/bank_info/raw_client.py +++ b/src/merge/resources/hris/resources/bank_info/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.bank_info import BankInfo @@ -30,7 +31,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +45,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBankInfoList]: + ) -> SyncPager[BankInfo]: """ Returns a list of `BankInfo` objects. @@ -69,7 +72,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,7 +110,7 @@ def list( Returns ------- - HttpResponse[PaginatedBankInfoList] + SyncPager[BankInfo] """ _response = self._client_wrapper.httpx_client.request( @@ -136,14 +139,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankInfoList, construct_type( type_=PaginatedBankInfoList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_type=account_type, + bank_name=bank_name, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -153,7 +181,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["account_type"]] = None, @@ -167,7 +197,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -231,7 +261,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -243,7 +275,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["account_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBankInfoList]: + ) -> AsyncPager[BankInfo]: """ Returns a list of `BankInfo` objects. @@ -270,7 +302,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return bank accounts for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -308,7 +340,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBankInfoList] + AsyncPager[BankInfo] """ _response = await self._client_wrapper.httpx_client.request( @@ -337,14 +369,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBankInfoList, construct_type( type_=PaginatedBankInfoList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_type=account_type, + bank_name=bank_name, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -354,7 +414,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["account_type"]] = None, @@ -368,7 +430,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/benefits/client.py b/src/merge/resources/hris/resources/benefits/client.py index 2a7380c8..6746cddb 100644 --- a/src/merge/resources/hris/resources/benefits/client.py +++ b/src/merge/resources/hris/resources/benefits/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.benefit import Benefit -from ...types.paginated_benefit_list import PaginatedBenefitList from .raw_client import AsyncRawBenefitsClient, RawBenefitsClient @@ -32,7 +32,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBenefitList: + ) -> SyncPager[Benefit]: """ Returns a list of `Benefit` objects. @@ -59,7 +61,7 @@ def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedBenefitList + SyncPager[Benefit] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.benefits.list( + response = client.hris.benefits.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -122,8 +124,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -219,7 +227,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedBenefitList: + ) -> AsyncPager[Benefit]: """ Returns a list of `Benefit` objects. @@ -246,7 +256,7 @@ async def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedBenefitList + AsyncPager[Benefit] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.hris.benefits.list( + response = await client.hris.benefits.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -313,11 +323,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/benefits/raw_client.py b/src/merge/resources/hris/resources/benefits/raw_client.py index 0a3b37cf..3713a18b 100644 --- a/src/merge/resources/hris/resources/benefits/raw_client.py +++ b/src/merge/resources/hris/resources/benefits/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.benefit import Benefit @@ -26,7 +27,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedBenefitList]: + ) -> SyncPager[Benefit]: """ Returns a list of `Benefit` objects. @@ -53,7 +56,7 @@ def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedBenefitList] + SyncPager[Benefit] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBenefitList, construct_type( type_=PaginatedBenefitList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -189,7 +214,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedBenefitList]: + ) -> AsyncPager[Benefit]: """ Returns a list of `Benefit` objects. @@ -216,7 +243,7 @@ async def list( employee_id : typing.Optional[str] If provided, will return the benefits associated with the employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedBenefitList] + AsyncPager[Benefit] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedBenefitList, construct_type( type_=PaginatedBenefitList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/companies/client.py b/src/merge/resources/hris/resources/companies/client.py index 598582d5..8780c258 100644 --- a/src/merge/resources/hris/resources/companies/client.py +++ b/src/merge/resources/hris/resources/companies/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.company import Company -from ...types.paginated_company_list import PaginatedCompanyList from .raw_client import AsyncRawCompaniesClient, RawCompaniesClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyList: + ) -> SyncPager[Company]: """ Returns a list of `Company` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedCompanyList + SyncPager[Company] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.companies.list( + response = client.hris.companies.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCompanyList: + ) -> AsyncPager[Company]: """ Returns a list of `Company` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedCompanyList + AsyncPager[Company] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.hris.companies.list( + response = await client.hris.companies.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/companies/raw_client.py b/src/merge/resources/hris/resources/companies/raw_client.py index 99a8715e..0c483a10 100644 --- a/src/merge/resources/hris/resources/companies/raw_client.py +++ b/src/merge/resources/hris/resources/companies/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.company import Company @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCompanyList]: + ) -> SyncPager[Company]: """ Returns a list of `Company` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedCompanyList] + SyncPager[Company] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyList, construct_type( type_=PaginatedCompanyList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCompanyList]: + ) -> AsyncPager[Company]: """ Returns a list of `Company` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCompanyList] + AsyncPager[Company] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCompanyList, construct_type( type_=PaginatedCompanyList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/dependents/client.py b/src/merge/resources/hris/resources/dependents/client.py index a87e7ca9..d809fde7 100644 --- a/src/merge/resources/hris/resources/dependents/client.py +++ b/src/merge/resources/hris/resources/dependents/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.dependent import Dependent -from ...types.paginated_dependent_list import PaginatedDependentList from .raw_client import AsyncRawDependentsClient, RawDependentsClient @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDependentList: + ) -> SyncPager[Dependent]: """ Returns a list of `Dependent` objects. @@ -88,7 +88,7 @@ def list( Returns ------- - PaginatedDependentList + SyncPager[Dependent] Examples @@ -101,7 +101,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.dependents.list( + response = client.hris.dependents.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -123,8 +123,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -139,7 +144,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -230,7 +234,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedDependentList: + ) -> AsyncPager[Dependent]: """ Returns a list of `Dependent` objects. @@ -277,7 +281,7 @@ async def list( Returns ------- - PaginatedDependentList + AsyncPager[Dependent] Examples @@ -294,7 +298,7 @@ async def list( async def main() -> None: - await client.hris.dependents.list( + response = await client.hris.dependents.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -316,11 +320,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -335,7 +345,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/dependents/raw_client.py b/src/merge/resources/hris/resources/dependents/raw_client.py index 5e9fd5ef..3ed83f6e 100644 --- a/src/merge/resources/hris/resources/dependents/raw_client.py +++ b/src/merge/resources/hris/resources/dependents/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.dependent import Dependent @@ -35,7 +36,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedDependentList]: + ) -> SyncPager[Dependent]: """ Returns a list of `Dependent` objects. @@ -82,7 +83,7 @@ def list( Returns ------- - HttpResponse[PaginatedDependentList] + SyncPager[Dependent] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +107,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDependentList, construct_type( type_=PaginatedDependentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -198,7 +219,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedDependentList]: + ) -> AsyncPager[Dependent]: """ Returns a list of `Dependent` objects. @@ -245,7 +266,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedDependentList] + AsyncPager[Dependent] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +290,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedDependentList, construct_type( type_=PaginatedDependentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py index 78830ea4..b18daacb 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EmployeePayrollRunsListRequestExpand, EmployeePayrollRunsRetrieveRequestExpand + from .types import EmployeePayrollRunsListRequestExpandItem, EmployeePayrollRunsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EmployeePayrollRunsListRequestExpand": ".types", - "EmployeePayrollRunsRetrieveRequestExpand": ".types", + "EmployeePayrollRunsListRequestExpandItem": ".types", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EmployeePayrollRunsListRequestExpand", "EmployeePayrollRunsRetrieveRequestExpand"] +__all__ = ["EmployeePayrollRunsListRequestExpandItem", "EmployeePayrollRunsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/client.py b/src/merge/resources/hris/resources/employee_payroll_runs/client.py index 8ccd63c3..8f74c7d6 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/client.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee_payroll_run import EmployeePayrollRun -from ...types.paginated_employee_payroll_run_list import PaginatedEmployeePayrollRunList from .raw_client import AsyncRawEmployeePayrollRunsClient, RawEmployeePayrollRunsClient -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand -from .types.employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand +from .types.employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem +from .types.employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem class EmployeePayrollRunsClient: @@ -36,7 +36,11 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +52,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeePayrollRunList: + ) -> SyncPager[EmployeePayrollRun]: """ Returns a list of `EmployeePayrollRun` objects. @@ -72,7 +76,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +114,7 @@ def list( Returns ------- - PaginatedEmployeePayrollRunList + SyncPager[EmployeePayrollRun] Examples @@ -118,15 +122,12 @@ def list( import datetime from merge import Merge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employee_payroll_runs.list( + response = client.hris.employee_payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -141,7 +142,6 @@ def list( ended_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -161,8 +161,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -182,13 +187,17 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -200,7 +209,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -220,9 +229,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -230,7 +236,6 @@ def retrieve( ) client.hris.employee_payroll_runs.retrieve( id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, include_remote_data=True, include_shell_data=True, ) @@ -269,7 +274,11 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -281,7 +290,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeePayrollRunList: + ) -> AsyncPager[EmployeePayrollRun]: """ Returns a list of `EmployeePayrollRun` objects. @@ -305,7 +314,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -343,7 +352,7 @@ async def list( Returns ------- - PaginatedEmployeePayrollRunList + AsyncPager[EmployeePayrollRun] Examples @@ -352,9 +361,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -363,7 +369,7 @@ async def list( async def main() -> None: - await client.hris.employee_payroll_runs.list( + response = await client.hris.employee_payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -378,7 +384,6 @@ async def main() -> None: ended_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=EmployeePayrollRunsListRequestExpand.EMPLOYEE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -398,11 +403,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -422,13 +433,17 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -440,7 +455,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -462,9 +477,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.hris.resources.employee_payroll_runs import ( - EmployeePayrollRunsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -475,7 +487,6 @@ async def retrieve( async def main() -> None: await client.hris.employee_payroll_runs.retrieve( id="id", - expand=EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py b/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py index a9280452..24952bef 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee_payroll_run import EmployeePayrollRun from ...types.paginated_employee_payroll_run_list import PaginatedEmployeePayrollRunList -from .types.employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand -from .types.employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand +from .types.employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem +from .types.employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem class RawEmployeePayrollRunsClient: @@ -30,7 +31,11 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +47,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeePayrollRunList]: + ) -> SyncPager[EmployeePayrollRun]: """ Returns a list of `EmployeePayrollRun` objects. @@ -66,7 +71,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,7 +109,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployeePayrollRunList] + SyncPager[EmployeePayrollRun] """ _response = self._client_wrapper.httpx_client.request( @@ -133,14 +138,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeePayrollRunList, construct_type( type_=PaginatedEmployeePayrollRunList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + payroll_run_id=payroll_run_id, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +180,12 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -162,7 +197,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -218,7 +253,11 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[EmployeePayrollRunsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -230,7 +269,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeePayrollRunList]: + ) -> AsyncPager[EmployeePayrollRun]: """ Returns a list of `EmployeePayrollRun` objects. @@ -254,7 +293,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return employee payroll runs ended before this datetime. - expand : typing.Optional[EmployeePayrollRunsListRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsListRequestExpandItem, typing.Sequence[EmployeePayrollRunsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -292,7 +331,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployeePayrollRunList] + AsyncPager[EmployeePayrollRun] """ _response = await self._client_wrapper.httpx_client.request( @@ -321,14 +360,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeePayrollRunList, construct_type( type_=PaginatedEmployeePayrollRunList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + payroll_run_id=payroll_run_id, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -338,7 +405,12 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + EmployeePayrollRunsRetrieveRequestExpandItem, + typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem], + ] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +422,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeePayrollRunsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeePayrollRunsRetrieveRequestExpandItem, typing.Sequence[EmployeePayrollRunsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py index 49a39c9e..7685d486 100644 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .employee_payroll_runs_list_request_expand import EmployeePayrollRunsListRequestExpand - from .employee_payroll_runs_retrieve_request_expand import EmployeePayrollRunsRetrieveRequestExpand + from .employee_payroll_runs_list_request_expand_item import EmployeePayrollRunsListRequestExpandItem + from .employee_payroll_runs_retrieve_request_expand_item import EmployeePayrollRunsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "EmployeePayrollRunsListRequestExpand": ".employee_payroll_runs_list_request_expand", - "EmployeePayrollRunsRetrieveRequestExpand": ".employee_payroll_runs_retrieve_request_expand", + "EmployeePayrollRunsListRequestExpandItem": ".employee_payroll_runs_list_request_expand_item", + "EmployeePayrollRunsRetrieveRequestExpandItem": ".employee_payroll_runs_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EmployeePayrollRunsListRequestExpand", "EmployeePayrollRunsRetrieveRequestExpand"] +__all__ = ["EmployeePayrollRunsListRequestExpandItem", "EmployeePayrollRunsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py deleted file mode 100644 index 8726143e..00000000 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeePayrollRunsListRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAYROLL_RUN = "employee,payroll_run" - PAYROLL_RUN = "payroll_run" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_payroll_run: typing.Callable[[], T_Result], - payroll_run: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeePayrollRunsListRequestExpand.EMPLOYEE: - return employee() - if self is EmployeePayrollRunsListRequestExpand.EMPLOYEE_PAYROLL_RUN: - return employee_payroll_run() - if self is EmployeePayrollRunsListRequestExpand.PAYROLL_RUN: - return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py new file mode 100644 index 00000000..ae6c0cb6 --- /dev/null +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeePayrollRunsListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAYROLL_RUN = "payroll_run" + + def visit(self, employee: typing.Callable[[], T_Result], payroll_run: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeePayrollRunsListRequestExpandItem.EMPLOYEE: + return employee() + if self is EmployeePayrollRunsListRequestExpandItem.PAYROLL_RUN: + return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py deleted file mode 100644 index 683296ac..00000000 --- a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeePayrollRunsRetrieveRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAYROLL_RUN = "employee,payroll_run" - PAYROLL_RUN = "payroll_run" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_payroll_run: typing.Callable[[], T_Result], - payroll_run: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is EmployeePayrollRunsRetrieveRequestExpand.EMPLOYEE_PAYROLL_RUN: - return employee_payroll_run() - if self is EmployeePayrollRunsRetrieveRequestExpand.PAYROLL_RUN: - return payroll_run() diff --git a/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py new file mode 100644 index 00000000..9af1e8b8 --- /dev/null +++ b/src/merge/resources/hris/resources/employee_payroll_runs/types/employee_payroll_runs_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeePayrollRunsRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAYROLL_RUN = "payroll_run" + + def visit(self, employee: typing.Callable[[], T_Result], payroll_run: typing.Callable[[], T_Result]) -> T_Result: + if self is EmployeePayrollRunsRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is EmployeePayrollRunsRetrieveRequestExpandItem.PAYROLL_RUN: + return payroll_run() diff --git a/src/merge/resources/hris/resources/employees/__init__.py b/src/merge/resources/hris/resources/employees/__init__.py index a9ee99e6..1f0c7e50 100644 --- a/src/merge/resources/hris/resources/employees/__init__.py +++ b/src/merge/resources/hris/resources/employees/__init__.py @@ -8,23 +8,21 @@ if typing.TYPE_CHECKING: from .types import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, + EmployeesListRequestExpandItem, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, - EmployeesRetrieveRequestExpand, + EmployeesRetrieveRequestExpandItem, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, - IgnoreCommonModelRequestReason, ) _dynamic_imports: typing.Dict[str, str] = { "EmployeesListRequestEmploymentStatus": ".types", - "EmployeesListRequestExpand": ".types", + "EmployeesListRequestExpandItem": ".types", "EmployeesListRequestRemoteFields": ".types", "EmployeesListRequestShowEnumOrigins": ".types", - "EmployeesRetrieveRequestExpand": ".types", + "EmployeesRetrieveRequestExpandItem": ".types", "EmployeesRetrieveRequestRemoteFields": ".types", "EmployeesRetrieveRequestShowEnumOrigins": ".types", - "IgnoreCommonModelRequestReason": ".types", } @@ -49,11 +47,10 @@ def __dir__(): __all__ = [ "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "IgnoreCommonModelRequestReason", ] diff --git a/src/merge/resources/hris/resources/employees/client.py b/src/merge/resources/hris/resources/employees/client.py index 6f1b7fee..aac52447 100644 --- a/src/merge/resources/hris/resources/employees/client.py +++ b/src/merge/resources/hris/resources/employees/client.py @@ -4,21 +4,21 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employee import Employee from ...types.employee_request import EmployeeRequest from ...types.employee_response import EmployeeResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse -from ...types.paginated_employee_list import PaginatedEmployeeList from .raw_client import AsyncRawEmployeesClient, RawEmployeesClient from .types.employees_list_request_employment_status import EmployeesListRequestEmploymentStatus -from .types.employees_list_request_expand import EmployeesListRequestExpand +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem from .types.employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .types.employees_retrieve_request_expand import EmployeesRetrieveRequestExpand +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .types.employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -50,7 +50,9 @@ def list( employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -77,7 +79,7 @@ def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> SyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -111,7 +113,7 @@ def list( employment_type : typing.Optional[str] If provided, will only return employees that have an employment of the specified employment type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -151,7 +153,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. pay_group_id : typing.Optional[str] If provided, will only return employees for this pay group @@ -194,7 +196,7 @@ def list( Returns ------- - PaginatedEmployeeList + SyncPager[Employee] Examples @@ -204,7 +206,6 @@ def list( from merge import Merge from merge.resources.hris.resources.employees import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, ) @@ -213,7 +214,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employees.list( + response = client.hris.employees.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -226,7 +227,6 @@ def list( employee_number="employee_number", employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, first_name="first_name", groups="groups", home_location_id="home_location_id", @@ -265,8 +265,13 @@ def list( work_email="work_email", work_location_id="work_location_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -303,7 +308,6 @@ def list( work_location_id=work_location_id, request_options=request_options, ) - return _response.data def create( self, @@ -358,7 +362,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -373,7 +379,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -403,7 +409,6 @@ def retrieve( -------- from merge import Merge from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, ) @@ -414,7 +419,6 @@ def retrieve( ) client.hris.employees.retrieve( id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, include_remote_data=True, include_sensitive_fields=True, include_shell_data=True, @@ -438,8 +442,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -449,9 +452,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -463,7 +464,7 @@ def ignore_create( Examples -------- from merge import Merge - from merge.resources.hris import ReasonEnum + from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -471,12 +472,12 @@ def ignore_create( ) client.hris.employees.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) """ - _response = self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: @@ -533,7 +534,9 @@ async def list( employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -560,7 +563,7 @@ async def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployeeList: + ) -> AsyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -594,7 +597,7 @@ async def list( employment_type : typing.Optional[str] If provided, will only return employees that have an employment of the specified employment type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -634,7 +637,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. pay_group_id : typing.Optional[str] If provided, will only return employees for this pay group @@ -677,7 +680,7 @@ async def list( Returns ------- - PaginatedEmployeeList + AsyncPager[Employee] Examples @@ -688,7 +691,6 @@ async def list( from merge import AsyncMerge from merge.resources.hris.resources.employees import ( EmployeesListRequestEmploymentStatus, - EmployeesListRequestExpand, EmployeesListRequestRemoteFields, EmployeesListRequestShowEnumOrigins, ) @@ -700,7 +702,7 @@ async def list( async def main() -> None: - await client.hris.employees.list( + response = await client.hris.employees.list( company_id="company_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -713,7 +715,6 @@ async def main() -> None: employee_number="employee_number", employment_status=EmployeesListRequestEmploymentStatus.ACTIVE, employment_type="employment_type", - expand=EmployeesListRequestExpand.COMPANY, first_name="first_name", groups="groups", home_location_id="home_location_id", @@ -752,11 +753,17 @@ async def main() -> None: work_email="work_email", work_location_id="work_location_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( company_id=company_id, created_after=created_after, created_before=created_before, @@ -793,7 +800,6 @@ async def main() -> None: work_location_id=work_location_id, request_options=request_options, ) - return _response.data async def create( self, @@ -856,7 +862,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -871,7 +879,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -903,7 +911,6 @@ async def retrieve( from merge import AsyncMerge from merge.resources.hris.resources.employees import ( - EmployeesRetrieveRequestExpand, EmployeesRetrieveRequestRemoteFields, EmployeesRetrieveRequestShowEnumOrigins, ) @@ -917,7 +924,6 @@ async def retrieve( async def main() -> None: await client.hris.employees.retrieve( id="id", - expand=EmployeesRetrieveRequestExpand.COMPANY, include_remote_data=True, include_sensitive_fields=True, include_shell_data=True, @@ -944,8 +950,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> None: """ @@ -955,9 +960,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -971,7 +974,7 @@ async def ignore_create( import asyncio from merge import AsyncMerge - from merge.resources.hris import ReasonEnum + from merge.resources.hris import IgnoreCommonModelRequest, ReasonEnum client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -982,15 +985,15 @@ async def ignore_create( async def main() -> None: await client.hris.employees.ignore_create( model_id="model_id", - reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + request=IgnoreCommonModelRequest( + reason=ReasonEnum.GENERAL_CUSTOMER_REQUEST, + ), ) asyncio.run(main()) """ - _response = await self._raw_client.ignore_create( - model_id, reason=reason, message=message, request_options=request_options - ) + _response = await self._raw_client.ignore_create(model_id, request=request, request_options=request_options) return _response.data async def meta_post_retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: diff --git a/src/merge/resources/hris/resources/employees/raw_client.py b/src/merge/resources/hris/resources/employees/raw_client.py index 96b80f82..e5c93f98 100644 --- a/src/merge/resources/hris/resources/employees/raw_client.py +++ b/src/merge/resources/hris/resources/employees/raw_client.py @@ -9,21 +9,22 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employee import Employee from ...types.employee_request import EmployeeRequest from ...types.employee_response import EmployeeResponse +from ...types.ignore_common_model_request import IgnoreCommonModelRequest from ...types.meta_response import MetaResponse from ...types.paginated_employee_list import PaginatedEmployeeList from .types.employees_list_request_employment_status import EmployeesListRequestEmploymentStatus -from .types.employees_list_request_expand import EmployeesListRequestExpand +from .types.employees_list_request_expand_item import EmployeesListRequestExpandItem from .types.employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .types.employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins -from .types.employees_retrieve_request_expand import EmployeesRetrieveRequestExpand +from .types.employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .types.employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .types.employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins -from .types.ignore_common_model_request_reason import IgnoreCommonModelRequestReason # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -44,7 +45,9 @@ def list( employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -71,7 +74,7 @@ def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployeeList]: + ) -> SyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -105,7 +108,7 @@ def list( employment_type : typing.Optional[str] If provided, will only return employees that have an employment of the specified employment type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -145,7 +148,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. pay_group_id : typing.Optional[str] If provided, will only return employees for this pay group @@ -188,7 +191,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployeeList] + SyncPager[Employee] """ _response = self._client_wrapper.httpx_client.request( @@ -234,14 +237,56 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + display_full_name=display_full_name, + employee_number=employee_number, + employment_status=employment_status, + employment_type=employment_type, + expand=expand, + first_name=first_name, + groups=groups, + home_location_id=home_location_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + job_title=job_title, + last_name=last_name, + manager_id=manager_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + pay_group_id=pay_group_id, + personal_email=personal_email, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + team_id=team_id, + terminated_after=terminated_after, + terminated_before=terminated_before, + work_email=work_email, + work_location_id=work_location_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -311,7 +356,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -326,7 +373,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -384,8 +431,7 @@ def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[None]: """ @@ -395,9 +441,7 @@ def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -409,10 +453,7 @@ def ignore_create( _response = self._client_wrapper.httpx_client.request( f"hris/v1/employees/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, @@ -479,7 +520,9 @@ async def list( employee_number: typing.Optional[str] = None, employment_status: typing.Optional[EmployeesListRequestEmploymentStatus] = None, employment_type: typing.Optional[str] = None, - expand: typing.Optional[EmployeesListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]] + ] = None, first_name: typing.Optional[str] = None, groups: typing.Optional[str] = None, home_location_id: typing.Optional[str] = None, @@ -506,7 +549,7 @@ async def list( work_email: typing.Optional[str] = None, work_location_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployeeList]: + ) -> AsyncPager[Employee]: """ Returns a list of `Employee` objects. @@ -540,7 +583,7 @@ async def list( employment_type : typing.Optional[str] If provided, will only return employees that have an employment of the specified employment type. - expand : typing.Optional[EmployeesListRequestExpand] + expand : typing.Optional[typing.Union[EmployeesListRequestExpandItem, typing.Sequence[EmployeesListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. first_name : typing.Optional[str] @@ -580,7 +623,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. pay_group_id : typing.Optional[str] If provided, will only return employees for this pay group @@ -623,7 +666,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployeeList] + AsyncPager[Employee] """ _response = await self._client_wrapper.httpx_client.request( @@ -669,14 +712,59 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployeeList, construct_type( type_=PaginatedEmployeeList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + company_id=company_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + display_full_name=display_full_name, + employee_number=employee_number, + employment_status=employment_status, + employment_type=employment_type, + expand=expand, + first_name=first_name, + groups=groups, + home_location_id=home_location_id, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_sensitive_fields=include_sensitive_fields, + include_shell_data=include_shell_data, + job_title=job_title, + last_name=last_name, + manager_id=manager_id, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + pay_group_id=pay_group_id, + personal_email=personal_email, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + team_id=team_id, + terminated_after=terminated_after, + terminated_before=terminated_before, + work_email=work_email, + work_location_id=work_location_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -746,7 +834,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmployeesRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_sensitive_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -761,7 +851,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmployeesRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmployeesRetrieveRequestExpandItem, typing.Sequence[EmployeesRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -819,8 +909,7 @@ async def ignore_create( self, model_id: str, *, - reason: IgnoreCommonModelRequestReason, - message: typing.Optional[str] = OMIT, + request: IgnoreCommonModelRequest, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[None]: """ @@ -830,9 +919,7 @@ async def ignore_create( ---------- model_id : str - reason : IgnoreCommonModelRequestReason - - message : typing.Optional[str] + request : IgnoreCommonModelRequest request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -844,10 +931,7 @@ async def ignore_create( _response = await self._client_wrapper.httpx_client.request( f"hris/v1/employees/ignore/{jsonable_encoder(model_id)}", method="POST", - json={ - "reason": reason, - "message": message, - }, + json=request, headers={ "content-type": "application/json", }, diff --git a/src/merge/resources/hris/resources/employees/types/__init__.py b/src/merge/resources/hris/resources/employees/types/__init__.py index 0a2174a1..bd60b908 100644 --- a/src/merge/resources/hris/resources/employees/types/__init__.py +++ b/src/merge/resources/hris/resources/employees/types/__init__.py @@ -7,22 +7,20 @@ if typing.TYPE_CHECKING: from .employees_list_request_employment_status import EmployeesListRequestEmploymentStatus - from .employees_list_request_expand import EmployeesListRequestExpand + from .employees_list_request_expand_item import EmployeesListRequestExpandItem from .employees_list_request_remote_fields import EmployeesListRequestRemoteFields from .employees_list_request_show_enum_origins import EmployeesListRequestShowEnumOrigins - from .employees_retrieve_request_expand import EmployeesRetrieveRequestExpand + from .employees_retrieve_request_expand_item import EmployeesRetrieveRequestExpandItem from .employees_retrieve_request_remote_fields import EmployeesRetrieveRequestRemoteFields from .employees_retrieve_request_show_enum_origins import EmployeesRetrieveRequestShowEnumOrigins - from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason _dynamic_imports: typing.Dict[str, str] = { "EmployeesListRequestEmploymentStatus": ".employees_list_request_employment_status", - "EmployeesListRequestExpand": ".employees_list_request_expand", + "EmployeesListRequestExpandItem": ".employees_list_request_expand_item", "EmployeesListRequestRemoteFields": ".employees_list_request_remote_fields", "EmployeesListRequestShowEnumOrigins": ".employees_list_request_show_enum_origins", - "EmployeesRetrieveRequestExpand": ".employees_retrieve_request_expand", + "EmployeesRetrieveRequestExpandItem": ".employees_retrieve_request_expand_item", "EmployeesRetrieveRequestRemoteFields": ".employees_retrieve_request_remote_fields", "EmployeesRetrieveRequestShowEnumOrigins": ".employees_retrieve_request_show_enum_origins", - "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", } @@ -47,11 +45,10 @@ def __dir__(): __all__ = [ "EmployeesListRequestEmploymentStatus", - "EmployeesListRequestExpand", + "EmployeesListRequestExpandItem", "EmployeesListRequestRemoteFields", "EmployeesListRequestShowEnumOrigins", - "EmployeesRetrieveRequestExpand", + "EmployeesRetrieveRequestExpandItem", "EmployeesRetrieveRequestRemoteFields", "EmployeesRetrieveRequestShowEnumOrigins", - "IgnoreCommonModelRequestReason", ] diff --git a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py deleted file mode 100644 index 2c8611fb..00000000 --- a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand.py +++ /dev/null @@ -1,1096 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeesListRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PAY_GROUP = "company,pay_group" - EMPLOYMENTS = "employments" - EMPLOYMENTS_COMPANY = "employments,company" - EMPLOYMENTS_COMPANY_PAY_GROUP = "employments,company,pay_group" - EMPLOYMENTS_GROUPS = "employments,groups" - EMPLOYMENTS_GROUPS_COMPANY = "employments,groups,company" - EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP = "employments,groups,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION = "employments,groups,home_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY = "employments,groups,home_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,groups,home_location,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER = "employments,groups,home_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY = "employments,groups,home_location,manager,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,groups,home_location,manager,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM = "employments,groups,home_location,manager,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,home_location,manager,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,home_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP = "employments,groups,home_location,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM = "employments,groups,home_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY = "employments,groups,home_location,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,home_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,groups,home_location,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION = "employments,groups,home_location,work_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,groups,home_location,work_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,groups,home_location,work_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = ( - "employments,groups,home_location,work_location,manager,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = ( - "employments,groups,home_location,work_location,manager,team" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = ( - "employments,groups,home_location,work_location,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,groups,home_location,work_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,pay_group" - ) - EMPLOYMENTS_GROUPS_MANAGER = "employments,groups,manager" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY = "employments,groups,manager,company" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP = "employments,groups,manager,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP = "employments,groups,manager,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM = "employments,groups,manager,team" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY = "employments,groups,manager,team,company" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,groups,manager,team,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP = "employments,groups,manager,team,pay_group" - EMPLOYMENTS_GROUPS_PAY_GROUP = "employments,groups,pay_group" - EMPLOYMENTS_GROUPS_TEAM = "employments,groups,team" - EMPLOYMENTS_GROUPS_TEAM_COMPANY = "employments,groups,team,company" - EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP = "employments,groups,team,company,pay_group" - EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP = "employments,groups,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION = "employments,groups,work_location" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY = "employments,groups,work_location,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,groups,work_location,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER = "employments,groups,work_location,manager" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY = "employments,groups,work_location,manager,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,groups,work_location,manager,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM = "employments,groups,work_location,manager,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,work_location,manager,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,work_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP = "employments,groups,work_location,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM = "employments,groups,work_location,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY = "employments,groups,work_location,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,work_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,groups,work_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION = "employments,home_location" - EMPLOYMENTS_HOME_LOCATION_COMPANY = "employments,home_location,company" - EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,home_location,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER = "employments,home_location,manager" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY = "employments,home_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,home_location,manager,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,home_location,manager,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM = "employments,home_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,home_location,manager,team,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,home_location,manager,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_PAY_GROUP = "employments,home_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM = "employments,home_location,team" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY = "employments,home_location,team,company" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,home_location,team,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,home_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION = "employments,home_location,work_location" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,home_location,work_location,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,home_location,work_location,manager" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "employments,home_location,work_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "employments,home_location,work_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "employments,home_location,work_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,home_location,work_location,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "employments,home_location,work_location,team,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "employments,home_location,work_location,team,pay_group" - EMPLOYMENTS_MANAGER = "employments,manager" - EMPLOYMENTS_MANAGER_COMPANY = "employments,manager,company" - EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP = "employments,manager,company,pay_group" - EMPLOYMENTS_MANAGER_PAY_GROUP = "employments,manager,pay_group" - EMPLOYMENTS_MANAGER_TEAM = "employments,manager,team" - EMPLOYMENTS_MANAGER_TEAM_COMPANY = "employments,manager,team,company" - EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,manager,team,company,pay_group" - EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP = "employments,manager,team,pay_group" - EMPLOYMENTS_PAY_GROUP = "employments,pay_group" - EMPLOYMENTS_TEAM = "employments,team" - EMPLOYMENTS_TEAM_COMPANY = "employments,team,company" - EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP = "employments,team,company,pay_group" - EMPLOYMENTS_TEAM_PAY_GROUP = "employments,team,pay_group" - EMPLOYMENTS_WORK_LOCATION = "employments,work_location" - EMPLOYMENTS_WORK_LOCATION_COMPANY = "employments,work_location,company" - EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,work_location,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER = "employments,work_location,manager" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY = "employments,work_location,manager,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,work_location,manager,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,work_location,manager,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM = "employments,work_location,manager,team" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,work_location,manager,team,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,work_location,manager,team,pay_group" - EMPLOYMENTS_WORK_LOCATION_PAY_GROUP = "employments,work_location,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM = "employments,work_location,team" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY = "employments,work_location,team,company" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,work_location,team,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,work_location,team,pay_group" - GROUPS = "groups" - GROUPS_COMPANY = "groups,company" - GROUPS_COMPANY_PAY_GROUP = "groups,company,pay_group" - GROUPS_HOME_LOCATION = "groups,home_location" - GROUPS_HOME_LOCATION_COMPANY = "groups,home_location,company" - GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER = "groups,home_location,manager" - GROUPS_HOME_LOCATION_MANAGER_COMPANY = "groups,home_location,manager,company" - GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,home_location,manager,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,manager,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM = "groups,home_location,manager,team" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,manager,team,company" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,home_location,manager,team,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,home_location,manager,team,pay_group" - GROUPS_HOME_LOCATION_PAY_GROUP = "groups,home_location,pay_group" - GROUPS_HOME_LOCATION_TEAM = "groups,home_location,team" - GROUPS_HOME_LOCATION_TEAM_COMPANY = "groups,home_location,team,company" - GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,home_location,team,company,pay_group" - GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "groups,home_location,team,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION = "groups,home_location,work_location" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "groups,home_location,work_location,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,work_location,company,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "groups,home_location,work_location,manager" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "groups,home_location,work_location,manager,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,work_location,manager,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "groups,home_location,work_location,manager,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,work_location,manager,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "groups,home_location,work_location,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "groups,home_location,work_location,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "groups,home_location,work_location,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "groups,home_location,work_location,team,pay_group" - GROUPS_MANAGER = "groups,manager" - GROUPS_MANAGER_COMPANY = "groups,manager,company" - GROUPS_MANAGER_COMPANY_PAY_GROUP = "groups,manager,company,pay_group" - GROUPS_MANAGER_PAY_GROUP = "groups,manager,pay_group" - GROUPS_MANAGER_TEAM = "groups,manager,team" - GROUPS_MANAGER_TEAM_COMPANY = "groups,manager,team,company" - GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,manager,team,company,pay_group" - GROUPS_MANAGER_TEAM_PAY_GROUP = "groups,manager,team,pay_group" - GROUPS_PAY_GROUP = "groups,pay_group" - GROUPS_TEAM = "groups,team" - GROUPS_TEAM_COMPANY = "groups,team,company" - GROUPS_TEAM_COMPANY_PAY_GROUP = "groups,team,company,pay_group" - GROUPS_TEAM_PAY_GROUP = "groups,team,pay_group" - GROUPS_WORK_LOCATION = "groups,work_location" - GROUPS_WORK_LOCATION_COMPANY = "groups,work_location,company" - GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,work_location,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER = "groups,work_location,manager" - GROUPS_WORK_LOCATION_MANAGER_COMPANY = "groups,work_location,manager,company" - GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,work_location,manager,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,work_location,manager,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM = "groups,work_location,manager,team" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,work_location,manager,team,company" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,work_location,manager,team,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,work_location,manager,team,pay_group" - GROUPS_WORK_LOCATION_PAY_GROUP = "groups,work_location,pay_group" - GROUPS_WORK_LOCATION_TEAM = "groups,work_location,team" - GROUPS_WORK_LOCATION_TEAM_COMPANY = "groups,work_location,team,company" - GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,work_location,team,company,pay_group" - GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "groups,work_location,team,pay_group" - HOME_LOCATION = "home_location" - HOME_LOCATION_COMPANY = "home_location,company" - HOME_LOCATION_COMPANY_PAY_GROUP = "home_location,company,pay_group" - HOME_LOCATION_MANAGER = "home_location,manager" - HOME_LOCATION_MANAGER_COMPANY = "home_location,manager,company" - HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,manager,company,pay_group" - HOME_LOCATION_MANAGER_PAY_GROUP = "home_location,manager,pay_group" - HOME_LOCATION_MANAGER_TEAM = "home_location,manager,team" - HOME_LOCATION_MANAGER_TEAM_COMPANY = "home_location,manager,team,company" - HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "home_location,manager,team,company,pay_group" - HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,manager,team,pay_group" - HOME_LOCATION_PAY_GROUP = "home_location,pay_group" - HOME_LOCATION_TEAM = "home_location,team" - HOME_LOCATION_TEAM_COMPANY = "home_location,team,company" - HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,team,company,pay_group" - HOME_LOCATION_TEAM_PAY_GROUP = "home_location,team,pay_group" - HOME_LOCATION_WORK_LOCATION = "home_location,work_location" - HOME_LOCATION_WORK_LOCATION_COMPANY = "home_location,work_location,company" - HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "home_location,work_location,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER = "home_location,work_location,manager" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "home_location,work_location,manager,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,work_location,manager,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "home_location,work_location,manager,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "home_location,work_location,manager,team" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "home_location,work_location,manager,team,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "home_location,work_location,manager,team,company,pay_group" - ) - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,work_location,manager,team,pay_group" - HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "home_location,work_location,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM = "home_location,work_location,team" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "home_location,work_location,team,company" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,work_location,team,company,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "home_location,work_location,team,pay_group" - MANAGER = "manager" - MANAGER_COMPANY = "manager,company" - MANAGER_COMPANY_PAY_GROUP = "manager,company,pay_group" - MANAGER_PAY_GROUP = "manager,pay_group" - MANAGER_TEAM = "manager,team" - MANAGER_TEAM_COMPANY = "manager,team,company" - MANAGER_TEAM_COMPANY_PAY_GROUP = "manager,team,company,pay_group" - MANAGER_TEAM_PAY_GROUP = "manager,team,pay_group" - PAY_GROUP = "pay_group" - TEAM = "team" - TEAM_COMPANY = "team,company" - TEAM_COMPANY_PAY_GROUP = "team,company,pay_group" - TEAM_PAY_GROUP = "team,pay_group" - WORK_LOCATION = "work_location" - WORK_LOCATION_COMPANY = "work_location,company" - WORK_LOCATION_COMPANY_PAY_GROUP = "work_location,company,pay_group" - WORK_LOCATION_MANAGER = "work_location,manager" - WORK_LOCATION_MANAGER_COMPANY = "work_location,manager,company" - WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "work_location,manager,company,pay_group" - WORK_LOCATION_MANAGER_PAY_GROUP = "work_location,manager,pay_group" - WORK_LOCATION_MANAGER_TEAM = "work_location,manager,team" - WORK_LOCATION_MANAGER_TEAM_COMPANY = "work_location,manager,team,company" - WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "work_location,manager,team,company,pay_group" - WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "work_location,manager,team,pay_group" - WORK_LOCATION_PAY_GROUP = "work_location,pay_group" - WORK_LOCATION_TEAM = "work_location,team" - WORK_LOCATION_TEAM_COMPANY = "work_location,team,company" - WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "work_location,team,company,pay_group" - WORK_LOCATION_TEAM_PAY_GROUP = "work_location,team,pay_group" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_pay_group: typing.Callable[[], T_Result], - employments: typing.Callable[[], T_Result], - employments_company: typing.Callable[[], T_Result], - employments_company_pay_group: typing.Callable[[], T_Result], - employments_groups: typing.Callable[[], T_Result], - employments_groups_company: typing.Callable[[], T_Result], - employments_groups_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location: typing.Callable[[], T_Result], - employments_groups_home_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_manager: typing.Callable[[], T_Result], - employments_groups_manager_company: typing.Callable[[], T_Result], - employments_groups_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team: typing.Callable[[], T_Result], - employments_groups_manager_team_company: typing.Callable[[], T_Result], - employments_groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_pay_group: typing.Callable[[], T_Result], - employments_groups_team: typing.Callable[[], T_Result], - employments_groups_team_company: typing.Callable[[], T_Result], - employments_groups_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location: typing.Callable[[], T_Result], - employments_groups_work_location_company: typing.Callable[[], T_Result], - employments_groups_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team: typing.Callable[[], T_Result], - employments_groups_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location: typing.Callable[[], T_Result], - employments_home_location_company: typing.Callable[[], T_Result], - employments_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager: typing.Callable[[], T_Result], - employments_home_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_team: typing.Callable[[], T_Result], - employments_home_location_team_company: typing.Callable[[], T_Result], - employments_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location: typing.Callable[[], T_Result], - employments_home_location_work_location_company: typing.Callable[[], T_Result], - employments_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_manager: typing.Callable[[], T_Result], - employments_manager_company: typing.Callable[[], T_Result], - employments_manager_company_pay_group: typing.Callable[[], T_Result], - employments_manager_pay_group: typing.Callable[[], T_Result], - employments_manager_team: typing.Callable[[], T_Result], - employments_manager_team_company: typing.Callable[[], T_Result], - employments_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_manager_team_pay_group: typing.Callable[[], T_Result], - employments_pay_group: typing.Callable[[], T_Result], - employments_team: typing.Callable[[], T_Result], - employments_team_company: typing.Callable[[], T_Result], - employments_team_company_pay_group: typing.Callable[[], T_Result], - employments_team_pay_group: typing.Callable[[], T_Result], - employments_work_location: typing.Callable[[], T_Result], - employments_work_location_company: typing.Callable[[], T_Result], - employments_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager: typing.Callable[[], T_Result], - employments_work_location_manager_company: typing.Callable[[], T_Result], - employments_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team: typing.Callable[[], T_Result], - employments_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_work_location_pay_group: typing.Callable[[], T_Result], - employments_work_location_team: typing.Callable[[], T_Result], - employments_work_location_team_company: typing.Callable[[], T_Result], - employments_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_team_pay_group: typing.Callable[[], T_Result], - groups: typing.Callable[[], T_Result], - groups_company: typing.Callable[[], T_Result], - groups_company_pay_group: typing.Callable[[], T_Result], - groups_home_location: typing.Callable[[], T_Result], - groups_home_location_company: typing.Callable[[], T_Result], - groups_home_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager: typing.Callable[[], T_Result], - groups_home_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_team: typing.Callable[[], T_Result], - groups_home_location_team_company: typing.Callable[[], T_Result], - groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location: typing.Callable[[], T_Result], - groups_home_location_work_location_company: typing.Callable[[], T_Result], - groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - groups_manager: typing.Callable[[], T_Result], - groups_manager_company: typing.Callable[[], T_Result], - groups_manager_company_pay_group: typing.Callable[[], T_Result], - groups_manager_pay_group: typing.Callable[[], T_Result], - groups_manager_team: typing.Callable[[], T_Result], - groups_manager_team_company: typing.Callable[[], T_Result], - groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_manager_team_pay_group: typing.Callable[[], T_Result], - groups_pay_group: typing.Callable[[], T_Result], - groups_team: typing.Callable[[], T_Result], - groups_team_company: typing.Callable[[], T_Result], - groups_team_company_pay_group: typing.Callable[[], T_Result], - groups_team_pay_group: typing.Callable[[], T_Result], - groups_work_location: typing.Callable[[], T_Result], - groups_work_location_company: typing.Callable[[], T_Result], - groups_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager: typing.Callable[[], T_Result], - groups_work_location_manager_company: typing.Callable[[], T_Result], - groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team: typing.Callable[[], T_Result], - groups_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_work_location_pay_group: typing.Callable[[], T_Result], - groups_work_location_team: typing.Callable[[], T_Result], - groups_work_location_team_company: typing.Callable[[], T_Result], - groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_team_pay_group: typing.Callable[[], T_Result], - home_location: typing.Callable[[], T_Result], - home_location_company: typing.Callable[[], T_Result], - home_location_company_pay_group: typing.Callable[[], T_Result], - home_location_manager: typing.Callable[[], T_Result], - home_location_manager_company: typing.Callable[[], T_Result], - home_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_manager_team: typing.Callable[[], T_Result], - home_location_manager_team_company: typing.Callable[[], T_Result], - home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_pay_group: typing.Callable[[], T_Result], - home_location_team: typing.Callable[[], T_Result], - home_location_team_company: typing.Callable[[], T_Result], - home_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location: typing.Callable[[], T_Result], - home_location_work_location_company: typing.Callable[[], T_Result], - home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager: typing.Callable[[], T_Result], - home_location_work_location_manager_company: typing.Callable[[], T_Result], - home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team: typing.Callable[[], T_Result], - home_location_work_location_team_company: typing.Callable[[], T_Result], - home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - manager: typing.Callable[[], T_Result], - manager_company: typing.Callable[[], T_Result], - manager_company_pay_group: typing.Callable[[], T_Result], - manager_pay_group: typing.Callable[[], T_Result], - manager_team: typing.Callable[[], T_Result], - manager_team_company: typing.Callable[[], T_Result], - manager_team_company_pay_group: typing.Callable[[], T_Result], - manager_team_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - team: typing.Callable[[], T_Result], - team_company: typing.Callable[[], T_Result], - team_company_pay_group: typing.Callable[[], T_Result], - team_pay_group: typing.Callable[[], T_Result], - work_location: typing.Callable[[], T_Result], - work_location_company: typing.Callable[[], T_Result], - work_location_company_pay_group: typing.Callable[[], T_Result], - work_location_manager: typing.Callable[[], T_Result], - work_location_manager_company: typing.Callable[[], T_Result], - work_location_manager_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_pay_group: typing.Callable[[], T_Result], - work_location_manager_team: typing.Callable[[], T_Result], - work_location_manager_team_company: typing.Callable[[], T_Result], - work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_team_pay_group: typing.Callable[[], T_Result], - work_location_pay_group: typing.Callable[[], T_Result], - work_location_team: typing.Callable[[], T_Result], - work_location_team_company: typing.Callable[[], T_Result], - work_location_team_company_pay_group: typing.Callable[[], T_Result], - work_location_team_pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeesListRequestExpand.COMPANY: - return company() - if self is EmployeesListRequestExpand.COMPANY_PAY_GROUP: - return company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS: - return employments() - if self is EmployeesListRequestExpand.EMPLOYMENTS_COMPANY: - return employments_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_COMPANY_PAY_GROUP: - return employments_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS: - return employments_groups() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_COMPANY: - return employments_groups_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP: - return employments_groups_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION: - return employments_groups_home_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY: - return employments_groups_home_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER: - return employments_groups_home_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP: - return employments_groups_home_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM: - return employments_groups_home_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION: - return employments_groups_home_location_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_groups_home_location_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_groups_home_location_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_work_location_manager_team_company() - if ( - self - is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_groups_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_groups_home_location_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER: - return employments_groups_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY: - return employments_groups_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP: - return employments_groups_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM: - return employments_groups_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY: - return employments_groups_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP: - return employments_groups_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_PAY_GROUP: - return employments_groups_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM: - return employments_groups_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY: - return employments_groups_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP: - return employments_groups_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP: - return employments_groups_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION: - return employments_groups_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY: - return employments_groups_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER: - return employments_groups_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP: - return employments_groups_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM: - return employments_groups_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION: - return employments_home_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY: - return employments_home_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER: - return employments_home_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY: - return employments_home_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM: - return employments_home_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_PAY_GROUP: - return employments_home_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM: - return employments_home_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY: - return employments_home_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION: - return employments_home_location_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_home_location_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_home_location_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_home_location_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER: - return employments_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_COMPANY: - return employments_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP: - return employments_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_PAY_GROUP: - return employments_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM: - return employments_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY: - return employments_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP: - return employments_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_PAY_GROUP: - return employments_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM: - return employments_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_COMPANY: - return employments_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP: - return employments_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_TEAM_PAY_GROUP: - return employments_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION: - return employments_work_location() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY: - return employments_work_location_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_work_location_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER: - return employments_work_location_manager() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY: - return employments_work_location_manager_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM: - return employments_work_location_manager_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_work_location_manager_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_PAY_GROUP: - return employments_work_location_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM: - return employments_work_location_team() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY: - return employments_work_location_team_company() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_work_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS: - return groups() - if self is EmployeesListRequestExpand.GROUPS_COMPANY: - return groups_company() - if self is EmployeesListRequestExpand.GROUPS_COMPANY_PAY_GROUP: - return groups_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION: - return groups_home_location() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_COMPANY: - return groups_home_location_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER: - return groups_home_location_manager() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return groups_home_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM: - return groups_home_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_PAY_GROUP: - return groups_home_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM: - return groups_home_location_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY: - return groups_home_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION: - return groups_home_location_work_location() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return groups_home_location_work_location_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return groups_home_location_work_location_manager() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return groups_home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return groups_home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return groups_home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return groups_home_location_work_location_team() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return groups_home_location_work_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER: - return groups_manager() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_COMPANY: - return groups_manager_company() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_COMPANY_PAY_GROUP: - return groups_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_PAY_GROUP: - return groups_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM: - return groups_manager_team() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_COMPANY: - return groups_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_MANAGER_TEAM_PAY_GROUP: - return groups_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_PAY_GROUP: - return groups_pay_group() - if self is EmployeesListRequestExpand.GROUPS_TEAM: - return groups_team() - if self is EmployeesListRequestExpand.GROUPS_TEAM_COMPANY: - return groups_team_company() - if self is EmployeesListRequestExpand.GROUPS_TEAM_COMPANY_PAY_GROUP: - return groups_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_TEAM_PAY_GROUP: - return groups_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION: - return groups_work_location() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_COMPANY: - return groups_work_location_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_work_location_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER: - return groups_work_location_manager() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return groups_work_location_manager_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM: - return groups_work_location_manager_team() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_work_location_manager_team_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_PAY_GROUP: - return groups_work_location_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM: - return groups_work_location_team() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY: - return groups_work_location_team_company() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_work_location_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION: - return home_location() - if self is EmployeesListRequestExpand.HOME_LOCATION_COMPANY: - return home_location_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_COMPANY_PAY_GROUP: - return home_location_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER: - return home_location_manager() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_COMPANY: - return home_location_manager_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_PAY_GROUP: - return home_location_manager_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM: - return home_location_manager_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_manager_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_PAY_GROUP: - return home_location_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM: - return home_location_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_COMPANY: - return home_location_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_TEAM_PAY_GROUP: - return home_location_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION: - return home_location_work_location() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY: - return home_location_work_location_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return home_location_work_location_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER: - return home_location_work_location_manager() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return home_location_work_location_manager_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return home_location_work_location_manager_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return home_location_work_location_manager_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_work_location_manager_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return home_location_work_location_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM: - return home_location_work_location_team() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return home_location_work_location_team_company() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return home_location_work_location_team_pay_group() - if self is EmployeesListRequestExpand.MANAGER: - return manager() - if self is EmployeesListRequestExpand.MANAGER_COMPANY: - return manager_company() - if self is EmployeesListRequestExpand.MANAGER_COMPANY_PAY_GROUP: - return manager_company_pay_group() - if self is EmployeesListRequestExpand.MANAGER_PAY_GROUP: - return manager_pay_group() - if self is EmployeesListRequestExpand.MANAGER_TEAM: - return manager_team() - if self is EmployeesListRequestExpand.MANAGER_TEAM_COMPANY: - return manager_team_company() - if self is EmployeesListRequestExpand.MANAGER_TEAM_COMPANY_PAY_GROUP: - return manager_team_company_pay_group() - if self is EmployeesListRequestExpand.MANAGER_TEAM_PAY_GROUP: - return manager_team_pay_group() - if self is EmployeesListRequestExpand.PAY_GROUP: - return pay_group() - if self is EmployeesListRequestExpand.TEAM: - return team() - if self is EmployeesListRequestExpand.TEAM_COMPANY: - return team_company() - if self is EmployeesListRequestExpand.TEAM_COMPANY_PAY_GROUP: - return team_company_pay_group() - if self is EmployeesListRequestExpand.TEAM_PAY_GROUP: - return team_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION: - return work_location() - if self is EmployeesListRequestExpand.WORK_LOCATION_COMPANY: - return work_location_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_COMPANY_PAY_GROUP: - return work_location_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER: - return work_location_manager() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_COMPANY: - return work_location_manager_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return work_location_manager_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_PAY_GROUP: - return work_location_manager_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM: - return work_location_manager_team() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY: - return work_location_manager_team_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return work_location_manager_team_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return work_location_manager_team_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_PAY_GROUP: - return work_location_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM: - return work_location_team() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_COMPANY: - return work_location_team_company() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return work_location_team_company_pay_group() - if self is EmployeesListRequestExpand.WORK_LOCATION_TEAM_PAY_GROUP: - return work_location_team_pay_group() diff --git a/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py new file mode 100644 index 00000000..ff83f741 --- /dev/null +++ b/src/merge/resources/hris/resources/employees/types/employees_list_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesListRequestExpandItem(str, enum.Enum): + COMPANY = "company" + EMPLOYMENTS = "employments" + GROUPS = "groups" + HOME_LOCATION = "home_location" + MANAGER = "manager" + PAY_GROUP = "pay_group" + TEAM = "team" + WORK_LOCATION = "work_location" + + def visit( + self, + company: typing.Callable[[], T_Result], + employments: typing.Callable[[], T_Result], + groups: typing.Callable[[], T_Result], + home_location: typing.Callable[[], T_Result], + manager: typing.Callable[[], T_Result], + pay_group: typing.Callable[[], T_Result], + team: typing.Callable[[], T_Result], + work_location: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EmployeesListRequestExpandItem.COMPANY: + return company() + if self is EmployeesListRequestExpandItem.EMPLOYMENTS: + return employments() + if self is EmployeesListRequestExpandItem.GROUPS: + return groups() + if self is EmployeesListRequestExpandItem.HOME_LOCATION: + return home_location() + if self is EmployeesListRequestExpandItem.MANAGER: + return manager() + if self is EmployeesListRequestExpandItem.PAY_GROUP: + return pay_group() + if self is EmployeesListRequestExpandItem.TEAM: + return team() + if self is EmployeesListRequestExpandItem.WORK_LOCATION: + return work_location() diff --git a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py deleted file mode 100644 index ff4ff63c..00000000 --- a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand.py +++ /dev/null @@ -1,1102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmployeesRetrieveRequestExpand(str, enum.Enum): - COMPANY = "company" - COMPANY_PAY_GROUP = "company,pay_group" - EMPLOYMENTS = "employments" - EMPLOYMENTS_COMPANY = "employments,company" - EMPLOYMENTS_COMPANY_PAY_GROUP = "employments,company,pay_group" - EMPLOYMENTS_GROUPS = "employments,groups" - EMPLOYMENTS_GROUPS_COMPANY = "employments,groups,company" - EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP = "employments,groups,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION = "employments,groups,home_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY = "employments,groups,home_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,groups,home_location,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER = "employments,groups,home_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY = "employments,groups,home_location,manager,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,groups,home_location,manager,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM = "employments,groups,home_location,manager,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,home_location,manager,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,home_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP = "employments,groups,home_location,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM = "employments,groups,home_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY = "employments,groups,home_location,team,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,home_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,groups,home_location,team,pay_group" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION = "employments,groups,home_location,work_location" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,groups,home_location,work_location,company" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,groups,home_location,work_location,manager" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = ( - "employments,groups,home_location,work_location,manager,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = ( - "employments,groups,home_location,work_location,manager,team" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = ( - "employments,groups,home_location,work_location,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,groups,home_location,work_location,team" - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = ( - "employments,groups,home_location,work_location,team,company" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = ( - "employments,groups,home_location,work_location,team,pay_group" - ) - EMPLOYMENTS_GROUPS_MANAGER = "employments,groups,manager" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY = "employments,groups,manager,company" - EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP = "employments,groups,manager,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP = "employments,groups,manager,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM = "employments,groups,manager,team" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY = "employments,groups,manager,team,company" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,groups,manager,team,company,pay_group" - EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP = "employments,groups,manager,team,pay_group" - EMPLOYMENTS_GROUPS_PAY_GROUP = "employments,groups,pay_group" - EMPLOYMENTS_GROUPS_TEAM = "employments,groups,team" - EMPLOYMENTS_GROUPS_TEAM_COMPANY = "employments,groups,team,company" - EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP = "employments,groups,team,company,pay_group" - EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP = "employments,groups,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION = "employments,groups,work_location" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY = "employments,groups,work_location,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,groups,work_location,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER = "employments,groups,work_location,manager" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY = "employments,groups,work_location,manager,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,groups,work_location,manager,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM = "employments,groups,work_location,manager,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,groups,work_location,manager,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,groups,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,groups,work_location,manager,team,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP = "employments,groups,work_location,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM = "employments,groups,work_location,team" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY = "employments,groups,work_location,team,company" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,groups,work_location,team,company,pay_group" - EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,groups,work_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION = "employments,home_location" - EMPLOYMENTS_HOME_LOCATION_COMPANY = "employments,home_location,company" - EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP = "employments,home_location,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER = "employments,home_location,manager" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY = "employments,home_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,home_location,manager,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP = "employments,home_location,manager,pay_group" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM = "employments,home_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "employments,home_location,manager,team,company" - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,home_location,manager,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_PAY_GROUP = "employments,home_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM = "employments,home_location,team" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY = "employments,home_location,team,company" - EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,home_location,team,company,pay_group" - EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP = "employments,home_location,team,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION = "employments,home_location,work_location" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY = "employments,home_location,work_location,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER = "employments,home_location,work_location,manager" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "employments,home_location,work_location,manager,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = ( - "employments,home_location,work_location,manager,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "employments,home_location,work_location,manager,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = ( - "employments,home_location,work_location,manager,team,company" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "employments,home_location,work_location,manager,team,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "employments,home_location,work_location,pay_group" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM = "employments,home_location,work_location,team" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "employments,home_location,work_location,team,company" - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "employments,home_location,work_location,team,company,pay_group" - ) - EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "employments,home_location,work_location,team,pay_group" - EMPLOYMENTS_MANAGER = "employments,manager" - EMPLOYMENTS_MANAGER_COMPANY = "employments,manager,company" - EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP = "employments,manager,company,pay_group" - EMPLOYMENTS_MANAGER_PAY_GROUP = "employments,manager,pay_group" - EMPLOYMENTS_MANAGER_TEAM = "employments,manager,team" - EMPLOYMENTS_MANAGER_TEAM_COMPANY = "employments,manager,team,company" - EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP = "employments,manager,team,company,pay_group" - EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP = "employments,manager,team,pay_group" - EMPLOYMENTS_PAY_GROUP = "employments,pay_group" - EMPLOYMENTS_TEAM = "employments,team" - EMPLOYMENTS_TEAM_COMPANY = "employments,team,company" - EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP = "employments,team,company,pay_group" - EMPLOYMENTS_TEAM_PAY_GROUP = "employments,team,pay_group" - EMPLOYMENTS_WORK_LOCATION = "employments,work_location" - EMPLOYMENTS_WORK_LOCATION_COMPANY = "employments,work_location,company" - EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP = "employments,work_location,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER = "employments,work_location,manager" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY = "employments,work_location,manager,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "employments,work_location,manager,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP = "employments,work_location,manager,pay_group" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM = "employments,work_location,manager,team" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "employments,work_location,manager,team,company" - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "employments,work_location,manager,team,company,pay_group" - ) - EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "employments,work_location,manager,team,pay_group" - EMPLOYMENTS_WORK_LOCATION_PAY_GROUP = "employments,work_location,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM = "employments,work_location,team" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY = "employments,work_location,team,company" - EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "employments,work_location,team,company,pay_group" - EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP = "employments,work_location,team,pay_group" - GROUPS = "groups" - GROUPS_COMPANY = "groups,company" - GROUPS_COMPANY_PAY_GROUP = "groups,company,pay_group" - GROUPS_HOME_LOCATION = "groups,home_location" - GROUPS_HOME_LOCATION_COMPANY = "groups,home_location,company" - GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER = "groups,home_location,manager" - GROUPS_HOME_LOCATION_MANAGER_COMPANY = "groups,home_location,manager,company" - GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,home_location,manager,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,manager,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM = "groups,home_location,manager,team" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,manager,team,company" - GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,home_location,manager,team,company,pay_group" - GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,home_location,manager,team,pay_group" - GROUPS_HOME_LOCATION_PAY_GROUP = "groups,home_location,pay_group" - GROUPS_HOME_LOCATION_TEAM = "groups,home_location,team" - GROUPS_HOME_LOCATION_TEAM_COMPANY = "groups,home_location,team,company" - GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,home_location,team,company,pay_group" - GROUPS_HOME_LOCATION_TEAM_PAY_GROUP = "groups,home_location,team,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION = "groups,home_location,work_location" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY = "groups,home_location,work_location,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,home_location,work_location,company,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER = "groups,home_location,work_location,manager" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "groups,home_location,work_location,manager,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,home_location,work_location,manager,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "groups,home_location,work_location,manager,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,home_location,work_location,manager,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = ( - "groups,home_location,work_location,manager,team,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "groups,home_location,work_location,pay_group" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM = "groups,home_location,work_location,team" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "groups,home_location,work_location,team,company" - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = ( - "groups,home_location,work_location,team,company,pay_group" - ) - GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "groups,home_location,work_location,team,pay_group" - GROUPS_MANAGER = "groups,manager" - GROUPS_MANAGER_COMPANY = "groups,manager,company" - GROUPS_MANAGER_COMPANY_PAY_GROUP = "groups,manager,company,pay_group" - GROUPS_MANAGER_PAY_GROUP = "groups,manager,pay_group" - GROUPS_MANAGER_TEAM = "groups,manager,team" - GROUPS_MANAGER_TEAM_COMPANY = "groups,manager,team,company" - GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,manager,team,company,pay_group" - GROUPS_MANAGER_TEAM_PAY_GROUP = "groups,manager,team,pay_group" - GROUPS_PAY_GROUP = "groups,pay_group" - GROUPS_TEAM = "groups,team" - GROUPS_TEAM_COMPANY = "groups,team,company" - GROUPS_TEAM_COMPANY_PAY_GROUP = "groups,team,company,pay_group" - GROUPS_TEAM_PAY_GROUP = "groups,team,pay_group" - GROUPS_WORK_LOCATION = "groups,work_location" - GROUPS_WORK_LOCATION_COMPANY = "groups,work_location,company" - GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP = "groups,work_location,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER = "groups,work_location,manager" - GROUPS_WORK_LOCATION_MANAGER_COMPANY = "groups,work_location,manager,company" - GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "groups,work_location,manager,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP = "groups,work_location,manager,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM = "groups,work_location,manager,team" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY = "groups,work_location,manager,team,company" - GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "groups,work_location,manager,team,company,pay_group" - GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "groups,work_location,manager,team,pay_group" - GROUPS_WORK_LOCATION_PAY_GROUP = "groups,work_location,pay_group" - GROUPS_WORK_LOCATION_TEAM = "groups,work_location,team" - GROUPS_WORK_LOCATION_TEAM_COMPANY = "groups,work_location,team,company" - GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "groups,work_location,team,company,pay_group" - GROUPS_WORK_LOCATION_TEAM_PAY_GROUP = "groups,work_location,team,pay_group" - HOME_LOCATION = "home_location" - HOME_LOCATION_COMPANY = "home_location,company" - HOME_LOCATION_COMPANY_PAY_GROUP = "home_location,company,pay_group" - HOME_LOCATION_MANAGER = "home_location,manager" - HOME_LOCATION_MANAGER_COMPANY = "home_location,manager,company" - HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,manager,company,pay_group" - HOME_LOCATION_MANAGER_PAY_GROUP = "home_location,manager,pay_group" - HOME_LOCATION_MANAGER_TEAM = "home_location,manager,team" - HOME_LOCATION_MANAGER_TEAM_COMPANY = "home_location,manager,team,company" - HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "home_location,manager,team,company,pay_group" - HOME_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,manager,team,pay_group" - HOME_LOCATION_PAY_GROUP = "home_location,pay_group" - HOME_LOCATION_TEAM = "home_location,team" - HOME_LOCATION_TEAM_COMPANY = "home_location,team,company" - HOME_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,team,company,pay_group" - HOME_LOCATION_TEAM_PAY_GROUP = "home_location,team,pay_group" - HOME_LOCATION_WORK_LOCATION = "home_location,work_location" - HOME_LOCATION_WORK_LOCATION_COMPANY = "home_location,work_location,company" - HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP = "home_location,work_location,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER = "home_location,work_location,manager" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY = "home_location,work_location,manager,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "home_location,work_location,manager,company,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP = "home_location,work_location,manager,pay_group" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM = "home_location,work_location,manager,team" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY = "home_location,work_location,manager,team,company" - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = ( - "home_location,work_location,manager,team,company,pay_group" - ) - HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "home_location,work_location,manager,team,pay_group" - HOME_LOCATION_WORK_LOCATION_PAY_GROUP = "home_location,work_location,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM = "home_location,work_location,team" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY = "home_location,work_location,team,company" - HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "home_location,work_location,team,company,pay_group" - HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP = "home_location,work_location,team,pay_group" - MANAGER = "manager" - MANAGER_COMPANY = "manager,company" - MANAGER_COMPANY_PAY_GROUP = "manager,company,pay_group" - MANAGER_PAY_GROUP = "manager,pay_group" - MANAGER_TEAM = "manager,team" - MANAGER_TEAM_COMPANY = "manager,team,company" - MANAGER_TEAM_COMPANY_PAY_GROUP = "manager,team,company,pay_group" - MANAGER_TEAM_PAY_GROUP = "manager,team,pay_group" - PAY_GROUP = "pay_group" - TEAM = "team" - TEAM_COMPANY = "team,company" - TEAM_COMPANY_PAY_GROUP = "team,company,pay_group" - TEAM_PAY_GROUP = "team,pay_group" - WORK_LOCATION = "work_location" - WORK_LOCATION_COMPANY = "work_location,company" - WORK_LOCATION_COMPANY_PAY_GROUP = "work_location,company,pay_group" - WORK_LOCATION_MANAGER = "work_location,manager" - WORK_LOCATION_MANAGER_COMPANY = "work_location,manager,company" - WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP = "work_location,manager,company,pay_group" - WORK_LOCATION_MANAGER_PAY_GROUP = "work_location,manager,pay_group" - WORK_LOCATION_MANAGER_TEAM = "work_location,manager,team" - WORK_LOCATION_MANAGER_TEAM_COMPANY = "work_location,manager,team,company" - WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP = "work_location,manager,team,company,pay_group" - WORK_LOCATION_MANAGER_TEAM_PAY_GROUP = "work_location,manager,team,pay_group" - WORK_LOCATION_PAY_GROUP = "work_location,pay_group" - WORK_LOCATION_TEAM = "work_location,team" - WORK_LOCATION_TEAM_COMPANY = "work_location,team,company" - WORK_LOCATION_TEAM_COMPANY_PAY_GROUP = "work_location,team,company,pay_group" - WORK_LOCATION_TEAM_PAY_GROUP = "work_location,team,pay_group" - - def visit( - self, - company: typing.Callable[[], T_Result], - company_pay_group: typing.Callable[[], T_Result], - employments: typing.Callable[[], T_Result], - employments_company: typing.Callable[[], T_Result], - employments_company_pay_group: typing.Callable[[], T_Result], - employments_groups: typing.Callable[[], T_Result], - employments_groups_company: typing.Callable[[], T_Result], - employments_groups_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location: typing.Callable[[], T_Result], - employments_groups_home_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_groups_manager: typing.Callable[[], T_Result], - employments_groups_manager_company: typing.Callable[[], T_Result], - employments_groups_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team: typing.Callable[[], T_Result], - employments_groups_manager_team_company: typing.Callable[[], T_Result], - employments_groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_pay_group: typing.Callable[[], T_Result], - employments_groups_team: typing.Callable[[], T_Result], - employments_groups_team_company: typing.Callable[[], T_Result], - employments_groups_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location: typing.Callable[[], T_Result], - employments_groups_work_location_company: typing.Callable[[], T_Result], - employments_groups_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team: typing.Callable[[], T_Result], - employments_groups_work_location_team_company: typing.Callable[[], T_Result], - employments_groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_groups_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location: typing.Callable[[], T_Result], - employments_home_location_company: typing.Callable[[], T_Result], - employments_home_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager: typing.Callable[[], T_Result], - employments_home_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_team: typing.Callable[[], T_Result], - employments_home_location_team_company: typing.Callable[[], T_Result], - employments_home_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location: typing.Callable[[], T_Result], - employments_home_location_work_location_company: typing.Callable[[], T_Result], - employments_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company: typing.Callable[[], T_Result], - employments_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - employments_manager: typing.Callable[[], T_Result], - employments_manager_company: typing.Callable[[], T_Result], - employments_manager_company_pay_group: typing.Callable[[], T_Result], - employments_manager_pay_group: typing.Callable[[], T_Result], - employments_manager_team: typing.Callable[[], T_Result], - employments_manager_team_company: typing.Callable[[], T_Result], - employments_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_manager_team_pay_group: typing.Callable[[], T_Result], - employments_pay_group: typing.Callable[[], T_Result], - employments_team: typing.Callable[[], T_Result], - employments_team_company: typing.Callable[[], T_Result], - employments_team_company_pay_group: typing.Callable[[], T_Result], - employments_team_pay_group: typing.Callable[[], T_Result], - employments_work_location: typing.Callable[[], T_Result], - employments_work_location_company: typing.Callable[[], T_Result], - employments_work_location_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager: typing.Callable[[], T_Result], - employments_work_location_manager_company: typing.Callable[[], T_Result], - employments_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team: typing.Callable[[], T_Result], - employments_work_location_manager_team_company: typing.Callable[[], T_Result], - employments_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - employments_work_location_pay_group: typing.Callable[[], T_Result], - employments_work_location_team: typing.Callable[[], T_Result], - employments_work_location_team_company: typing.Callable[[], T_Result], - employments_work_location_team_company_pay_group: typing.Callable[[], T_Result], - employments_work_location_team_pay_group: typing.Callable[[], T_Result], - groups: typing.Callable[[], T_Result], - groups_company: typing.Callable[[], T_Result], - groups_company_pay_group: typing.Callable[[], T_Result], - groups_home_location: typing.Callable[[], T_Result], - groups_home_location_company: typing.Callable[[], T_Result], - groups_home_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager: typing.Callable[[], T_Result], - groups_home_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_team: typing.Callable[[], T_Result], - groups_home_location_team_company: typing.Callable[[], T_Result], - groups_home_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location: typing.Callable[[], T_Result], - groups_home_location_work_location_company: typing.Callable[[], T_Result], - groups_home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company: typing.Callable[[], T_Result], - groups_home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - groups_manager: typing.Callable[[], T_Result], - groups_manager_company: typing.Callable[[], T_Result], - groups_manager_company_pay_group: typing.Callable[[], T_Result], - groups_manager_pay_group: typing.Callable[[], T_Result], - groups_manager_team: typing.Callable[[], T_Result], - groups_manager_team_company: typing.Callable[[], T_Result], - groups_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_manager_team_pay_group: typing.Callable[[], T_Result], - groups_pay_group: typing.Callable[[], T_Result], - groups_team: typing.Callable[[], T_Result], - groups_team_company: typing.Callable[[], T_Result], - groups_team_company_pay_group: typing.Callable[[], T_Result], - groups_team_pay_group: typing.Callable[[], T_Result], - groups_work_location: typing.Callable[[], T_Result], - groups_work_location_company: typing.Callable[[], T_Result], - groups_work_location_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager: typing.Callable[[], T_Result], - groups_work_location_manager_company: typing.Callable[[], T_Result], - groups_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team: typing.Callable[[], T_Result], - groups_work_location_manager_team_company: typing.Callable[[], T_Result], - groups_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - groups_work_location_pay_group: typing.Callable[[], T_Result], - groups_work_location_team: typing.Callable[[], T_Result], - groups_work_location_team_company: typing.Callable[[], T_Result], - groups_work_location_team_company_pay_group: typing.Callable[[], T_Result], - groups_work_location_team_pay_group: typing.Callable[[], T_Result], - home_location: typing.Callable[[], T_Result], - home_location_company: typing.Callable[[], T_Result], - home_location_company_pay_group: typing.Callable[[], T_Result], - home_location_manager: typing.Callable[[], T_Result], - home_location_manager_company: typing.Callable[[], T_Result], - home_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_manager_team: typing.Callable[[], T_Result], - home_location_manager_team_company: typing.Callable[[], T_Result], - home_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_pay_group: typing.Callable[[], T_Result], - home_location_team: typing.Callable[[], T_Result], - home_location_team_company: typing.Callable[[], T_Result], - home_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location: typing.Callable[[], T_Result], - home_location_work_location_company: typing.Callable[[], T_Result], - home_location_work_location_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager: typing.Callable[[], T_Result], - home_location_work_location_manager_company: typing.Callable[[], T_Result], - home_location_work_location_manager_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company: typing.Callable[[], T_Result], - home_location_work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_manager_team_pay_group: typing.Callable[[], T_Result], - home_location_work_location_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team: typing.Callable[[], T_Result], - home_location_work_location_team_company: typing.Callable[[], T_Result], - home_location_work_location_team_company_pay_group: typing.Callable[[], T_Result], - home_location_work_location_team_pay_group: typing.Callable[[], T_Result], - manager: typing.Callable[[], T_Result], - manager_company: typing.Callable[[], T_Result], - manager_company_pay_group: typing.Callable[[], T_Result], - manager_pay_group: typing.Callable[[], T_Result], - manager_team: typing.Callable[[], T_Result], - manager_team_company: typing.Callable[[], T_Result], - manager_team_company_pay_group: typing.Callable[[], T_Result], - manager_team_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - team: typing.Callable[[], T_Result], - team_company: typing.Callable[[], T_Result], - team_company_pay_group: typing.Callable[[], T_Result], - team_pay_group: typing.Callable[[], T_Result], - work_location: typing.Callable[[], T_Result], - work_location_company: typing.Callable[[], T_Result], - work_location_company_pay_group: typing.Callable[[], T_Result], - work_location_manager: typing.Callable[[], T_Result], - work_location_manager_company: typing.Callable[[], T_Result], - work_location_manager_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_pay_group: typing.Callable[[], T_Result], - work_location_manager_team: typing.Callable[[], T_Result], - work_location_manager_team_company: typing.Callable[[], T_Result], - work_location_manager_team_company_pay_group: typing.Callable[[], T_Result], - work_location_manager_team_pay_group: typing.Callable[[], T_Result], - work_location_pay_group: typing.Callable[[], T_Result], - work_location_team: typing.Callable[[], T_Result], - work_location_team_company: typing.Callable[[], T_Result], - work_location_team_company_pay_group: typing.Callable[[], T_Result], - work_location_team_pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmployeesRetrieveRequestExpand.COMPANY: - return company() - if self is EmployeesRetrieveRequestExpand.COMPANY_PAY_GROUP: - return company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS: - return employments() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_COMPANY: - return employments_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_COMPANY_PAY_GROUP: - return employments_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS: - return employments_groups() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_COMPANY: - return employments_groups_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_COMPANY_PAY_GROUP: - return employments_groups_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION: - return employments_groups_home_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY: - return employments_groups_home_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER: - return employments_groups_home_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_PAY_GROUP: - return employments_groups_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM: - return employments_groups_home_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION: - return employments_groups_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_groups_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_groups_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_home_location_work_location_manager_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_home_location_work_location_manager_team_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_groups_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_groups_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER: - return employments_groups_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY: - return employments_groups_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_PAY_GROUP: - return employments_groups_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM: - return employments_groups_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY: - return employments_groups_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_MANAGER_TEAM_PAY_GROUP: - return employments_groups_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_PAY_GROUP: - return employments_groups_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM: - return employments_groups_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY: - return employments_groups_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_COMPANY_PAY_GROUP: - return employments_groups_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_TEAM_PAY_GROUP: - return employments_groups_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION: - return employments_groups_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY: - return employments_groups_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_groups_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER: - return employments_groups_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return employments_groups_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_groups_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM: - return employments_groups_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_groups_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_groups_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_PAY_GROUP: - return employments_groups_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM: - return employments_groups_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY: - return employments_groups_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_groups_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_groups_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION: - return employments_home_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY: - return employments_home_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER: - return employments_home_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY: - return employments_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM: - return employments_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_PAY_GROUP: - return employments_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM: - return employments_home_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY: - return employments_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION: - return employments_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return employments_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return employments_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return employments_home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return employments_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_home_location_work_location_manager_team_company() - if ( - self - is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP - ): - return employments_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return employments_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM: - return employments_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return employments_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER: - return employments_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_COMPANY: - return employments_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_COMPANY_PAY_GROUP: - return employments_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_PAY_GROUP: - return employments_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM: - return employments_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY: - return employments_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_MANAGER_TEAM_PAY_GROUP: - return employments_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_PAY_GROUP: - return employments_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM: - return employments_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_COMPANY: - return employments_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_COMPANY_PAY_GROUP: - return employments_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_TEAM_PAY_GROUP: - return employments_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION: - return employments_work_location() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY: - return employments_work_location_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_COMPANY_PAY_GROUP: - return employments_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER: - return employments_work_location_manager() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY: - return employments_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return employments_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_PAY_GROUP: - return employments_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM: - return employments_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return employments_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return employments_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_PAY_GROUP: - return employments_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM: - return employments_work_location_team() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY: - return employments_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return employments_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.EMPLOYMENTS_WORK_LOCATION_TEAM_PAY_GROUP: - return employments_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS: - return groups() - if self is EmployeesRetrieveRequestExpand.GROUPS_COMPANY: - return groups_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_COMPANY_PAY_GROUP: - return groups_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION: - return groups_home_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_COMPANY: - return groups_home_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER: - return groups_home_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY: - return groups_home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM: - return groups_home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_PAY_GROUP: - return groups_home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM: - return groups_home_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY: - return groups_home_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION: - return groups_home_location_work_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY: - return groups_home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER: - return groups_home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return groups_home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return groups_home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_home_location_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return groups_home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM: - return groups_home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return groups_home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER: - return groups_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_COMPANY: - return groups_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_COMPANY_PAY_GROUP: - return groups_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_PAY_GROUP: - return groups_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM: - return groups_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_COMPANY: - return groups_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_MANAGER_TEAM_PAY_GROUP: - return groups_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_PAY_GROUP: - return groups_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM: - return groups_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_COMPANY: - return groups_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_COMPANY_PAY_GROUP: - return groups_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_TEAM_PAY_GROUP: - return groups_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION: - return groups_work_location() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_COMPANY: - return groups_work_location_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_COMPANY_PAY_GROUP: - return groups_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER: - return groups_work_location_manager() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY: - return groups_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return groups_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_PAY_GROUP: - return groups_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM: - return groups_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return groups_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return groups_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_PAY_GROUP: - return groups_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM: - return groups_work_location_team() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY: - return groups_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return groups_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.GROUPS_WORK_LOCATION_TEAM_PAY_GROUP: - return groups_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION: - return home_location() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_COMPANY: - return home_location_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_COMPANY_PAY_GROUP: - return home_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER: - return home_location_manager() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_COMPANY: - return home_location_manager_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_PAY_GROUP: - return home_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM: - return home_location_manager_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_PAY_GROUP: - return home_location_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM: - return home_location_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_COMPANY: - return home_location_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_TEAM_PAY_GROUP: - return home_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION: - return home_location_work_location() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY: - return home_location_work_location_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_COMPANY_PAY_GROUP: - return home_location_work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER: - return home_location_work_location_manager() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY: - return home_location_work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return home_location_work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_PAY_GROUP: - return home_location_work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM: - return home_location_work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY: - return home_location_work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return home_location_work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_PAY_GROUP: - return home_location_work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM: - return home_location_work_location_team() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY: - return home_location_work_location_team_company() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return home_location_work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.HOME_LOCATION_WORK_LOCATION_TEAM_PAY_GROUP: - return home_location_work_location_team_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER: - return manager() - if self is EmployeesRetrieveRequestExpand.MANAGER_COMPANY: - return manager_company() - if self is EmployeesRetrieveRequestExpand.MANAGER_COMPANY_PAY_GROUP: - return manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_PAY_GROUP: - return manager_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM: - return manager_team() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_COMPANY: - return manager_team_company() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_COMPANY_PAY_GROUP: - return manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.MANAGER_TEAM_PAY_GROUP: - return manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.PAY_GROUP: - return pay_group() - if self is EmployeesRetrieveRequestExpand.TEAM: - return team() - if self is EmployeesRetrieveRequestExpand.TEAM_COMPANY: - return team_company() - if self is EmployeesRetrieveRequestExpand.TEAM_COMPANY_PAY_GROUP: - return team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.TEAM_PAY_GROUP: - return team_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION: - return work_location() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_COMPANY: - return work_location_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_COMPANY_PAY_GROUP: - return work_location_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER: - return work_location_manager() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_COMPANY: - return work_location_manager_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_COMPANY_PAY_GROUP: - return work_location_manager_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_PAY_GROUP: - return work_location_manager_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM: - return work_location_manager_team() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY: - return work_location_manager_team_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_COMPANY_PAY_GROUP: - return work_location_manager_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_MANAGER_TEAM_PAY_GROUP: - return work_location_manager_team_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_PAY_GROUP: - return work_location_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM: - return work_location_team() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_COMPANY: - return work_location_team_company() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_COMPANY_PAY_GROUP: - return work_location_team_company_pay_group() - if self is EmployeesRetrieveRequestExpand.WORK_LOCATION_TEAM_PAY_GROUP: - return work_location_team_pay_group() diff --git a/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py new file mode 100644 index 00000000..f152aaf4 --- /dev/null +++ b/src/merge/resources/hris/resources/employees/types/employees_retrieve_request_expand_item.py @@ -0,0 +1,45 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmployeesRetrieveRequestExpandItem(str, enum.Enum): + COMPANY = "company" + EMPLOYMENTS = "employments" + GROUPS = "groups" + HOME_LOCATION = "home_location" + MANAGER = "manager" + PAY_GROUP = "pay_group" + TEAM = "team" + WORK_LOCATION = "work_location" + + def visit( + self, + company: typing.Callable[[], T_Result], + employments: typing.Callable[[], T_Result], + groups: typing.Callable[[], T_Result], + home_location: typing.Callable[[], T_Result], + manager: typing.Callable[[], T_Result], + pay_group: typing.Callable[[], T_Result], + team: typing.Callable[[], T_Result], + work_location: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EmployeesRetrieveRequestExpandItem.COMPANY: + return company() + if self is EmployeesRetrieveRequestExpandItem.EMPLOYMENTS: + return employments() + if self is EmployeesRetrieveRequestExpandItem.GROUPS: + return groups() + if self is EmployeesRetrieveRequestExpandItem.HOME_LOCATION: + return home_location() + if self is EmployeesRetrieveRequestExpandItem.MANAGER: + return manager() + if self is EmployeesRetrieveRequestExpandItem.PAY_GROUP: + return pay_group() + if self is EmployeesRetrieveRequestExpandItem.TEAM: + return team() + if self is EmployeesRetrieveRequestExpandItem.WORK_LOCATION: + return work_location() diff --git a/src/merge/resources/hris/resources/employer_benefits/client.py b/src/merge/resources/hris/resources/employer_benefits/client.py index 9c6cd4d6..8ea064f3 100644 --- a/src/merge/resources/hris/resources/employer_benefits/client.py +++ b/src/merge/resources/hris/resources/employer_benefits/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employer_benefit import EmployerBenefit -from ...types.paginated_employer_benefit_list import PaginatedEmployerBenefitList from .raw_client import AsyncRawEmployerBenefitsClient, RawEmployerBenefitsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployerBenefitList: + ) -> SyncPager[EmployerBenefit]: """ Returns a list of `EmployerBenefit` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedEmployerBenefitList + SyncPager[EmployerBenefit] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employer_benefits.list( + response = client.hris.employer_benefits.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmployerBenefitList: + ) -> AsyncPager[EmployerBenefit]: """ Returns a list of `EmployerBenefit` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedEmployerBenefitList + AsyncPager[EmployerBenefit] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.hris.employer_benefits.list( + response = await client.hris.employer_benefits.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/employer_benefits/raw_client.py b/src/merge/resources/hris/resources/employer_benefits/raw_client.py index 8d186abf..1078bc50 100644 --- a/src/merge/resources/hris/resources/employer_benefits/raw_client.py +++ b/src/merge/resources/hris/resources/employer_benefits/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employer_benefit import EmployerBenefit @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmployerBenefitList]: + ) -> SyncPager[EmployerBenefit]: """ Returns a list of `EmployerBenefit` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmployerBenefitList] + SyncPager[EmployerBenefit] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployerBenefitList, construct_type( type_=PaginatedEmployerBenefitList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmployerBenefitList]: + ) -> AsyncPager[EmployerBenefit]: """ Returns a list of `EmployerBenefit` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmployerBenefitList] + AsyncPager[EmployerBenefit] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmployerBenefitList, construct_type( type_=PaginatedEmployerBenefitList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/employments/__init__.py b/src/merge/resources/hris/resources/employments/__init__.py index 82ec0cea..47edf653 100644 --- a/src/merge/resources/hris/resources/employments/__init__.py +++ b/src/merge/resources/hris/resources/employments/__init__.py @@ -7,20 +7,20 @@ if typing.TYPE_CHECKING: from .types import ( - EmploymentsListRequestExpand, + EmploymentsListRequestExpandItem, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, - EmploymentsRetrieveRequestExpand, + EmploymentsRetrieveRequestExpandItem, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "EmploymentsListRequestExpand": ".types", + "EmploymentsListRequestExpandItem": ".types", "EmploymentsListRequestOrderBy": ".types", "EmploymentsListRequestRemoteFields": ".types", "EmploymentsListRequestShowEnumOrigins": ".types", - "EmploymentsRetrieveRequestExpand": ".types", + "EmploymentsRetrieveRequestExpandItem": ".types", "EmploymentsRetrieveRequestRemoteFields": ".types", "EmploymentsRetrieveRequestShowEnumOrigins": ".types", } @@ -46,11 +46,11 @@ def __dir__(): __all__ = [ - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/employments/client.py b/src/merge/resources/hris/resources/employments/client.py index 49118beb..cdbf8c74 100644 --- a/src/merge/resources/hris/resources/employments/client.py +++ b/src/merge/resources/hris/resources/employments/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.employment import Employment -from ...types.paginated_employment_list import PaginatedEmploymentList from .raw_client import AsyncRawEmploymentsClient, RawEmploymentsClient -from .types.employments_list_request_expand import EmploymentsListRequestExpand +from .types.employments_list_request_expand_item import EmploymentsListRequestExpandItem from .types.employments_list_request_order_by import EmploymentsListRequestOrderBy from .types.employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .types.employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins -from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand +from .types.employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins @@ -39,7 +39,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -51,7 +53,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmploymentList: + ) -> SyncPager[Employment]: """ Returns a list of `Employment` objects. @@ -69,7 +71,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,7 +109,7 @@ def list( Returns ------- - PaginatedEmploymentList + SyncPager[Employment] Examples @@ -116,7 +118,6 @@ def list( from merge import Merge from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, @@ -126,7 +127,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.employments.list( + response = client.hris.employments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -135,7 +136,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -151,8 +151,13 @@ def list( remote_id="remote_id", show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -170,13 +175,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -190,7 +196,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -217,7 +223,6 @@ def retrieve( -------- from merge import Merge from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) @@ -228,7 +233,6 @@ def retrieve( ) client.hris.employments.retrieve( id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, include_remote_data=True, include_shell_data=True, remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, @@ -269,7 +273,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -281,7 +287,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedEmploymentList: + ) -> AsyncPager[Employment]: """ Returns a list of `Employment` objects. @@ -299,7 +305,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -337,7 +343,7 @@ async def list( Returns ------- - PaginatedEmploymentList + AsyncPager[Employment] Examples @@ -347,7 +353,6 @@ async def list( from merge import AsyncMerge from merge.resources.hris.resources.employments import ( - EmploymentsListRequestExpand, EmploymentsListRequestOrderBy, EmploymentsListRequestRemoteFields, EmploymentsListRequestShowEnumOrigins, @@ -360,7 +365,7 @@ async def list( async def main() -> None: - await client.hris.employments.list( + response = await client.hris.employments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -369,7 +374,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", employee_id="employee_id", - expand=EmploymentsListRequestExpand.EMPLOYEE, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -385,11 +389,17 @@ async def main() -> None: remote_id="remote_id", show_enum_origins=EmploymentsListRequestShowEnumOrigins.EMPLOYMENT_TYPE, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -407,13 +417,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -427,7 +438,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -456,7 +467,6 @@ async def retrieve( from merge import AsyncMerge from merge.resources.hris.resources.employments import ( - EmploymentsRetrieveRequestExpand, EmploymentsRetrieveRequestRemoteFields, EmploymentsRetrieveRequestShowEnumOrigins, ) @@ -470,7 +480,6 @@ async def retrieve( async def main() -> None: await client.hris.employments.retrieve( id="id", - expand=EmploymentsRetrieveRequestExpand.EMPLOYEE, include_remote_data=True, include_shell_data=True, remote_fields=EmploymentsRetrieveRequestRemoteFields.EMPLOYMENT_TYPE, diff --git a/src/merge/resources/hris/resources/employments/raw_client.py b/src/merge/resources/hris/resources/employments/raw_client.py index 06dd96ac..adea0c9c 100644 --- a/src/merge/resources/hris/resources/employments/raw_client.py +++ b/src/merge/resources/hris/resources/employments/raw_client.py @@ -9,15 +9,16 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.employment import Employment from ...types.paginated_employment_list import PaginatedEmploymentList -from .types.employments_list_request_expand import EmploymentsListRequestExpand +from .types.employments_list_request_expand_item import EmploymentsListRequestExpandItem from .types.employments_list_request_order_by import EmploymentsListRequestOrderBy from .types.employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .types.employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins -from .types.employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand +from .types.employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .types.employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .types.employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins @@ -33,7 +34,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +48,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedEmploymentList]: + ) -> SyncPager[Employment]: """ Returns a list of `Employment` objects. @@ -63,7 +66,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -101,7 +104,7 @@ def list( Returns ------- - HttpResponse[PaginatedEmploymentList] + SyncPager[Employment] """ _response = self._client_wrapper.httpx_client.request( @@ -128,14 +131,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmploymentList, construct_type( type_=PaginatedEmploymentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -145,7 +171,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -159,7 +187,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -221,7 +249,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[EmploymentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -233,7 +263,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[EmploymentsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedEmploymentList]: + ) -> AsyncPager[Employment]: """ Returns a list of `Employment` objects. @@ -251,7 +281,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return employments for this employee. - expand : typing.Optional[EmploymentsListRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsListRequestExpandItem, typing.Sequence[EmploymentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -289,7 +319,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedEmploymentList] + AsyncPager[Employment] """ _response = await self._client_wrapper.httpx_client.request( @@ -316,14 +346,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedEmploymentList, construct_type( type_=PaginatedEmploymentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -333,7 +389,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[EmploymentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[EmploymentsRetrieveRequestRemoteFields] = None, @@ -347,7 +405,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[EmploymentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[EmploymentsRetrieveRequestExpandItem, typing.Sequence[EmploymentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/employments/types/__init__.py b/src/merge/resources/hris/resources/employments/types/__init__.py index 06af9d3d..0fa4e86d 100644 --- a/src/merge/resources/hris/resources/employments/types/__init__.py +++ b/src/merge/resources/hris/resources/employments/types/__init__.py @@ -6,19 +6,19 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .employments_list_request_expand import EmploymentsListRequestExpand + from .employments_list_request_expand_item import EmploymentsListRequestExpandItem from .employments_list_request_order_by import EmploymentsListRequestOrderBy from .employments_list_request_remote_fields import EmploymentsListRequestRemoteFields from .employments_list_request_show_enum_origins import EmploymentsListRequestShowEnumOrigins - from .employments_retrieve_request_expand import EmploymentsRetrieveRequestExpand + from .employments_retrieve_request_expand_item import EmploymentsRetrieveRequestExpandItem from .employments_retrieve_request_remote_fields import EmploymentsRetrieveRequestRemoteFields from .employments_retrieve_request_show_enum_origins import EmploymentsRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "EmploymentsListRequestExpand": ".employments_list_request_expand", + "EmploymentsListRequestExpandItem": ".employments_list_request_expand_item", "EmploymentsListRequestOrderBy": ".employments_list_request_order_by", "EmploymentsListRequestRemoteFields": ".employments_list_request_remote_fields", "EmploymentsListRequestShowEnumOrigins": ".employments_list_request_show_enum_origins", - "EmploymentsRetrieveRequestExpand": ".employments_retrieve_request_expand", + "EmploymentsRetrieveRequestExpandItem": ".employments_retrieve_request_expand_item", "EmploymentsRetrieveRequestRemoteFields": ".employments_retrieve_request_remote_fields", "EmploymentsRetrieveRequestShowEnumOrigins": ".employments_retrieve_request_show_enum_origins", } @@ -44,11 +44,11 @@ def __dir__(): __all__ = [ - "EmploymentsListRequestExpand", + "EmploymentsListRequestExpandItem", "EmploymentsListRequestOrderBy", "EmploymentsListRequestRemoteFields", "EmploymentsListRequestShowEnumOrigins", - "EmploymentsRetrieveRequestExpand", + "EmploymentsRetrieveRequestExpandItem", "EmploymentsRetrieveRequestRemoteFields", "EmploymentsRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py deleted file mode 100644 index f123ef47..00000000 --- a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmploymentsListRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAY_GROUP = "employee,pay_group" - PAY_GROUP = "pay_group" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmploymentsListRequestExpand.EMPLOYEE: - return employee() - if self is EmploymentsListRequestExpand.EMPLOYEE_PAY_GROUP: - return employee_pay_group() - if self is EmploymentsListRequestExpand.PAY_GROUP: - return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py new file mode 100644 index 00000000..3519601e --- /dev/null +++ b/src/merge/resources/hris/resources/employments/types/employments_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmploymentsListRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAY_GROUP = "pay_group" + + def visit(self, employee: typing.Callable[[], T_Result], pay_group: typing.Callable[[], T_Result]) -> T_Result: + if self is EmploymentsListRequestExpandItem.EMPLOYEE: + return employee() + if self is EmploymentsListRequestExpandItem.PAY_GROUP: + return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py deleted file mode 100644 index 98db9ac2..00000000 --- a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EmploymentsRetrieveRequestExpand(str, enum.Enum): - EMPLOYEE = "employee" - EMPLOYEE_PAY_GROUP = "employee,pay_group" - PAY_GROUP = "pay_group" - - def visit( - self, - employee: typing.Callable[[], T_Result], - employee_pay_group: typing.Callable[[], T_Result], - pay_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EmploymentsRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is EmploymentsRetrieveRequestExpand.EMPLOYEE_PAY_GROUP: - return employee_pay_group() - if self is EmploymentsRetrieveRequestExpand.PAY_GROUP: - return pay_group() diff --git a/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py new file mode 100644 index 00000000..8425214f --- /dev/null +++ b/src/merge/resources/hris/resources/employments/types/employments_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EmploymentsRetrieveRequestExpandItem(str, enum.Enum): + EMPLOYEE = "employee" + PAY_GROUP = "pay_group" + + def visit(self, employee: typing.Callable[[], T_Result], pay_group: typing.Callable[[], T_Result]) -> T_Result: + if self is EmploymentsRetrieveRequestExpandItem.EMPLOYEE: + return employee() + if self is EmploymentsRetrieveRequestExpandItem.PAY_GROUP: + return pay_group() diff --git a/src/merge/resources/hris/resources/field_mapping/client.py b/src/merge/resources/hris/resources/field_mapping/client.py index a7019942..146d18df 100644 --- a/src/merge/resources/hris/resources/field_mapping/client.py +++ b/src/merge/resources/hris/resources/field_mapping/client.py @@ -186,6 +186,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -199,6 +200,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -229,10 +233,12 @@ def field_mappings_partial_update( ) client.hris.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, @@ -511,6 +517,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -524,6 +531,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -559,6 +569,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.hris.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -566,6 +577,7 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, diff --git a/src/merge/resources/hris/resources/field_mapping/raw_client.py b/src/merge/resources/hris/resources/field_mapping/raw_client.py index e484a3d9..829892b3 100644 --- a/src/merge/resources/hris/resources/field_mapping/raw_client.py +++ b/src/merge/resources/hris/resources/field_mapping/raw_client.py @@ -195,6 +195,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -208,6 +209,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -231,6 +235,9 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"hris/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, @@ -522,6 +529,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -535,6 +543,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -558,6 +569,9 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"hris/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, diff --git a/src/merge/resources/hris/resources/groups/__init__.py b/src/merge/resources/hris/resources/groups/__init__.py index 5cde0202..56aafbd7 100644 --- a/src/merge/resources/hris/resources/groups/__init__.py +++ b/src/merge/resources/hris/resources/groups/__init__.py @@ -2,3 +2,31 @@ # isort: skip_file +import typing +from importlib import import_module + +if typing.TYPE_CHECKING: + from .types import GroupsTypesListResponse +_dynamic_imports: typing.Dict[str, str] = {"GroupsTypesListResponse": ".types"} + + +def __getattr__(attr_name: str) -> typing.Any: + module_name = _dynamic_imports.get(attr_name) + if module_name is None: + raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") + try: + module = import_module(module_name, __package__) + result = getattr(module, attr_name) + return result + except ImportError as e: + raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e + except AttributeError as e: + raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e + + +def __dir__(): + lazy_attrs = list(_dynamic_imports.keys()) + return sorted(lazy_attrs) + + +__all__ = ["GroupsTypesListResponse"] diff --git a/src/merge/resources/hris/resources/groups/client.py b/src/merge/resources/hris/resources/groups/client.py index ebb637f4..2045fc7b 100644 --- a/src/merge/resources/hris/resources/groups/client.py +++ b/src/merge/resources/hris/resources/groups/client.py @@ -4,10 +4,11 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList from .raw_client import AsyncRawGroupsClient, RawGroupsClient +from .types.groups_types_list_response import GroupsTypesListResponse class GroupsClient: @@ -44,7 +45,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["type"]] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> SyncPager[Group]: """ Returns a list of `Group` objects. @@ -100,7 +101,7 @@ def list( Returns ------- - PaginatedGroupList + SyncPager[Group] Examples @@ -113,7 +114,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.groups.list( + response = client.hris.groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -136,8 +137,13 @@ def list( remote_id="remote_id", types="types", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -155,7 +161,6 @@ def list( types=types, request_options=request_options, ) - return _response.data def retrieve( self, @@ -218,6 +223,52 @@ def retrieve( ) return _response.data + def types_list( + self, + *, + include_deleted_data: typing.Optional[bool] = None, + show_enum_origins: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> GroupsTypesListResponse: + """ + Returns a list of distinct group type values from the Groups common model. + + Parameters + ---------- + include_deleted_data : typing.Optional[bool] + Whether to include data that was marked as deleted by third party webhooks. + + show_enum_origins : typing.Optional[str] + A comma separated list of enum field names for which you'd like the original values instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GroupsTypesListResponse + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.hris.groups.types_list( + include_deleted_data=True, + show_enum_origins="show_enum_origins", + ) + """ + _response = self._raw_client.types_list( + include_deleted_data=include_deleted_data, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data + class AsyncGroupsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -253,7 +304,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["type"]] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: + ) -> AsyncPager[Group]: """ Returns a list of `Group` objects. @@ -309,7 +360,7 @@ async def list( Returns ------- - PaginatedGroupList + AsyncPager[Group] Examples @@ -326,7 +377,7 @@ async def list( async def main() -> None: - await client.hris.groups.list( + response = await client.hris.groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -349,11 +400,17 @@ async def main() -> None: remote_id="remote_id", types="types", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -371,7 +428,6 @@ async def main() -> None: types=types, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -441,3 +497,57 @@ async def main() -> None: request_options=request_options, ) return _response.data + + async def types_list( + self, + *, + include_deleted_data: typing.Optional[bool] = None, + show_enum_origins: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> GroupsTypesListResponse: + """ + Returns a list of distinct group type values from the Groups common model. + + Parameters + ---------- + include_deleted_data : typing.Optional[bool] + Whether to include data that was marked as deleted by third party webhooks. + + show_enum_origins : typing.Optional[str] + A comma separated list of enum field names for which you'd like the original values instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + GroupsTypesListResponse + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.hris.groups.types_list( + include_deleted_data=True, + show_enum_origins="show_enum_origins", + ) + + + asyncio.run(main()) + """ + _response = await self._raw_client.types_list( + include_deleted_data=include_deleted_data, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return _response.data diff --git a/src/merge/resources/hris/resources/groups/raw_client.py b/src/merge/resources/hris/resources/groups/raw_client.py index 1bf09946..53023c61 100644 --- a/src/merge/resources/hris/resources/groups/raw_client.py +++ b/src/merge/resources/hris/resources/groups/raw_client.py @@ -9,10 +9,12 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.group import Group from ...types.paginated_group_list import PaginatedGroupList +from .types.groups_types_list_response import GroupsTypesListResponse class RawGroupsClient: @@ -38,7 +40,7 @@ def list( show_enum_origins: typing.Optional[typing.Literal["type"]] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: + ) -> SyncPager[Group]: """ Returns a list of `Group` objects. @@ -94,7 +96,7 @@ def list( Returns ------- - HttpResponse[PaginatedGroupList] + SyncPager[Group] """ _response = self._client_wrapper.httpx_client.request( @@ -121,14 +123,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_commonly_used_as_team=is_commonly_used_as_team, + modified_after=modified_after, + modified_before=modified_before, + names=names, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + types=types, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,6 +222,56 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def types_list( + self, + *, + include_deleted_data: typing.Optional[bool] = None, + show_enum_origins: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> HttpResponse[GroupsTypesListResponse]: + """ + Returns a list of distinct group type values from the Groups common model. + + Parameters + ---------- + include_deleted_data : typing.Optional[bool] + Whether to include data that was marked as deleted by third party webhooks. + + show_enum_origins : typing.Optional[str] + A comma separated list of enum field names for which you'd like the original values instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[GroupsTypesListResponse] + + """ + _response = self._client_wrapper.httpx_client.request( + "hris/v1/groups/types", + method="GET", + params={ + "include_deleted_data": include_deleted_data, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GroupsTypesListResponse, + construct_type( + type_=GroupsTypesListResponse, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawGroupsClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -221,7 +296,7 @@ async def list( show_enum_origins: typing.Optional[typing.Literal["type"]] = None, types: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: + ) -> AsyncPager[Group]: """ Returns a list of `Group` objects. @@ -277,7 +352,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedGroupList] + AsyncPager[Group] """ _response = await self._client_wrapper.httpx_client.request( @@ -304,14 +379,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedGroupList, construct_type( type_=PaginatedGroupList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_commonly_used_as_team=is_commonly_used_as_team, + modified_after=modified_after, + modified_before=modified_before, + names=names, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + types=types, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -379,3 +480,53 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def types_list( + self, + *, + include_deleted_data: typing.Optional[bool] = None, + show_enum_origins: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> AsyncHttpResponse[GroupsTypesListResponse]: + """ + Returns a list of distinct group type values from the Groups common model. + + Parameters + ---------- + include_deleted_data : typing.Optional[bool] + Whether to include data that was marked as deleted by third party webhooks. + + show_enum_origins : typing.Optional[str] + A comma separated list of enum field names for which you'd like the original values instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins) + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[GroupsTypesListResponse] + + """ + _response = await self._client_wrapper.httpx_client.request( + "hris/v1/groups/types", + method="GET", + params={ + "include_deleted_data": include_deleted_data, + "show_enum_origins": show_enum_origins, + }, + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + GroupsTypesListResponse, + construct_type( + type_=GroupsTypesListResponse, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/chat/resources/conversations/__init__.py b/src/merge/resources/hris/resources/groups/types/__init__.py similarity index 80% rename from src/merge/resources/chat/resources/conversations/__init__.py rename to src/merge/resources/hris/resources/groups/types/__init__.py index d53a3f28..458d6e0c 100644 --- a/src/merge/resources/chat/resources/conversations/__init__.py +++ b/src/merge/resources/hris/resources/groups/types/__init__.py @@ -6,8 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ConversationsMembersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ConversationsMembersListRequestExpand": ".types"} + from .groups_types_list_response import GroupsTypesListResponse +_dynamic_imports: typing.Dict[str, str] = {"GroupsTypesListResponse": ".groups_types_list_response"} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ConversationsMembersListRequestExpand"] +__all__ = ["GroupsTypesListResponse"] diff --git a/src/merge/resources/chat/types/debug_model_log_summary.py b/src/merge/resources/hris/resources/groups/types/groups_types_list_response.py similarity index 56% rename from src/merge/resources/chat/types/debug_model_log_summary.py rename to src/merge/resources/hris/resources/groups/types/groups_types_list_response.py index d7e1d3e6..6a708631 100644 --- a/src/merge/resources/chat/types/debug_model_log_summary.py +++ b/src/merge/resources/hris/resources/groups/types/groups_types_list_response.py @@ -3,14 +3,15 @@ import typing import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel +from ......core.pydantic_utilities import IS_PYDANTIC_V2 +from ......core.unchecked_base_model import UncheckedBaseModel -class DebugModelLogSummary(UncheckedBaseModel): - url: str - method: str - status_code: int +class GroupsTypesListResponse(UncheckedBaseModel): + types: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + List of distinct group types + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/resources/issues/client.py b/src/merge/resources/hris/resources/issues/client.py index 211669fd..1f3528b8 100644 --- a/src/merge/resources/hris/resources/issues/client.py +++ b/src/merge/resources/hris/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.issues.list( + response = client.hris.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.hris.issues.list( + response = await client.hris.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/hris/resources/issues/raw_client.py b/src/merge/resources/hris/resources/issues/raw_client.py index bd80ca52..26a785b9 100644 --- a/src/merge/resources/hris/resources/issues/raw_client.py +++ b/src/merge/resources/hris/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/link_token/__init__.py b/src/merge/resources/hris/resources/link_token/__init__.py index be8c3839..3bad6adf 100644 --- a/src/merge/resources/hris/resources/link_token/__init__.py +++ b/src/merge/resources/hris/resources/link_token/__init__.py @@ -6,11 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -32,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/hris/resources/link_token/client.py b/src/merge/resources/hris/resources/link_token/client.py index 15620041..ff209de8 100644 --- a/src/merge/resources/hris/resources/link_token/client.py +++ b/src/merge/resources/hris/resources/link_token/client.py @@ -9,9 +9,6 @@ from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -51,11 +48,11 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -101,10 +98,8 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -144,7 +139,7 @@ def create( language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, + linked_destination_id=linked_destination_id, request_options=request_options, ) return _response.data @@ -183,11 +178,11 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -233,10 +228,8 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -284,7 +277,7 @@ async def main() -> None: language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, + linked_destination_id=linked_destination_id, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/hris/resources/link_token/raw_client.py b/src/merge/resources/hris/resources/link_token/raw_client.py index 979a2af4..68dcefa8 100644 --- a/src/merge/resources/hris/resources/link_token/raw_client.py +++ b/src/merge/resources/hris/resources/link_token/raw_client.py @@ -12,9 +12,6 @@ from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -43,11 +40,11 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -93,10 +90,8 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -123,7 +118,7 @@ def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, + "linked_destination_id": linked_destination_id, }, headers={ "content-type": "application/json", @@ -169,11 +164,11 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, + linked_destination_id: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -219,10 +214,8 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC + linked_destination_id : typing.Optional[str] + The UUID of the linked destination that you want this Linked Account to be tied to. request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -249,7 +242,7 @@ async def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, + "linked_destination_id": linked_destination_id, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/hris/resources/link_token/types/__init__.py b/src/merge/resources/hris/resources/link_token/types/__init__.py index 55cc1d4e..e9a7d3b9 100644 --- a/src/merge/resources/hris/resources/link_token/types/__init__.py +++ b/src/merge/resources/hris/resources/link_token/types/__init__.py @@ -6,14 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} def __getattr__(attr_name: str) -> typing.Any: @@ -35,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/hris/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/hris/resources/linked_accounts/client.py b/src/merge/resources/hris/resources/linked_accounts/client.py index ada41b71..39f104fd 100644 --- a/src/merge/resources/hris/resources/linked_accounts/client.py +++ b/src/merge/resources/hris/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -98,7 +99,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.linked_accounts.list( + response = client.hris.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +128,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +150,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +184,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -236,7 +241,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +260,7 @@ async def list( async def main() -> None: - await client.hris.linked_accounts.list( + response = await client.hris.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +275,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +301,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/hris/resources/linked_accounts/raw_client.py b/src/merge/resources/hris/resources/linked_accounts/raw_client.py index cd2639e5..fb00eb1c 100644 --- a/src/merge/resources/hris/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/hris/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +172,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -207,7 +229,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +254,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/locations/client.py b/src/merge/resources/hris/resources/locations/client.py index 7663787c..00dc8168 100644 --- a/src/merge/resources/hris/resources/locations/client.py +++ b/src/merge/resources/hris/resources/locations/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.location import Location -from ...types.paginated_location_list import PaginatedLocationList from .raw_client import AsyncRawLocationsClient, RawLocationsClient from .types.locations_list_request_location_type import LocationsListRequestLocationType from .types.locations_list_request_remote_fields import LocationsListRequestRemoteFields @@ -47,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLocationList: + ) -> SyncPager[Location]: """ Returns a list of `Location` objects. @@ -100,7 +100,7 @@ def list( Returns ------- - PaginatedLocationList + SyncPager[Location] Examples @@ -118,7 +118,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.locations.list( + response = client.hris.locations.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -141,8 +141,13 @@ def list( remote_id="remote_id", show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +163,6 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, @@ -260,7 +264,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedLocationList: + ) -> AsyncPager[Location]: """ Returns a list of `Location` objects. @@ -313,7 +317,7 @@ async def list( Returns ------- - PaginatedLocationList + AsyncPager[Location] Examples @@ -335,7 +339,7 @@ async def list( async def main() -> None: - await client.hris.locations.list( + response = await client.hris.locations.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -358,11 +362,17 @@ async def main() -> None: remote_id="remote_id", show_enum_origins=LocationsListRequestShowEnumOrigins.COUNTRY, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -378,7 +388,6 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/locations/raw_client.py b/src/merge/resources/hris/resources/locations/raw_client.py index cdf539bd..dfbbe9bd 100644 --- a/src/merge/resources/hris/resources/locations/raw_client.py +++ b/src/merge/resources/hris/resources/locations/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.location import Location @@ -41,7 +42,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedLocationList]: + ) -> SyncPager[Location]: """ Returns a list of `Location` objects. @@ -94,7 +95,7 @@ def list( Returns ------- - HttpResponse[PaginatedLocationList] + SyncPager[Location] """ _response = self._client_wrapper.httpx_client.request( @@ -119,14 +120,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLocationList, construct_type( type_=PaginatedLocationList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + location_type=location_type, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -217,7 +239,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[LocationsListRequestShowEnumOrigins] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedLocationList]: + ) -> AsyncPager[Location]: """ Returns a list of `Location` objects. @@ -270,7 +292,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedLocationList] + AsyncPager[Location] """ _response = await self._client_wrapper.httpx_client.request( @@ -295,14 +317,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedLocationList, construct_type( type_=PaginatedLocationList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + location_type=location_type, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/pay_groups/client.py b/src/merge/resources/hris/resources/pay_groups/client.py index dd944a00..1f86b0ac 100644 --- a/src/merge/resources/hris/resources/pay_groups/client.py +++ b/src/merge/resources/hris/resources/pay_groups/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_pay_group_list import PaginatedPayGroupList from ...types.pay_group import PayGroup from .raw_client import AsyncRawPayGroupsClient, RawPayGroupsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayGroupList: + ) -> SyncPager[PayGroup]: """ Returns a list of `PayGroup` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedPayGroupList + SyncPager[PayGroup] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.pay_groups.list( + response = client.hris.pay_groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayGroupList: + ) -> AsyncPager[PayGroup]: """ Returns a list of `PayGroup` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedPayGroupList + AsyncPager[PayGroup] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.hris.pay_groups.list( + response = await client.hris.pay_groups.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/pay_groups/raw_client.py b/src/merge/resources/hris/resources/pay_groups/raw_client.py index 8a3fdb7d..60169a20 100644 --- a/src/merge/resources/hris/resources/pay_groups/raw_client.py +++ b/src/merge/resources/hris/resources/pay_groups/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_pay_group_list import PaginatedPayGroupList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPayGroupList]: + ) -> SyncPager[PayGroup]: """ Returns a list of `PayGroup` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedPayGroupList] + SyncPager[PayGroup] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayGroupList, construct_type( type_=PaginatedPayGroupList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPayGroupList]: + ) -> AsyncPager[PayGroup]: """ Returns a list of `PayGroup` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPayGroupList] + AsyncPager[PayGroup] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayGroupList, construct_type( type_=PaginatedPayGroupList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/payroll_runs/client.py b/src/merge/resources/hris/resources/payroll_runs/client.py index b7f01c0a..a346ec11 100644 --- a/src/merge/resources/hris/resources/payroll_runs/client.py +++ b/src/merge/resources/hris/resources/payroll_runs/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_payroll_run_list import PaginatedPayrollRunList from ...types.payroll_run import PayrollRun from .raw_client import AsyncRawPayrollRunsClient, RawPayrollRunsClient from .types.payroll_runs_list_request_remote_fields import PayrollRunsListRequestRemoteFields @@ -51,7 +51,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayrollRunList: + ) -> SyncPager[PayrollRun]: """ Returns a list of `PayrollRun` objects. @@ -119,7 +119,7 @@ def list( Returns ------- - PaginatedPayrollRunList + SyncPager[PayrollRun] Examples @@ -137,7 +137,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.payroll_runs.list( + response = client.hris.payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -172,8 +172,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -193,7 +198,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def retrieve( self, @@ -299,7 +303,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedPayrollRunList: + ) -> AsyncPager[PayrollRun]: """ Returns a list of `PayrollRun` objects. @@ -367,7 +371,7 @@ async def list( Returns ------- - PaginatedPayrollRunList + AsyncPager[PayrollRun] Examples @@ -389,7 +393,7 @@ async def list( async def main() -> None: - await client.hris.payroll_runs.list( + response = await client.hris.payroll_runs.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -424,11 +428,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -448,7 +458,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/hris/resources/payroll_runs/raw_client.py b/src/merge/resources/hris/resources/payroll_runs/raw_client.py index ae455ae9..646213cc 100644 --- a/src/merge/resources/hris/resources/payroll_runs/raw_client.py +++ b/src/merge/resources/hris/resources/payroll_runs/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_payroll_run_list import PaginatedPayrollRunList @@ -45,7 +46,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedPayrollRunList]: + ) -> SyncPager[PayrollRun]: """ Returns a list of `PayrollRun` objects. @@ -113,7 +114,7 @@ def list( Returns ------- - HttpResponse[PaginatedPayrollRunList] + SyncPager[PayrollRun] """ _response = self._client_wrapper.httpx_client.request( @@ -142,14 +143,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayrollRunList, construct_type( type_=PaginatedPayrollRunList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ended_after=ended_after, + ended_before=ended_before, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + run_type=run_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -244,7 +270,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedPayrollRunList]: + ) -> AsyncPager[PayrollRun]: """ Returns a list of `PayrollRun` objects. @@ -312,7 +338,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedPayrollRunList] + AsyncPager[PayrollRun] """ _response = await self._client_wrapper.httpx_client.request( @@ -341,14 +367,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedPayrollRunList, construct_type( type_=PaginatedPayrollRunList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + ended_after=ended_after, + ended_before=ended_before, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + run_type=run_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/sync_status/client.py b/src/merge/resources/hris/resources/sync_status/client.py index 17a75770..c1806804 100644 --- a/src/merge/resources/hris/resources/sync_status/client.py +++ b/src/merge/resources/hris/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -46,7 +47,7 @@ def list( Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.sync_status.list( + response = client.hris.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -104,7 +109,7 @@ async def list( Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.hris.sync_status.list( + response = await client.hris.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/hris/resources/sync_status/raw_client.py b/src/merge/resources/hris/resources/sync_status/raw_client.py index 5f49dd4b..42c01ee2 100644 --- a/src/merge/resources/hris/resources/sync_status/raw_client.py +++ b/src/merge/resources/hris/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -38,7 +39,7 @@ def list( Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -93,7 +104,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/hris/resources/teams/client.py b/src/merge/resources/hris/resources/teams/client.py index 52d2093d..fca92ea8 100644 --- a/src/merge/resources/hris/resources/teams/client.py +++ b/src/merge/resources/hris/resources/teams/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team from .raw_client import AsyncRawTeamsClient, RawTeamsClient @@ -31,7 +31,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +43,7 @@ def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> SyncPager[Team]: """ Returns a list of `Team` objects. @@ -56,7 +58,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +90,7 @@ def list( Returns ------- - PaginatedTeamList + SyncPager[Team] Examples @@ -101,7 +103,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.teams.list( + response = client.hris.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -122,8 +124,13 @@ def list( parent_team_id="parent_team_id", remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -138,13 +145,14 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -156,7 +164,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -218,7 +226,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -228,7 +238,7 @@ async def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> AsyncPager[Team]: """ Returns a list of `Team` objects. @@ -243,7 +253,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -275,7 +285,7 @@ async def list( Returns ------- - PaginatedTeamList + AsyncPager[Team] Examples @@ -292,7 +302,7 @@ async def list( async def main() -> None: - await client.hris.teams.list( + response = await client.hris.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -313,11 +323,17 @@ async def main() -> None: parent_team_id="parent_team_id", remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -332,13 +348,14 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -350,7 +367,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/teams/raw_client.py b/src/merge/resources/hris/resources/teams/raw_client.py index ef38a115..1aec272d 100644 --- a/src/merge/resources/hris/resources/teams/raw_client.py +++ b/src/merge/resources/hris/resources/teams/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_team_list import PaginatedTeamList @@ -25,7 +26,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -35,7 +38,7 @@ def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTeamList]: + ) -> SyncPager[Team]: """ Returns a list of `Team` objects. @@ -50,7 +53,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +85,7 @@ def list( Returns ------- - HttpResponse[PaginatedTeamList] + SyncPager[Team] """ _response = self._client_wrapper.httpx_client.request( @@ -106,14 +109,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + parent_team_id=parent_team_id, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -123,7 +146,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -135,7 +160,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -188,7 +213,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -198,7 +225,7 @@ async def list( parent_team_id: typing.Optional[str] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTeamList]: + ) -> AsyncPager[Team]: """ Returns a list of `Team` objects. @@ -213,7 +240,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -245,7 +272,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTeamList] + AsyncPager[Team] """ _response = await self._client_wrapper.httpx_client.request( @@ -269,14 +296,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + parent_team_id=parent_team_id, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -286,7 +336,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_team"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -298,7 +350,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_team"]] + expand : typing.Optional[typing.Union[typing.Literal["parent_team"], typing.Sequence[typing.Literal["parent_team"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/time_off/__init__.py b/src/merge/resources/hris/resources/time_off/__init__.py index 0e34a8e5..d9068e39 100644 --- a/src/merge/resources/hris/resources/time_off/__init__.py +++ b/src/merge/resources/hris/resources/time_off/__init__.py @@ -7,22 +7,22 @@ if typing.TYPE_CHECKING: from .types import ( - TimeOffListRequestExpand, + TimeOffListRequestExpandItem, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, TimeOffListRequestStatus, - TimeOffRetrieveRequestExpand, + TimeOffRetrieveRequestExpandItem, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) _dynamic_imports: typing.Dict[str, str] = { - "TimeOffListRequestExpand": ".types", + "TimeOffListRequestExpandItem": ".types", "TimeOffListRequestRemoteFields": ".types", "TimeOffListRequestRequestType": ".types", "TimeOffListRequestShowEnumOrigins": ".types", "TimeOffListRequestStatus": ".types", - "TimeOffRetrieveRequestExpand": ".types", + "TimeOffRetrieveRequestExpandItem": ".types", "TimeOffRetrieveRequestRemoteFields": ".types", "TimeOffRetrieveRequestShowEnumOrigins": ".types", } @@ -48,12 +48,12 @@ def __dir__(): __all__ = [ - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/time_off/client.py b/src/merge/resources/hris/resources/time_off/client.py index 2f0f9663..18198a1a 100644 --- a/src/merge/resources/hris/resources/time_off/client.py +++ b/src/merge/resources/hris/resources/time_off/client.py @@ -4,19 +4,19 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_time_off_list import PaginatedTimeOffList from ...types.time_off import TimeOff from ...types.time_off_request import TimeOffRequest from ...types.time_off_response import TimeOffResponse from .raw_client import AsyncRawTimeOffClient, RawTimeOffClient -from .types.time_off_list_request_expand import TimeOffListRequestExpand +from .types.time_off_list_request_expand_item import TimeOffListRequestExpandItem from .types.time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .types.time_off_list_request_request_type import TimeOffListRequestRequestType from .types.time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .types.time_off_list_request_status import TimeOffListRequestStatus -from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand +from .types.time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins @@ -49,7 +49,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -64,7 +66,7 @@ def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffList: + ) -> SyncPager[TimeOff]: """ Returns a list of `TimeOff` objects. @@ -91,7 +93,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -110,7 +112,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -151,7 +153,7 @@ def list( Returns ------- - PaginatedTimeOffList + SyncPager[TimeOff] Examples @@ -160,7 +162,6 @@ def list( from merge import Merge from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, @@ -171,7 +172,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.time_off.list( + response = client.hris.time_off.list( approver_id="approver_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -187,7 +188,6 @@ def list( ended_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=TimeOffListRequestExpand.APPROVER, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -210,8 +210,13 @@ def list( ), status=TimeOffListRequestStatus.APPROVED, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -235,7 +240,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def create( self, @@ -290,7 +294,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -304,7 +310,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -331,7 +337,6 @@ def retrieve( -------- from merge import Merge from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) @@ -342,7 +347,6 @@ def retrieve( ) client.hris.time_off.retrieve( id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, include_remote_data=True, include_shell_data=True, remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, @@ -413,7 +417,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -428,7 +434,7 @@ async def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffList: + ) -> AsyncPager[TimeOff]: """ Returns a list of `TimeOff` objects. @@ -455,7 +461,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -474,7 +480,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -515,7 +521,7 @@ async def list( Returns ------- - PaginatedTimeOffList + AsyncPager[TimeOff] Examples @@ -525,7 +531,6 @@ async def list( from merge import AsyncMerge from merge.resources.hris.resources.time_off import ( - TimeOffListRequestExpand, TimeOffListRequestRemoteFields, TimeOffListRequestRequestType, TimeOffListRequestShowEnumOrigins, @@ -539,7 +544,7 @@ async def list( async def main() -> None: - await client.hris.time_off.list( + response = await client.hris.time_off.list( approver_id="approver_id", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -555,7 +560,6 @@ async def main() -> None: ended_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=TimeOffListRequestExpand.APPROVER, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -578,11 +582,17 @@ async def main() -> None: ), status=TimeOffListRequestStatus.APPROVED, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( approver_id=approver_id, created_after=created_after, created_before=created_before, @@ -606,7 +616,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def create( self, @@ -669,7 +678,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -683,7 +694,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -712,7 +723,6 @@ async def retrieve( from merge import AsyncMerge from merge.resources.hris.resources.time_off import ( - TimeOffRetrieveRequestExpand, TimeOffRetrieveRequestRemoteFields, TimeOffRetrieveRequestShowEnumOrigins, ) @@ -726,7 +736,6 @@ async def retrieve( async def main() -> None: await client.hris.time_off.retrieve( id="id", - expand=TimeOffRetrieveRequestExpand.APPROVER, include_remote_data=True, include_shell_data=True, remote_fields=TimeOffRetrieveRequestRemoteFields.REQUEST_TYPE, diff --git a/src/merge/resources/hris/resources/time_off/raw_client.py b/src/merge/resources/hris/resources/time_off/raw_client.py index ada13edd..ae0a582a 100644 --- a/src/merge/resources/hris/resources/time_off/raw_client.py +++ b/src/merge/resources/hris/resources/time_off/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,12 +17,12 @@ from ...types.time_off import TimeOff from ...types.time_off_request import TimeOffRequest from ...types.time_off_response import TimeOffResponse -from .types.time_off_list_request_expand import TimeOffListRequestExpand +from .types.time_off_list_request_expand_item import TimeOffListRequestExpandItem from .types.time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .types.time_off_list_request_request_type import TimeOffListRequestRequestType from .types.time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .types.time_off_list_request_status import TimeOffListRequestStatus -from .types.time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand +from .types.time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .types.time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .types.time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins @@ -43,7 +44,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -58,7 +61,7 @@ def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimeOffList]: + ) -> SyncPager[TimeOff]: """ Returns a list of `TimeOff` objects. @@ -85,7 +88,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -104,7 +107,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -145,7 +148,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimeOffList] + SyncPager[TimeOff] """ _response = self._client_wrapper.httpx_client.request( @@ -178,14 +181,43 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffList, construct_type( type_=PaginatedTimeOffList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + approver_id=approver_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + request_type=request_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -255,7 +287,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -269,7 +303,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -370,7 +404,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TimeOffListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -385,7 +421,7 @@ async def list( started_before: typing.Optional[dt.datetime] = None, status: typing.Optional[TimeOffListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimeOffList]: + ) -> AsyncPager[TimeOff]: """ Returns a list of `TimeOff` objects. @@ -412,7 +448,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return time-offs that ended before this datetime. - expand : typing.Optional[TimeOffListRequestExpand] + expand : typing.Optional[typing.Union[TimeOffListRequestExpandItem, typing.Sequence[TimeOffListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -431,7 +467,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_fields : typing.Optional[TimeOffListRequestRemoteFields] Deprecated. Use show_enum_origins. @@ -472,7 +508,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimeOffList] + AsyncPager[TimeOff] """ _response = await self._client_wrapper.httpx_client.request( @@ -505,14 +541,46 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffList, construct_type( type_=PaginatedTimeOffList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + approver_id=approver_id, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_fields=remote_fields, + remote_id=remote_id, + request_type=request_type, + show_enum_origins=show_enum_origins, + started_after=started_after, + started_before=started_before, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -582,7 +650,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TimeOffRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[TimeOffRetrieveRequestRemoteFields] = None, @@ -596,7 +666,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TimeOffRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TimeOffRetrieveRequestExpandItem, typing.Sequence[TimeOffRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/time_off/types/__init__.py b/src/merge/resources/hris/resources/time_off/types/__init__.py index 17f7d68f..f912c82c 100644 --- a/src/merge/resources/hris/resources/time_off/types/__init__.py +++ b/src/merge/resources/hris/resources/time_off/types/__init__.py @@ -6,21 +6,21 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .time_off_list_request_expand import TimeOffListRequestExpand + from .time_off_list_request_expand_item import TimeOffListRequestExpandItem from .time_off_list_request_remote_fields import TimeOffListRequestRemoteFields from .time_off_list_request_request_type import TimeOffListRequestRequestType from .time_off_list_request_show_enum_origins import TimeOffListRequestShowEnumOrigins from .time_off_list_request_status import TimeOffListRequestStatus - from .time_off_retrieve_request_expand import TimeOffRetrieveRequestExpand + from .time_off_retrieve_request_expand_item import TimeOffRetrieveRequestExpandItem from .time_off_retrieve_request_remote_fields import TimeOffRetrieveRequestRemoteFields from .time_off_retrieve_request_show_enum_origins import TimeOffRetrieveRequestShowEnumOrigins _dynamic_imports: typing.Dict[str, str] = { - "TimeOffListRequestExpand": ".time_off_list_request_expand", + "TimeOffListRequestExpandItem": ".time_off_list_request_expand_item", "TimeOffListRequestRemoteFields": ".time_off_list_request_remote_fields", "TimeOffListRequestRequestType": ".time_off_list_request_request_type", "TimeOffListRequestShowEnumOrigins": ".time_off_list_request_show_enum_origins", "TimeOffListRequestStatus": ".time_off_list_request_status", - "TimeOffRetrieveRequestExpand": ".time_off_retrieve_request_expand", + "TimeOffRetrieveRequestExpandItem": ".time_off_retrieve_request_expand_item", "TimeOffRetrieveRequestRemoteFields": ".time_off_retrieve_request_remote_fields", "TimeOffRetrieveRequestShowEnumOrigins": ".time_off_retrieve_request_show_enum_origins", } @@ -46,12 +46,12 @@ def __dir__(): __all__ = [ - "TimeOffListRequestExpand", + "TimeOffListRequestExpandItem", "TimeOffListRequestRemoteFields", "TimeOffListRequestRequestType", "TimeOffListRequestShowEnumOrigins", "TimeOffListRequestStatus", - "TimeOffRetrieveRequestExpand", + "TimeOffRetrieveRequestExpandItem", "TimeOffRetrieveRequestRemoteFields", "TimeOffRetrieveRequestShowEnumOrigins", ] diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py deleted file mode 100644 index 6c41625f..00000000 --- a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TimeOffListRequestExpand(str, enum.Enum): - APPROVER = "approver" - EMPLOYEE = "employee" - EMPLOYEE_APPROVER = "employee,approver" - - def visit( - self, - approver: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_approver: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TimeOffListRequestExpand.APPROVER: - return approver() - if self is TimeOffListRequestExpand.EMPLOYEE: - return employee() - if self is TimeOffListRequestExpand.EMPLOYEE_APPROVER: - return employee_approver() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py new file mode 100644 index 00000000..d15bb0b9 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off/types/time_off_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffListRequestExpandItem(str, enum.Enum): + APPROVER = "approver" + EMPLOYEE = "employee" + + def visit(self, approver: typing.Callable[[], T_Result], employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffListRequestExpandItem.APPROVER: + return approver() + if self is TimeOffListRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py deleted file mode 100644 index 6a0972a8..00000000 --- a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TimeOffRetrieveRequestExpand(str, enum.Enum): - APPROVER = "approver" - EMPLOYEE = "employee" - EMPLOYEE_APPROVER = "employee,approver" - - def visit( - self, - approver: typing.Callable[[], T_Result], - employee: typing.Callable[[], T_Result], - employee_approver: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TimeOffRetrieveRequestExpand.APPROVER: - return approver() - if self is TimeOffRetrieveRequestExpand.EMPLOYEE: - return employee() - if self is TimeOffRetrieveRequestExpand.EMPLOYEE_APPROVER: - return employee_approver() diff --git a/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py new file mode 100644 index 00000000..fd546818 --- /dev/null +++ b/src/merge/resources/hris/resources/time_off/types/time_off_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TimeOffRetrieveRequestExpandItem(str, enum.Enum): + APPROVER = "approver" + EMPLOYEE = "employee" + + def visit(self, approver: typing.Callable[[], T_Result], employee: typing.Callable[[], T_Result]) -> T_Result: + if self is TimeOffRetrieveRequestExpandItem.APPROVER: + return approver() + if self is TimeOffRetrieveRequestExpandItem.EMPLOYEE: + return employee() diff --git a/src/merge/resources/hris/resources/time_off_balances/client.py b/src/merge/resources/hris/resources/time_off_balances/client.py index 99968e26..39cbb477 100644 --- a/src/merge/resources/hris/resources/time_off_balances/client.py +++ b/src/merge/resources/hris/resources/time_off_balances/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList from ...types.time_off_balance import TimeOffBalance from .raw_client import AsyncRawTimeOffBalancesClient, RawTimeOffBalancesClient from .types.time_off_balances_list_request_policy_type import TimeOffBalancesListRequestPolicyType @@ -33,7 +33,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -45,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffBalanceList: + ) -> SyncPager[TimeOffBalance]: """ Returns a list of `TimeOffBalance` objects. @@ -63,7 +65,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +84,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -108,7 +110,7 @@ def list( Returns ------- - PaginatedTimeOffBalanceList + SyncPager[TimeOffBalance] Examples @@ -124,7 +126,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.time_off_balances.list( + response = client.hris.time_off_balances.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -146,8 +148,13 @@ def list( policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -165,13 +172,14 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, @@ -185,7 +193,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -256,7 +264,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -268,7 +278,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimeOffBalanceList: + ) -> AsyncPager[TimeOffBalance]: """ Returns a list of `TimeOffBalance` objects. @@ -286,7 +296,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -305,7 +315,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -331,7 +341,7 @@ async def list( Returns ------- - PaginatedTimeOffBalanceList + AsyncPager[TimeOffBalance] Examples @@ -351,7 +361,7 @@ async def list( async def main() -> None: - await client.hris.time_off_balances.list( + response = await client.hris.time_off_balances.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -373,11 +383,17 @@ async def main() -> None: policy_type=TimeOffBalancesListRequestPolicyType.BEREAVEMENT, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -395,13 +411,14 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, @@ -415,7 +432,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/time_off_balances/raw_client.py b/src/merge/resources/hris/resources/time_off_balances/raw_client.py index 156d341d..4bb37be3 100644 --- a/src/merge/resources/hris/resources/time_off_balances/raw_client.py +++ b/src/merge/resources/hris/resources/time_off_balances/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_time_off_balance_list import PaginatedTimeOffBalanceList @@ -27,7 +28,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -39,7 +42,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimeOffBalanceList]: + ) -> SyncPager[TimeOffBalance]: """ Returns a list of `TimeOffBalance` objects. @@ -57,7 +60,7 @@ def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -76,7 +79,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -102,7 +105,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimeOffBalanceList] + SyncPager[TimeOffBalance] """ _response = self._client_wrapper.httpx_client.request( @@ -129,14 +132,37 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffBalanceList, construct_type( type_=PaginatedTimeOffBalanceList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + policy_type=policy_type, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -146,7 +172,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, @@ -160,7 +188,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -222,7 +250,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, employee_id: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -234,7 +264,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["policy_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimeOffBalanceList]: + ) -> AsyncPager[TimeOffBalance]: """ Returns a list of `TimeOffBalance` objects. @@ -252,7 +282,7 @@ async def list( employee_id : typing.Optional[str] If provided, will only return time off balances for this employee. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -271,7 +301,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. policy_type : typing.Optional[TimeOffBalancesListRequestPolicyType] If provided, will only return TimeOffBalance with this policy type. Options: ('VACATION', 'SICK', 'PERSONAL', 'JURY_DUTY', 'VOLUNTEER', 'BEREAVEMENT') @@ -297,7 +327,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimeOffBalanceList] + AsyncPager[TimeOffBalance] """ _response = await self._client_wrapper.httpx_client.request( @@ -324,14 +354,40 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimeOffBalanceList, construct_type( type_=PaginatedTimeOffBalanceList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + policy_type=policy_type, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -341,7 +397,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["policy_type"]] = None, @@ -355,7 +413,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/timesheet_entries/client.py b/src/merge/resources/hris/resources/timesheet_entries/client.py index 76335fdd..4969716d 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_timesheet_entry_list import PaginatedTimesheetEntryList from ...types.timesheet_entry import TimesheetEntry from ...types.timesheet_entry_request import TimesheetEntryRequest from ...types.timesheet_entry_response import TimesheetEntryResponse @@ -41,7 +41,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -53,7 +55,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimesheetEntryList: + ) -> SyncPager[TimesheetEntry]: """ Returns a list of `TimesheetEntry` objects. @@ -77,7 +79,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -115,7 +117,7 @@ def list( Returns ------- - PaginatedTimesheetEntryList + SyncPager[TimesheetEntry] Examples @@ -131,7 +133,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.hris.timesheet_entries.list( + response = client.hris.timesheet_entries.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -165,8 +167,13 @@ def list( "2024-01-15 09:30:00+00:00", ), ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -186,7 +193,6 @@ def list( started_before=started_before, request_options=request_options, ) - return _response.data def create( self, @@ -241,7 +247,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -253,7 +261,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -345,7 +353,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -357,7 +367,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTimesheetEntryList: + ) -> AsyncPager[TimesheetEntry]: """ Returns a list of `TimesheetEntry` objects. @@ -381,7 +391,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -419,7 +429,7 @@ async def list( Returns ------- - PaginatedTimesheetEntryList + AsyncPager[TimesheetEntry] Examples @@ -439,7 +449,7 @@ async def list( async def main() -> None: - await client.hris.timesheet_entries.list( + response = await client.hris.timesheet_entries.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -473,11 +483,17 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -497,7 +513,6 @@ async def main() -> None: started_before=started_before, request_options=request_options, ) - return _response.data async def create( self, @@ -560,7 +575,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -572,7 +589,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/resources/timesheet_entries/raw_client.py b/src/merge/resources/hris/resources/timesheet_entries/raw_client.py index ba12d21e..c84ead4f 100644 --- a/src/merge/resources/hris/resources/timesheet_entries/raw_client.py +++ b/src/merge/resources/hris/resources/timesheet_entries/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -35,7 +36,9 @@ def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +50,7 @@ def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTimesheetEntryList]: + ) -> SyncPager[TimesheetEntry]: """ Returns a list of `TimesheetEntry` objects. @@ -71,7 +74,7 @@ def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -109,7 +112,7 @@ def list( Returns ------- - HttpResponse[PaginatedTimesheetEntryList] + SyncPager[TimesheetEntry] """ _response = self._client_wrapper.httpx_client.request( @@ -138,14 +141,39 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimesheetEntryList, construct_type( type_=PaginatedTimesheetEntryList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -215,7 +243,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -227,7 +257,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -319,7 +349,9 @@ async def list( employee_id: typing.Optional[str] = None, ended_after: typing.Optional[dt.datetime] = None, ended_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -331,7 +363,7 @@ async def list( started_after: typing.Optional[dt.datetime] = None, started_before: typing.Optional[dt.datetime] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTimesheetEntryList]: + ) -> AsyncPager[TimesheetEntry]: """ Returns a list of `TimesheetEntry` objects. @@ -355,7 +387,7 @@ async def list( ended_before : typing.Optional[dt.datetime] If provided, will only return timesheet entries ended before this datetime. - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -393,7 +425,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTimesheetEntryList] + AsyncPager[TimesheetEntry] """ _response = await self._client_wrapper.httpx_client.request( @@ -422,14 +454,42 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTimesheetEntryList, construct_type( type_=PaginatedTimesheetEntryList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + employee_id=employee_id, + ended_after=ended_after, + ended_before=ended_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + order_by=order_by, + page_size=page_size, + remote_id=remote_id, + started_after=started_after, + started_before=started_before, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -499,7 +559,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["employee"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -511,7 +573,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["employee"]] + expand : typing.Optional[typing.Union[typing.Literal["employee"], typing.Sequence[typing.Literal["employee"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/hris/types/__init__.py b/src/merge/resources/hris/types/__init__.py index 2fd80be2..2d72eff2 100644 --- a/src/merge/resources/hris/types/__init__.py +++ b/src/merge/resources/hris/types/__init__.py @@ -33,7 +33,6 @@ from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest from .company import Company - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum from .country_enum import CountryEnum from .data_passthrough_request import DataPassthroughRequest from .debug_mode_log import DebugModeLog @@ -109,6 +108,8 @@ from .group import Group from .group_type import GroupType from .group_type_enum import GroupTypeEnum + from .ignore_common_model_request import IgnoreCommonModelRequest + from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from .issue import Issue @@ -129,7 +130,6 @@ from .model_permission_deserializer import ModelPermissionDeserializer from .model_permission_deserializer_request import ModelPermissionDeserializerRequest from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .paginated_audit_log_event_list import PaginatedAuditLogEventList from .paginated_bank_info_list import PaginatedBankInfoList @@ -159,6 +159,7 @@ from .payroll_run_run_type import PayrollRunRunType from .policy_type_enum import PolicyTypeEnum from .reason_enum import ReasonEnum + from .regenerate_account_token import RegenerateAccountToken from .relationship_enum import RelationshipEnum from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo @@ -178,6 +179,7 @@ from .status_fd_5_enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus from .tax import Tax from .team import Team from .team_parent_team import TeamParentTeam @@ -235,7 +237,6 @@ "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", "Company": ".company", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", "CountryEnum": ".country_enum", "DataPassthroughRequest": ".data_passthrough_request", "DebugModeLog": ".debug_mode_log", @@ -309,6 +310,8 @@ "Group": ".group", "GroupType": ".group_type", "GroupTypeEnum": ".group_type_enum", + "IgnoreCommonModelRequest": ".ignore_common_model_request", + "IgnoreCommonModelRequestReason": ".ignore_common_model_request_reason", "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", "Issue": ".issue", @@ -329,7 +332,6 @@ "ModelPermissionDeserializer": ".model_permission_deserializer", "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", "PaginatedBankInfoList": ".paginated_bank_info_list", @@ -359,6 +361,7 @@ "PayrollRunRunType": ".payroll_run_run_type", "PolicyTypeEnum": ".policy_type_enum", "ReasonEnum": ".reason_enum", + "RegenerateAccountToken": ".regenerate_account_token", "RelationshipEnum": ".relationship_enum", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", @@ -378,6 +381,7 @@ "StatusFd5Enum": ".status_fd_5_enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", "Tax": ".tax", "Team": ".team", "TeamParentTeam": ".team_parent_team", @@ -457,7 +461,6 @@ def __dir__(): "CommonModelScopeApi", "CommonModelScopesBodyRequest", "Company", - "CompletedAccountInitialScreenEnum", "CountryEnum", "DataPassthroughRequest", "DebugModeLog", @@ -531,6 +534,8 @@ def __dir__(): "Group", "GroupType", "GroupTypeEnum", + "IgnoreCommonModelRequest", + "IgnoreCommonModelRequestReason", "IndividualCommonModelScopeDeserializer", "IndividualCommonModelScopeDeserializerRequest", "Issue", @@ -551,7 +556,6 @@ def __dir__(): "ModelPermissionDeserializer", "ModelPermissionDeserializerRequest", "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", "PaginatedAccountDetailsAndActionsList", "PaginatedAuditLogEventList", "PaginatedBankInfoList", @@ -581,6 +585,7 @@ def __dir__(): "PayrollRunRunType", "PolicyTypeEnum", "ReasonEnum", + "RegenerateAccountToken", "RelationshipEnum", "RemoteData", "RemoteEndpointInfo", @@ -600,6 +605,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tax", "Team", "TeamParentTeam", diff --git a/src/merge/resources/hris/types/audit_log_event.py b/src/merge/resources/hris/types/audit_log_event.py index ab69fd32..1bb2fdbf 100644 --- a/src/merge/resources/hris/types/audit_log_event.py +++ b/src/merge/resources/hris/types/audit_log_event.py @@ -32,6 +32,7 @@ class AuditLogEvent(UncheckedBaseModel): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ip_address: str diff --git a/src/merge/resources/hris/types/completed_account_initial_screen_enum.py b/src/merge/resources/hris/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/hris/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/chat/types/debug_mode_log.py b/src/merge/resources/hris/types/ignore_common_model_request.py similarity index 70% rename from src/merge/resources/chat/types/debug_mode_log.py rename to src/merge/resources/hris/types/ignore_common_model_request.py index 9c7d2a3f..5ecb9957 100644 --- a/src/merge/resources/chat/types/debug_mode_log.py +++ b/src/merge/resources/hris/types/ignore_common_model_request.py @@ -5,13 +5,12 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary +from .ignore_common_model_request_reason import IgnoreCommonModelRequestReason -class DebugModeLog(UncheckedBaseModel): - log_id: str - dashboard_view: str - log_summary: DebugModelLogSummary +class IgnoreCommonModelRequest(UncheckedBaseModel): + reason: IgnoreCommonModelRequestReason + message: typing.Optional[str] = None if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py b/src/merge/resources/hris/types/ignore_common_model_request_reason.py similarity index 76% rename from src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py rename to src/merge/resources/hris/types/ignore_common_model_request_reason.py index 4baf20f1..114822b2 100644 --- a/src/merge/resources/hris/resources/employees/types/ignore_common_model_request_reason.py +++ b/src/merge/resources/hris/types/ignore_common_model_request_reason.py @@ -2,6 +2,6 @@ import typing -from ....types.reason_enum import ReasonEnum +from .reason_enum import ReasonEnum IgnoreCommonModelRequestReason = typing.Union[ReasonEnum, str] diff --git a/src/merge/resources/hris/types/meta_response.py b/src/merge/resources/hris/types/meta_response.py index caa2c831..9dcbe1f5 100644 --- a/src/merge/resources/hris/types/meta_response.py +++ b/src/merge/resources/hris/types/meta_response.py @@ -14,6 +14,10 @@ class MetaResponse(UncheckedBaseModel): status: typing.Optional[LinkedAccountStatus] = None has_conditional_params: bool has_required_linked_account_params: bool + remote_fields: typing.Optional[typing.List[str]] = pydantic.Field(default=None) + """ + Remote field values to populate + """ if IS_PYDANTIC_V2: model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 diff --git a/src/merge/resources/hris/types/multipart_form_field_request.py b/src/merge/resources/hris/types/multipart_form_field_request.py index abc37692..aacb5df0 100644 --- a/src/merge/resources/hris/types/multipart_form_field_request.py +++ b/src/merge/resources/hris/types/multipart_form_field_request.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding +from .encoding_enum import EncodingEnum class MultipartFormFieldRequest(UncheckedBaseModel): @@ -28,7 +28,7 @@ class MultipartFormFieldRequest(UncheckedBaseModel): The data for the form field. """ - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) + encoding: typing.Optional[EncodingEnum] = pydantic.Field(default=None) """ The encoding of the value of `data`. Defaults to `RAW` if not defined. diff --git a/src/merge/resources/hris/types/multipart_form_field_request_encoding.py b/src/merge/resources/hris/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/hris/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/hris/types/regenerate_account_token.py b/src/merge/resources/hris/types/regenerate_account_token.py new file mode 100644 index 00000000..5c31cf57 --- /dev/null +++ b/src/merge/resources/hris/types/regenerate_account_token.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class RegenerateAccountToken(UncheckedBaseModel): + """ + # The RegenerateAccountToken Object + ### Description + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. + + ### Usage Example + Post to receive a new `RegenerateAccountToken`. + """ + + linked_account_id: str + account_token: str + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/hris/types/role_enum.py b/src/merge/resources/hris/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/hris/types/role_enum.py +++ b/src/merge/resources/hris/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/hris/types/sync_status.py b/src/merge/resources/hris/types/sync_status.py index 4a628c4f..07ab1dc2 100644 --- a/src/merge/resources/hris/types/sync_status.py +++ b/src/merge/resources/hris/types/sync_status.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum from .sync_status_last_sync_result import SyncStatusLastSyncResult +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -27,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/knowledgebase/types/sync_status_status.py b/src/merge/resources/hris/types/sync_status_status.py similarity index 100% rename from src/merge/resources/knowledgebase/types/sync_status_status.py rename to src/merge/resources/hris/types/sync_status_status.py diff --git a/src/merge/resources/knowledgebase/__init__.py b/src/merge/resources/knowledgebase/__init__.py deleted file mode 100644 index 877949ae..00000000 --- a/src/merge/resources/knowledgebase/__init__.py +++ /dev/null @@ -1,481 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ( - AccountDetails, - AccountDetailsAndActions, - AccountDetailsAndActionsCategory, - AccountDetailsAndActionsIntegration, - AccountDetailsAndActionsStatus, - AccountDetailsAndActionsStatusEnum, - AccountDetailsCategory, - AccountIntegration, - AccountToken, - AdvancedMetadata, - Article, - ArticleAttachmentsItem, - ArticleAuthor, - ArticleLastEditedBy, - ArticleParentArticle, - ArticleParentContainer, - ArticlePermissionsItem, - ArticleRootContainer, - ArticleStatus, - ArticleType, - ArticleTypeEnum, - ArticleVisibility, - AsyncPassthroughReciept, - Attachment, - AuditLogEvent, - AuditLogEventEventType, - AuditLogEventRole, - AvailableActions, - CategoriesEnum, - CategoryEnum, - CommonModelScopeApi, - CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, - Container, - ContainerPermissionsItem, - ContainerStatus, - ContainerType, - ContainerTypeEnum, - ContainerVisibility, - DataPassthroughRequest, - DataPassthroughRequestMethod, - DataPassthroughRequestRequestFormat, - DebugModeLog, - DebugModelLogSummary, - EnabledActionsEnum, - EncodingEnum, - ErrorValidationProblem, - EventTypeEnum, - ExternalTargetFieldApi, - ExternalTargetFieldApiResponse, - FieldMappingApiInstance, - FieldMappingApiInstanceRemoteField, - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - FieldMappingApiInstanceResponse, - FieldMappingApiInstanceTargetField, - FieldMappingInstanceResponse, - FieldPermissionDeserializer, - FieldPermissionDeserializerRequest, - Group, - GroupParentGroup, - GroupUsersItem, - IndividualCommonModelScopeDeserializer, - IndividualCommonModelScopeDeserializerRequest, - Issue, - IssueStatus, - IssueStatusEnum, - LanguageEnum, - LastSyncResultEnum, - LinkToken, - MethodEnum, - ModelOperation, - ModelPermissionDeserializer, - ModelPermissionDeserializerRequest, - MultipartFormFieldRequest, - MultipartFormFieldRequestEncoding, - PaginatedAccountDetailsAndActionsList, - PaginatedArticleList, - PaginatedAttachmentList, - PaginatedAuditLogEventList, - PaginatedContainerList, - PaginatedGroupList, - PaginatedIssueList, - PaginatedSyncStatusList, - PaginatedUserList, - Permission, - PermissionGroup, - PermissionType, - PermissionTypeEnum, - PermissionUser, - RemoteData, - RemoteEndpointInfo, - RemoteFieldApi, - RemoteFieldApiAdvancedMetadata, - RemoteFieldApiCoverage, - RemoteFieldApiResponse, - RemoteKey, - RemoteResponse, - RemoteResponseResponseType, - RequestFormatEnum, - ResponseTypeEnum, - RoleEnum, - RolesEnum, - SelectiveSyncConfigurationsUsageEnum, - Status3C6Enum, - StatusFd5Enum, - SyncStatus, - SyncStatusLastSyncResult, - SyncStatusStatus, - User, - ValidationProblemSource, - VisibilityEnum, - WarningValidationProblem, - WebhookReceiver, - ) - from .resources import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ArticlesRetrieveRequestExpand, - AsyncPassthroughRetrieveResponse, - ContainersListRequestExpand, - ContainersListRequestType, - ContainersRetrieveRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, - EndUserDetailsRequestLanguage, - GroupsListRequestExpand, - GroupsRetrieveRequestExpand, - IssuesListRequestStatus, - LinkedAccountsListRequestCategory, - account_details, - account_token, - articles, - async_passthrough, - attachments, - audit_trail, - available_actions, - containers, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".types", - "AccountDetailsAndActions": ".types", - "AccountDetailsAndActionsCategory": ".types", - "AccountDetailsAndActionsIntegration": ".types", - "AccountDetailsAndActionsStatus": ".types", - "AccountDetailsAndActionsStatusEnum": ".types", - "AccountDetailsCategory": ".types", - "AccountIntegration": ".types", - "AccountToken": ".types", - "AdvancedMetadata": ".types", - "Article": ".types", - "ArticleAttachmentsItem": ".types", - "ArticleAuthor": ".types", - "ArticleLastEditedBy": ".types", - "ArticleParentArticle": ".types", - "ArticleParentContainer": ".types", - "ArticlePermissionsItem": ".types", - "ArticleRootContainer": ".types", - "ArticleStatus": ".types", - "ArticleType": ".types", - "ArticleTypeEnum": ".types", - "ArticleVisibility": ".types", - "ArticlesListRequestExpand": ".resources", - "ArticlesListRequestType": ".resources", - "ArticlesRetrieveRequestExpand": ".resources", - "AsyncPassthroughReciept": ".types", - "AsyncPassthroughRetrieveResponse": ".resources", - "Attachment": ".types", - "AuditLogEvent": ".types", - "AuditLogEventEventType": ".types", - "AuditLogEventRole": ".types", - "AvailableActions": ".types", - "CategoriesEnum": ".types", - "CategoryEnum": ".types", - "CommonModelScopeApi": ".types", - "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", - "Container": ".types", - "ContainerPermissionsItem": ".types", - "ContainerStatus": ".types", - "ContainerType": ".types", - "ContainerTypeEnum": ".types", - "ContainerVisibility": ".types", - "ContainersListRequestExpand": ".resources", - "ContainersListRequestType": ".resources", - "ContainersRetrieveRequestExpand": ".resources", - "DataPassthroughRequest": ".types", - "DataPassthroughRequestMethod": ".types", - "DataPassthroughRequestRequestFormat": ".types", - "DebugModeLog": ".types", - "DebugModelLogSummary": ".types", - "EnabledActionsEnum": ".types", - "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", - "EndUserDetailsRequestLanguage": ".resources", - "ErrorValidationProblem": ".types", - "EventTypeEnum": ".types", - "ExternalTargetFieldApi": ".types", - "ExternalTargetFieldApiResponse": ".types", - "FieldMappingApiInstance": ".types", - "FieldMappingApiInstanceRemoteField": ".types", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".types", - "FieldMappingApiInstanceResponse": ".types", - "FieldMappingApiInstanceTargetField": ".types", - "FieldMappingInstanceResponse": ".types", - "FieldPermissionDeserializer": ".types", - "FieldPermissionDeserializerRequest": ".types", - "Group": ".types", - "GroupParentGroup": ".types", - "GroupUsersItem": ".types", - "GroupsListRequestExpand": ".resources", - "GroupsRetrieveRequestExpand": ".resources", - "IndividualCommonModelScopeDeserializer": ".types", - "IndividualCommonModelScopeDeserializerRequest": ".types", - "Issue": ".types", - "IssueStatus": ".types", - "IssueStatusEnum": ".types", - "IssuesListRequestStatus": ".resources", - "LanguageEnum": ".types", - "LastSyncResultEnum": ".types", - "LinkToken": ".types", - "LinkedAccountsListRequestCategory": ".resources", - "MethodEnum": ".types", - "ModelOperation": ".types", - "ModelPermissionDeserializer": ".types", - "ModelPermissionDeserializerRequest": ".types", - "MultipartFormFieldRequest": ".types", - "MultipartFormFieldRequestEncoding": ".types", - "PaginatedAccountDetailsAndActionsList": ".types", - "PaginatedArticleList": ".types", - "PaginatedAttachmentList": ".types", - "PaginatedAuditLogEventList": ".types", - "PaginatedContainerList": ".types", - "PaginatedGroupList": ".types", - "PaginatedIssueList": ".types", - "PaginatedSyncStatusList": ".types", - "PaginatedUserList": ".types", - "Permission": ".types", - "PermissionGroup": ".types", - "PermissionType": ".types", - "PermissionTypeEnum": ".types", - "PermissionUser": ".types", - "RemoteData": ".types", - "RemoteEndpointInfo": ".types", - "RemoteFieldApi": ".types", - "RemoteFieldApiAdvancedMetadata": ".types", - "RemoteFieldApiCoverage": ".types", - "RemoteFieldApiResponse": ".types", - "RemoteKey": ".types", - "RemoteResponse": ".types", - "RemoteResponseResponseType": ".types", - "RequestFormatEnum": ".types", - "ResponseTypeEnum": ".types", - "RoleEnum": ".types", - "RolesEnum": ".types", - "SelectiveSyncConfigurationsUsageEnum": ".types", - "Status3C6Enum": ".types", - "StatusFd5Enum": ".types", - "SyncStatus": ".types", - "SyncStatusLastSyncResult": ".types", - "SyncStatusStatus": ".types", - "User": ".types", - "ValidationProblemSource": ".types", - "VisibilityEnum": ".types", - "WarningValidationProblem": ".types", - "WebhookReceiver": ".types", - "account_details": ".resources", - "account_token": ".resources", - "articles": ".resources", - "async_passthrough": ".resources", - "attachments": ".resources", - "audit_trail": ".resources", - "available_actions": ".resources", - "containers": ".resources", - "delete_account": ".resources", - "field_mapping": ".resources", - "force_resync": ".resources", - "generate_key": ".resources", - "groups": ".resources", - "issues": ".resources", - "link_token": ".resources", - "linked_accounts": ".resources", - "passthrough": ".resources", - "regenerate_key": ".resources", - "scopes": ".resources", - "sync_status": ".resources", - "users": ".resources", - "webhook_receivers": ".resources", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "Article", - "ArticleAttachmentsItem", - "ArticleAuthor", - "ArticleLastEditedBy", - "ArticleParentArticle", - "ArticleParentContainer", - "ArticlePermissionsItem", - "ArticleRootContainer", - "ArticleStatus", - "ArticleType", - "ArticleTypeEnum", - "ArticleVisibility", - "ArticlesListRequestExpand", - "ArticlesListRequestType", - "ArticlesRetrieveRequestExpand", - "AsyncPassthroughReciept", - "AsyncPassthroughRetrieveResponse", - "Attachment", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Container", - "ContainerPermissionsItem", - "ContainerStatus", - "ContainerType", - "ContainerTypeEnum", - "ContainerVisibility", - "ContainersListRequestExpand", - "ContainersListRequestType", - "ContainersRetrieveRequestExpand", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "GroupParentGroup", - "GroupUsersItem", - "GroupsListRequestExpand", - "GroupsRetrieveRequestExpand", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "IssuesListRequestStatus", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "LinkedAccountsListRequestCategory", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedArticleList", - "PaginatedAttachmentList", - "PaginatedAuditLogEventList", - "PaginatedContainerList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionType", - "PermissionTypeEnum", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "Status3C6Enum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "User", - "ValidationProblemSource", - "VisibilityEnum", - "WarningValidationProblem", - "WebhookReceiver", - "account_details", - "account_token", - "articles", - "async_passthrough", - "attachments", - "audit_trail", - "available_actions", - "containers", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/knowledgebase/client.py b/src/merge/resources/knowledgebase/client.py deleted file mode 100644 index 7b2ce565..00000000 --- a/src/merge/resources/knowledgebase/client.py +++ /dev/null @@ -1,480 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .raw_client import AsyncRawKnowledgebaseClient, RawKnowledgebaseClient - -if typing.TYPE_CHECKING: - from .resources.account_details.client import AccountDetailsClient, AsyncAccountDetailsClient - from .resources.account_token.client import AccountTokenClient, AsyncAccountTokenClient - from .resources.articles.client import ArticlesClient, AsyncArticlesClient - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient, - ) - from .resources.attachments.client import AsyncAttachmentsClient, AttachmentsClient - from .resources.audit_trail.client import AsyncAuditTrailClient, AuditTrailClient - from .resources.available_actions.client import AsyncAvailableActionsClient, AvailableActionsClient - from .resources.containers.client import AsyncContainersClient, ContainersClient - from .resources.delete_account.client import AsyncDeleteAccountClient, DeleteAccountClient - from .resources.field_mapping.client import AsyncFieldMappingClient, FieldMappingClient - from .resources.force_resync.client import AsyncForceResyncClient, ForceResyncClient - from .resources.generate_key.client import AsyncGenerateKeyClient, GenerateKeyClient - from .resources.groups.client import AsyncGroupsClient, GroupsClient - from .resources.issues.client import AsyncIssuesClient, IssuesClient - from .resources.link_token.client import AsyncLinkTokenClient, LinkTokenClient - from .resources.linked_accounts.client import AsyncLinkedAccountsClient, LinkedAccountsClient - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient, - ) - from .resources.passthrough.client import PassthroughClient - from .resources.regenerate_key.client import AsyncRegenerateKeyClient, RegenerateKeyClient - from .resources.scopes.client import AsyncScopesClient, ScopesClient - from .resources.sync_status.client import AsyncSyncStatusClient, SyncStatusClient - from .resources.users.client import AsyncUsersClient, UsersClient - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient, WebhookReceiversClient - - -class KnowledgebaseClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawKnowledgebaseClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AccountDetailsClient] = None - self._account_token: typing.Optional[AccountTokenClient] = None - self._articles: typing.Optional[ArticlesClient] = None - self._async_passthrough: typing.Optional[ - resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient - ] = None - self._attachments: typing.Optional[AttachmentsClient] = None - self._audit_trail: typing.Optional[AuditTrailClient] = None - self._available_actions: typing.Optional[AvailableActionsClient] = None - self._containers: typing.Optional[ContainersClient] = None - self._scopes: typing.Optional[ScopesClient] = None - self._delete_account: typing.Optional[DeleteAccountClient] = None - self._field_mapping: typing.Optional[FieldMappingClient] = None - self._generate_key: typing.Optional[GenerateKeyClient] = None - self._groups: typing.Optional[GroupsClient] = None - self._issues: typing.Optional[IssuesClient] = None - self._link_token: typing.Optional[LinkTokenClient] = None - self._linked_accounts: typing.Optional[LinkedAccountsClient] = None - self._passthrough: typing.Optional[PassthroughClient] = None - self._regenerate_key: typing.Optional[RegenerateKeyClient] = None - self._sync_status: typing.Optional[SyncStatusClient] = None - self._force_resync: typing.Optional[ForceResyncClient] = None - self._users: typing.Optional[UsersClient] = None - self._webhook_receivers: typing.Optional[WebhookReceiversClient] = None - - @property - def with_raw_response(self) -> RawKnowledgebaseClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawKnowledgebaseClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AccountDetailsClient # noqa: E402 - - self._account_details = AccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AccountTokenClient # noqa: E402 - - self._account_token = AccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def articles(self): - if self._articles is None: - from .resources.articles.client import ArticlesClient # noqa: E402 - - self._articles = ArticlesClient(client_wrapper=self._client_wrapper) - return self._articles - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._async_passthrough = resources_knowledgebase_resources_async_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._async_passthrough - - @property - def attachments(self): - if self._attachments is None: - from .resources.attachments.client import AttachmentsClient # noqa: E402 - - self._attachments = AttachmentsClient(client_wrapper=self._client_wrapper) - return self._attachments - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AuditTrailClient # noqa: E402 - - self._audit_trail = AuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AvailableActionsClient # noqa: E402 - - self._available_actions = AvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def containers(self): - if self._containers is None: - from .resources.containers.client import ContainersClient # noqa: E402 - - self._containers = ContainersClient(client_wrapper=self._client_wrapper) - return self._containers - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import ScopesClient # noqa: E402 - - self._scopes = ScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import DeleteAccountClient # noqa: E402 - - self._delete_account = DeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import FieldMappingClient # noqa: E402 - - self._field_mapping = FieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import GenerateKeyClient # noqa: E402 - - self._generate_key = GenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import GroupsClient # noqa: E402 - - self._groups = GroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import IssuesClient # noqa: E402 - - self._issues = IssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import LinkTokenClient # noqa: E402 - - self._link_token = LinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import LinkedAccountsClient # noqa: E402 - - self._linked_accounts = LinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import PassthroughClient # noqa: E402 - - self._passthrough = PassthroughClient(client_wrapper=self._client_wrapper) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import RegenerateKeyClient # noqa: E402 - - self._regenerate_key = RegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import SyncStatusClient # noqa: E402 - - self._sync_status = SyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import ForceResyncClient # noqa: E402 - - self._force_resync = ForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import UsersClient # noqa: E402 - - self._users = UsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import WebhookReceiversClient # noqa: E402 - - self._webhook_receivers = WebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers - - -class AsyncKnowledgebaseClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawKnowledgebaseClient(client_wrapper=client_wrapper) - self._client_wrapper = client_wrapper - self._account_details: typing.Optional[AsyncAccountDetailsClient] = None - self._account_token: typing.Optional[AsyncAccountTokenClient] = None - self._articles: typing.Optional[AsyncArticlesClient] = None - self._async_passthrough: typing.Optional[AsyncAsyncPassthroughClient] = None - self._attachments: typing.Optional[AsyncAttachmentsClient] = None - self._audit_trail: typing.Optional[AsyncAuditTrailClient] = None - self._available_actions: typing.Optional[AsyncAvailableActionsClient] = None - self._containers: typing.Optional[AsyncContainersClient] = None - self._scopes: typing.Optional[AsyncScopesClient] = None - self._delete_account: typing.Optional[AsyncDeleteAccountClient] = None - self._field_mapping: typing.Optional[AsyncFieldMappingClient] = None - self._generate_key: typing.Optional[AsyncGenerateKeyClient] = None - self._groups: typing.Optional[AsyncGroupsClient] = None - self._issues: typing.Optional[AsyncIssuesClient] = None - self._link_token: typing.Optional[AsyncLinkTokenClient] = None - self._linked_accounts: typing.Optional[AsyncLinkedAccountsClient] = None - self._passthrough: typing.Optional[ - resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient - ] = None - self._regenerate_key: typing.Optional[AsyncRegenerateKeyClient] = None - self._sync_status: typing.Optional[AsyncSyncStatusClient] = None - self._force_resync: typing.Optional[AsyncForceResyncClient] = None - self._users: typing.Optional[AsyncUsersClient] = None - self._webhook_receivers: typing.Optional[AsyncWebhookReceiversClient] = None - - @property - def with_raw_response(self) -> AsyncRawKnowledgebaseClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawKnowledgebaseClient - """ - return self._raw_client - - @property - def account_details(self): - if self._account_details is None: - from .resources.account_details.client import AsyncAccountDetailsClient # noqa: E402 - - self._account_details = AsyncAccountDetailsClient(client_wrapper=self._client_wrapper) - return self._account_details - - @property - def account_token(self): - if self._account_token is None: - from .resources.account_token.client import AsyncAccountTokenClient # noqa: E402 - - self._account_token = AsyncAccountTokenClient(client_wrapper=self._client_wrapper) - return self._account_token - - @property - def articles(self): - if self._articles is None: - from .resources.articles.client import AsyncArticlesClient # noqa: E402 - - self._articles = AsyncArticlesClient(client_wrapper=self._client_wrapper) - return self._articles - - @property - def async_passthrough(self): - if self._async_passthrough is None: - from .resources.async_passthrough.client import AsyncAsyncPassthroughClient # noqa: E402 - - self._async_passthrough = AsyncAsyncPassthroughClient(client_wrapper=self._client_wrapper) - return self._async_passthrough - - @property - def attachments(self): - if self._attachments is None: - from .resources.attachments.client import AsyncAttachmentsClient # noqa: E402 - - self._attachments = AsyncAttachmentsClient(client_wrapper=self._client_wrapper) - return self._attachments - - @property - def audit_trail(self): - if self._audit_trail is None: - from .resources.audit_trail.client import AsyncAuditTrailClient # noqa: E402 - - self._audit_trail = AsyncAuditTrailClient(client_wrapper=self._client_wrapper) - return self._audit_trail - - @property - def available_actions(self): - if self._available_actions is None: - from .resources.available_actions.client import AsyncAvailableActionsClient # noqa: E402 - - self._available_actions = AsyncAvailableActionsClient(client_wrapper=self._client_wrapper) - return self._available_actions - - @property - def containers(self): - if self._containers is None: - from .resources.containers.client import AsyncContainersClient # noqa: E402 - - self._containers = AsyncContainersClient(client_wrapper=self._client_wrapper) - return self._containers - - @property - def scopes(self): - if self._scopes is None: - from .resources.scopes.client import AsyncScopesClient # noqa: E402 - - self._scopes = AsyncScopesClient(client_wrapper=self._client_wrapper) - return self._scopes - - @property - def delete_account(self): - if self._delete_account is None: - from .resources.delete_account.client import AsyncDeleteAccountClient # noqa: E402 - - self._delete_account = AsyncDeleteAccountClient(client_wrapper=self._client_wrapper) - return self._delete_account - - @property - def field_mapping(self): - if self._field_mapping is None: - from .resources.field_mapping.client import AsyncFieldMappingClient # noqa: E402 - - self._field_mapping = AsyncFieldMappingClient(client_wrapper=self._client_wrapper) - return self._field_mapping - - @property - def generate_key(self): - if self._generate_key is None: - from .resources.generate_key.client import AsyncGenerateKeyClient # noqa: E402 - - self._generate_key = AsyncGenerateKeyClient(client_wrapper=self._client_wrapper) - return self._generate_key - - @property - def groups(self): - if self._groups is None: - from .resources.groups.client import AsyncGroupsClient # noqa: E402 - - self._groups = AsyncGroupsClient(client_wrapper=self._client_wrapper) - return self._groups - - @property - def issues(self): - if self._issues is None: - from .resources.issues.client import AsyncIssuesClient # noqa: E402 - - self._issues = AsyncIssuesClient(client_wrapper=self._client_wrapper) - return self._issues - - @property - def link_token(self): - if self._link_token is None: - from .resources.link_token.client import AsyncLinkTokenClient # noqa: E402 - - self._link_token = AsyncLinkTokenClient(client_wrapper=self._client_wrapper) - return self._link_token - - @property - def linked_accounts(self): - if self._linked_accounts is None: - from .resources.linked_accounts.client import AsyncLinkedAccountsClient # noqa: E402 - - self._linked_accounts = AsyncLinkedAccountsClient(client_wrapper=self._client_wrapper) - return self._linked_accounts - - @property - def passthrough(self): - if self._passthrough is None: - from .resources.passthrough.client import ( - AsyncPassthroughClient as resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient, # noqa: E402 - ) - - self._passthrough = resources_knowledgebase_resources_passthrough_client_AsyncPassthroughClient( - client_wrapper=self._client_wrapper - ) - return self._passthrough - - @property - def regenerate_key(self): - if self._regenerate_key is None: - from .resources.regenerate_key.client import AsyncRegenerateKeyClient # noqa: E402 - - self._regenerate_key = AsyncRegenerateKeyClient(client_wrapper=self._client_wrapper) - return self._regenerate_key - - @property - def sync_status(self): - if self._sync_status is None: - from .resources.sync_status.client import AsyncSyncStatusClient # noqa: E402 - - self._sync_status = AsyncSyncStatusClient(client_wrapper=self._client_wrapper) - return self._sync_status - - @property - def force_resync(self): - if self._force_resync is None: - from .resources.force_resync.client import AsyncForceResyncClient # noqa: E402 - - self._force_resync = AsyncForceResyncClient(client_wrapper=self._client_wrapper) - return self._force_resync - - @property - def users(self): - if self._users is None: - from .resources.users.client import AsyncUsersClient # noqa: E402 - - self._users = AsyncUsersClient(client_wrapper=self._client_wrapper) - return self._users - - @property - def webhook_receivers(self): - if self._webhook_receivers is None: - from .resources.webhook_receivers.client import AsyncWebhookReceiversClient # noqa: E402 - - self._webhook_receivers = AsyncWebhookReceiversClient(client_wrapper=self._client_wrapper) - return self._webhook_receivers diff --git a/src/merge/resources/knowledgebase/raw_client.py b/src/merge/resources/knowledgebase/raw_client.py deleted file mode 100644 index 482f5fd8..00000000 --- a/src/merge/resources/knowledgebase/raw_client.py +++ /dev/null @@ -1,13 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper - - -class RawKnowledgebaseClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - -class AsyncRawKnowledgebaseClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper diff --git a/src/merge/resources/knowledgebase/resources/__init__.py b/src/merge/resources/knowledgebase/resources/__init__.py deleted file mode 100644 index ba4fd94a..00000000 --- a/src/merge/resources/knowledgebase/resources/__init__.py +++ /dev/null @@ -1,134 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from . import ( - account_details, - account_token, - articles, - async_passthrough, - attachments, - audit_trail, - available_actions, - containers, - delete_account, - field_mapping, - force_resync, - generate_key, - groups, - issues, - link_token, - linked_accounts, - passthrough, - regenerate_key, - scopes, - sync_status, - users, - webhook_receivers, - ) - from .articles import ArticlesListRequestExpand, ArticlesListRequestType, ArticlesRetrieveRequestExpand - from .async_passthrough import AsyncPassthroughRetrieveResponse - from .containers import ContainersListRequestExpand, ContainersListRequestType, ContainersRetrieveRequestExpand - from .groups import GroupsListRequestExpand, GroupsRetrieveRequestExpand - from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage - from .linked_accounts import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".articles", - "ArticlesListRequestType": ".articles", - "ArticlesRetrieveRequestExpand": ".articles", - "AsyncPassthroughRetrieveResponse": ".async_passthrough", - "ContainersListRequestExpand": ".containers", - "ContainersListRequestType": ".containers", - "ContainersRetrieveRequestExpand": ".containers", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", - "EndUserDetailsRequestLanguage": ".link_token", - "GroupsListRequestExpand": ".groups", - "GroupsRetrieveRequestExpand": ".groups", - "IssuesListRequestStatus": ".issues", - "LinkedAccountsListRequestCategory": ".linked_accounts", - "account_details": ".", - "account_token": ".", - "articles": ".", - "async_passthrough": ".", - "attachments": ".", - "audit_trail": ".", - "available_actions": ".", - "containers": ".", - "delete_account": ".", - "field_mapping": ".", - "force_resync": ".", - "generate_key": ".", - "groups": ".", - "issues": ".", - "link_token": ".", - "linked_accounts": ".", - "passthrough": ".", - "regenerate_key": ".", - "scopes": ".", - "sync_status": ".", - "users": ".", - "webhook_receivers": ".", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "ArticlesListRequestExpand", - "ArticlesListRequestType", - "ArticlesRetrieveRequestExpand", - "AsyncPassthroughRetrieveResponse", - "ContainersListRequestExpand", - "ContainersListRequestType", - "ContainersRetrieveRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", - "EndUserDetailsRequestLanguage", - "GroupsListRequestExpand", - "GroupsRetrieveRequestExpand", - "IssuesListRequestStatus", - "LinkedAccountsListRequestCategory", - "account_details", - "account_token", - "articles", - "async_passthrough", - "attachments", - "audit_trail", - "available_actions", - "containers", - "delete_account", - "field_mapping", - "force_resync", - "generate_key", - "groups", - "issues", - "link_token", - "linked_accounts", - "passthrough", - "regenerate_key", - "scopes", - "sync_status", - "users", - "webhook_receivers", -] diff --git a/src/merge/resources/knowledgebase/resources/account_details/__init__.py b/src/merge/resources/knowledgebase/resources/account_details/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/account_details/client.py b/src/merge/resources/knowledgebase/resources/account_details/client.py deleted file mode 100644 index 94d11855..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_details import AccountDetails -from .raw_client import AsyncRawAccountDetailsClient, RawAccountDetailsClient - - -class AccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountDetailsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.account_details.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountDetailsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountDetailsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountDetailsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountDetails: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountDetails - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.account_details.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/account_details/raw_client.py b/src/merge/resources/knowledgebase/resources/account_details/raw_client.py deleted file mode 100644 index 836e029d..00000000 --- a/src/merge/resources/knowledgebase/resources/account_details/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_details import AccountDetails - - -class RawAccountDetailsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountDetails] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountDetailsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountDetails]: - """ - Get details for a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountDetails] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/account-details", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountDetails, - construct_type( - type_=AccountDetails, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/account_token/__init__.py b/src/merge/resources/knowledgebase/resources/account_token/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/account_token/client.py b/src/merge/resources/knowledgebase/resources/account_token/client.py deleted file mode 100644 index 60aa41d9..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/client.py +++ /dev/null @@ -1,112 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.account_token import AccountToken -from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient - - -class AccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAccountTokenClient - """ - return self._raw_client - - def retrieve(self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.account_token.retrieve( - public_token="public_token", - ) - """ - _response = self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data - - -class AsyncAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAccountTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAccountTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAccountTokenClient - """ - return self._raw_client - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AccountToken: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AccountToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.account_token.retrieve( - public_token="public_token", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(public_token, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/account_token/raw_client.py b/src/merge/resources/knowledgebase/resources/account_token/raw_client.py deleted file mode 100644 index 7ae9b614..00000000 --- a/src/merge/resources/knowledgebase/resources/account_token/raw_client.py +++ /dev/null @@ -1,98 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.account_token import AccountToken - - -class RawAccountTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AccountToken] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAccountTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, public_token: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AccountToken]: - """ - Returns the account token for the end user with the provided public token. - - Parameters - ---------- - public_token : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AccountToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/account-token/{jsonable_encoder(public_token)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AccountToken, - construct_type( - type_=AccountToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/articles/__init__.py b/src/merge/resources/knowledgebase/resources/articles/__init__.py deleted file mode 100644 index 007aef5a..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ArticlesListRequestExpand, ArticlesListRequestType, ArticlesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".types", - "ArticlesListRequestType": ".types", - "ArticlesRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ArticlesListRequestExpand", "ArticlesListRequestType", "ArticlesRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/articles/client.py b/src/merge/resources/knowledgebase/resources/articles/client.py deleted file mode 100644 index e507768b..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/client.py +++ /dev/null @@ -1,468 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.article import Article -from ...types.paginated_article_list import PaginatedArticleList -from .raw_client import AsyncRawArticlesClient, RawArticlesClient -from .types.articles_list_request_expand import ArticlesListRequestExpand -from .types.articles_list_request_type import ArticlesListRequestType -from .types.articles_retrieve_request_expand import ArticlesRetrieveRequestExpand - - -class ArticlesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawArticlesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawArticlesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawArticlesClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedArticleList: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedArticleList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - root_container_id=root_container_id, - status=status, - type=type, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Article: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Article - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.articles.retrieve( - id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncArticlesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawArticlesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawArticlesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawArticlesClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedArticleList: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedArticleList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesListRequestExpand, - ArticlesListRequestType, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.articles.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ArticlesListRequestExpand.ATTACHMENTS, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - root_container_id="root_container_id", - status="status", - type=ArticlesListRequestType.EMPTY, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - root_container_id=root_container_id, - status=status, - type=type, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Article: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Article - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.articles import ( - ArticlesRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.articles.retrieve( - id="id", - expand=ArticlesRetrieveRequestExpand.ATTACHMENTS, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/articles/raw_client.py b/src/merge/resources/knowledgebase/resources/articles/raw_client.py deleted file mode 100644 index 0c3b85c8..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/raw_client.py +++ /dev/null @@ -1,384 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.article import Article -from ...types.paginated_article_list import PaginatedArticleList -from .types.articles_list_request_expand import ArticlesListRequestExpand -from .types.articles_list_request_type import ArticlesListRequestType -from .types.articles_retrieve_request_expand import ArticlesRetrieveRequestExpand - - -class RawArticlesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedArticleList]: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedArticleList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/articles", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "root_container_id": root_container_id, - "status": status, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedArticleList, - construct_type( - type_=PaginatedArticleList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Article]: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Article] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/articles/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Article, - construct_type( - type_=Article, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawArticlesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ArticlesListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - root_container_id: typing.Optional[str] = None, - status: typing.Optional[str] = None, - type: typing.Optional[ArticlesListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedArticleList]: - """ - Returns a list of `Article` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ArticlesListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub articles of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub articles of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - root_container_id : typing.Optional[str] - If provided, will only return sub articles of the root_container_id. - - status : typing.Optional[str] - If provided, will only return articles of the given status; multiple statuses can be separated by commas. - - type : typing.Optional[ArticlesListRequestType] - If provided, will only return articles of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedArticleList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/articles", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "root_container_id": root_container_id, - "status": status, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedArticleList, - construct_type( - type_=PaginatedArticleList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ArticlesRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Article]: - """ - Returns an `Article` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ArticlesRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Article] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/articles/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Article, - construct_type( - type_=Article, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/articles/types/__init__.py b/src/merge/resources/knowledgebase/resources/articles/types/__init__.py deleted file mode 100644 index d9e6daf4..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .articles_list_request_expand import ArticlesListRequestExpand - from .articles_list_request_type import ArticlesListRequestType - from .articles_retrieve_request_expand import ArticlesRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ArticlesListRequestExpand": ".articles_list_request_expand", - "ArticlesListRequestType": ".articles_list_request_type", - "ArticlesRetrieveRequestExpand": ".articles_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ArticlesListRequestExpand", "ArticlesListRequestType", "ArticlesRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py deleted file mode 100644 index e8ab09ea..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_expand.py +++ /dev/null @@ -1,625 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesListRequestExpand(str, enum.Enum): - ATTACHMENTS = "attachments" - ATTACHMENTS_AUTHOR = "attachments,author" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "attachments,author,last_edited_by" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,author,last_edited_by,parent_article" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,author,last_edited_by,parent_container" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,author,last_edited_by,root_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "attachments,author,parent_article" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,author,parent_article,parent_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,author,parent_article,root_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "attachments,author,parent_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,author,parent_container,root_container" - ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "attachments,author,root_container" - ATTACHMENTS_LAST_EDITED_BY = "attachments,last_edited_by" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,last_edited_by,parent_article" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,last_edited_by,parent_container" - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,last_edited_by,root_container" - ATTACHMENTS_PARENT_ARTICLE = "attachments,parent_article" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,parent_article,parent_container" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,parent_article,parent_container,root_container" - ) - ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,parent_article,root_container" - ATTACHMENTS_PARENT_CONTAINER = "attachments,parent_container" - ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,parent_container,root_container" - ATTACHMENTS_ROOT_CONTAINER = "attachments,root_container" - AUTHOR = "author" - AUTHOR_LAST_EDITED_BY = "author,last_edited_by" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "author,last_edited_by,parent_article" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "author,last_edited_by,parent_article,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "author,last_edited_by,parent_article,parent_container,root_container" - ) - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "author,last_edited_by,parent_article,root_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "author,last_edited_by,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "author,last_edited_by,parent_container,root_container" - AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "author,last_edited_by,root_container" - AUTHOR_PARENT_ARTICLE = "author,parent_article" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "author,parent_article,parent_container" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_article,parent_container,root_container" - AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "author,parent_article,root_container" - AUTHOR_PARENT_CONTAINER = "author,parent_container" - AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_container,root_container" - AUTHOR_ROOT_CONTAINER = "author,root_container" - LAST_EDITED_BY = "last_edited_by" - LAST_EDITED_BY_PARENT_ARTICLE = "last_edited_by,parent_article" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "last_edited_by,parent_article,parent_container" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "last_edited_by,parent_article,parent_container,root_container" - ) - LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "last_edited_by,parent_article,root_container" - LAST_EDITED_BY_PARENT_CONTAINER = "last_edited_by,parent_container" - LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "last_edited_by,parent_container,root_container" - LAST_EDITED_BY_ROOT_CONTAINER = "last_edited_by,root_container" - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "parent_article,parent_container,root_container" - PARENT_ARTICLE_ROOT_CONTAINER = "parent_article,root_container" - PARENT_CONTAINER = "parent_container" - PARENT_CONTAINER_ROOT_CONTAINER = "parent_container,root_container" - PERMISSIONS = "permissions" - PERMISSIONS_ATTACHMENTS = "permissions,attachments" - PERMISSIONS_ATTACHMENTS_AUTHOR = "permissions,attachments,author" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "permissions,attachments,author,last_edited_by" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = ( - "permissions,attachments,author,last_edited_by,parent_article" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "permissions,attachments,author,parent_article" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "permissions,attachments,author,parent_container" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "permissions,attachments,author,root_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY = "permissions,attachments,last_edited_by" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,attachments,last_edited_by,parent_article" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,attachments,last_edited_by,parent_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,attachments,last_edited_by,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE = "permissions,attachments,parent_article" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,attachments,parent_article,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,attachments,parent_article,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER = "permissions,attachments,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,attachments,parent_container,root_container" - PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER = "permissions,attachments,root_container" - PERMISSIONS_AUTHOR = "permissions,author" - PERMISSIONS_AUTHOR_LAST_EDITED_BY = "permissions,author,last_edited_by" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,author,last_edited_by,parent_article" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,author,last_edited_by,parent_container" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,author,last_edited_by,root_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE = "permissions,author,parent_article" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,author,parent_article,parent_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,author,parent_article,root_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER = "permissions,author,parent_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,author,parent_container,root_container" - PERMISSIONS_AUTHOR_ROOT_CONTAINER = "permissions,author,root_container" - PERMISSIONS_LAST_EDITED_BY = "permissions,last_edited_by" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,last_edited_by,parent_article" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,last_edited_by,parent_container" - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,last_edited_by,root_container" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,parent_article,parent_container,root_container" - ) - PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,parent_article,root_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,parent_container,root_container" - PERMISSIONS_ROOT_CONTAINER = "permissions,root_container" - ROOT_CONTAINER = "root_container" - - def visit( - self, - attachments: typing.Callable[[], T_Result], - attachments_author: typing.Callable[[], T_Result], - attachments_author_last_edited_by: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_parent_article: typing.Callable[[], T_Result], - attachments_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_parent_article_root_container: typing.Callable[[], T_Result], - attachments_parent_container: typing.Callable[[], T_Result], - attachments_parent_container_root_container: typing.Callable[[], T_Result], - attachments_root_container: typing.Callable[[], T_Result], - author: typing.Callable[[], T_Result], - author_last_edited_by: typing.Callable[[], T_Result], - author_last_edited_by_parent_article: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_root_container: typing.Callable[[], T_Result], - author_parent_article: typing.Callable[[], T_Result], - author_parent_article_parent_container: typing.Callable[[], T_Result], - author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_parent_article_root_container: typing.Callable[[], T_Result], - author_parent_container: typing.Callable[[], T_Result], - author_parent_container_root_container: typing.Callable[[], T_Result], - author_root_container: typing.Callable[[], T_Result], - last_edited_by: typing.Callable[[], T_Result], - last_edited_by_parent_article: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_root_container: typing.Callable[[], T_Result], - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_article_parent_container_root_container: typing.Callable[[], T_Result], - parent_article_root_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - parent_container_root_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_attachments: typing.Callable[[], T_Result], - permissions_attachments_author: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_root_container: typing.Callable[[], T_Result], - permissions_author: typing.Callable[[], T_Result], - permissions_author_last_edited_by: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_parent_article_root_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - permissions_parent_container_root_container: typing.Callable[[], T_Result], - permissions_root_container: typing.Callable[[], T_Result], - root_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesListRequestExpand.ATTACHMENTS: - return attachments() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR: - return attachments_author() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return attachments_author_last_edited_by() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return attachments_author_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return attachments_author_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return attachments_author_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY: - return attachments_last_edited_by() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_last_edited_by_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE: - return attachments_parent_article() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_parent_article_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_parent_article_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_CONTAINER: - return attachments_parent_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_container_root_container() - if self is ArticlesListRequestExpand.ATTACHMENTS_ROOT_CONTAINER: - return attachments_root_container() - if self is ArticlesListRequestExpand.AUTHOR: - return author() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY: - return author_last_edited_by() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return author_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE: - return author_parent_article() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return author_parent_article_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return author_parent_article_root_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_CONTAINER: - return author_parent_container() - if self is ArticlesListRequestExpand.AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_container_root_container() - if self is ArticlesListRequestExpand.AUTHOR_ROOT_CONTAINER: - return author_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY: - return last_edited_by() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE: - return last_edited_by_parent_article() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER: - return last_edited_by_parent_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.LAST_EDITED_BY_ROOT_CONTAINER: - return last_edited_by_root_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PARENT_ARTICLE_ROOT_CONTAINER: - return parent_article_root_container() - if self is ArticlesListRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ArticlesListRequestExpand.PARENT_CONTAINER_ROOT_CONTAINER: - return parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS: - return permissions() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS: - return permissions_attachments() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR: - return permissions_attachments_author() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return permissions_attachments_author_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_author_last_edited_by_parent_article() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_author_last_edited_by_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return permissions_attachments_author_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_author_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_author_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return permissions_attachments_author_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_author_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return permissions_attachments_author_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY: - return permissions_attachments_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE: - return permissions_attachments_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER: - return permissions_attachments_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER: - return permissions_attachments_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR: - return permissions_author() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY: - return permissions_author_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_author_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_author_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE: - return permissions_author_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER: - return permissions_author_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_AUTHOR_ROOT_CONTAINER: - return permissions_author_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY: - return permissions_last_edited_by() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_last_edited_by_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_last_edited_by_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_last_edited_by_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_article_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_parent_article_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() - if self is ArticlesListRequestExpand.PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_container_root_container() - if self is ArticlesListRequestExpand.PERMISSIONS_ROOT_CONTAINER: - return permissions_root_container() - if self is ArticlesListRequestExpand.ROOT_CONTAINER: - return root_container() diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py deleted file mode 100644 index c09a8782..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_list_request_type.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesListRequestType(str, enum.Enum): - EMPTY = "" - BLOG_POST = "BLOG_POST" - PAGE = "PAGE" - SMART_LINK = "SMART_LINK" - - def visit( - self, - empty: typing.Callable[[], T_Result], - blog_post: typing.Callable[[], T_Result], - page: typing.Callable[[], T_Result], - smart_link: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesListRequestType.EMPTY: - return empty() - if self is ArticlesListRequestType.BLOG_POST: - return blog_post() - if self is ArticlesListRequestType.PAGE: - return page() - if self is ArticlesListRequestType.SMART_LINK: - return smart_link() diff --git a/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py deleted file mode 100644 index e64863e6..00000000 --- a/src/merge/resources/knowledgebase/resources/articles/types/articles_retrieve_request_expand.py +++ /dev/null @@ -1,631 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticlesRetrieveRequestExpand(str, enum.Enum): - ATTACHMENTS = "attachments" - ATTACHMENTS_AUTHOR = "attachments,author" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "attachments,author,last_edited_by" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,author,last_edited_by,parent_article" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,author,last_edited_by,parent_container" - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,author,last_edited_by,root_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "attachments,author,parent_article" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,author,parent_article,parent_container" - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,author,parent_article,parent_container,root_container" - ) - ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,author,parent_article,root_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "attachments,author,parent_container" - ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,author,parent_container,root_container" - ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "attachments,author,root_container" - ATTACHMENTS_LAST_EDITED_BY = "attachments,last_edited_by" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "attachments,last_edited_by,parent_article" - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_article,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "attachments,last_edited_by,parent_container" - ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,last_edited_by,parent_container,root_container" - ) - ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "attachments,last_edited_by,root_container" - ATTACHMENTS_PARENT_ARTICLE = "attachments,parent_article" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "attachments,parent_article,parent_container" - ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "attachments,parent_article,parent_container,root_container" - ) - ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "attachments,parent_article,root_container" - ATTACHMENTS_PARENT_CONTAINER = "attachments,parent_container" - ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "attachments,parent_container,root_container" - ATTACHMENTS_ROOT_CONTAINER = "attachments,root_container" - AUTHOR = "author" - AUTHOR_LAST_EDITED_BY = "author,last_edited_by" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "author,last_edited_by,parent_article" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "author,last_edited_by,parent_article,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "author,last_edited_by,parent_article,parent_container,root_container" - ) - AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "author,last_edited_by,parent_article,root_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "author,last_edited_by,parent_container" - AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "author,last_edited_by,parent_container,root_container" - AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "author,last_edited_by,root_container" - AUTHOR_PARENT_ARTICLE = "author,parent_article" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "author,parent_article,parent_container" - AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_article,parent_container,root_container" - AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "author,parent_article,root_container" - AUTHOR_PARENT_CONTAINER = "author,parent_container" - AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "author,parent_container,root_container" - AUTHOR_ROOT_CONTAINER = "author,root_container" - LAST_EDITED_BY = "last_edited_by" - LAST_EDITED_BY_PARENT_ARTICLE = "last_edited_by,parent_article" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = "last_edited_by,parent_article,parent_container" - LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "last_edited_by,parent_article,parent_container,root_container" - ) - LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = "last_edited_by,parent_article,root_container" - LAST_EDITED_BY_PARENT_CONTAINER = "last_edited_by,parent_container" - LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = "last_edited_by,parent_container,root_container" - LAST_EDITED_BY_ROOT_CONTAINER = "last_edited_by,root_container" - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = "parent_article,parent_container,root_container" - PARENT_ARTICLE_ROOT_CONTAINER = "parent_article,root_container" - PARENT_CONTAINER = "parent_container" - PARENT_CONTAINER_ROOT_CONTAINER = "parent_container,root_container" - PERMISSIONS = "permissions" - PERMISSIONS_ATTACHMENTS = "permissions,attachments" - PERMISSIONS_ATTACHMENTS_AUTHOR = "permissions,attachments,author" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY = "permissions,attachments,author,last_edited_by" - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = ( - "permissions,attachments,author,last_edited_by,parent_article" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = ( - "permissions,attachments,author,last_edited_by,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE = "permissions,attachments,author,parent_article" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER = "permissions,attachments,author,parent_container" - PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,author,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER = "permissions,attachments,author,root_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY = "permissions,attachments,last_edited_by" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,attachments,last_edited_by,parent_article" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,attachments,last_edited_by,parent_container" - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,attachments,last_edited_by,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE = "permissions,attachments,parent_article" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,attachments,parent_article,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,attachments,parent_article,parent_container,root_container" - ) - PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,attachments,parent_article,root_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER = "permissions,attachments,parent_container" - PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,attachments,parent_container,root_container" - PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER = "permissions,attachments,root_container" - PERMISSIONS_AUTHOR = "permissions,author" - PERMISSIONS_AUTHOR_LAST_EDITED_BY = "permissions,author,last_edited_by" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,author,last_edited_by,parent_article" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,author,last_edited_by,parent_container" - PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,author,last_edited_by,root_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE = "permissions,author,parent_article" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,author,parent_article,parent_container" - PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,author,parent_article,parent_container,root_container" - ) - PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,author,parent_article,root_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER = "permissions,author,parent_container" - PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,author,parent_container,root_container" - PERMISSIONS_AUTHOR_ROOT_CONTAINER = "permissions,author,root_container" - PERMISSIONS_LAST_EDITED_BY = "permissions,last_edited_by" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE = "permissions,last_edited_by,parent_article" - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_article,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER = "permissions,last_edited_by,parent_container" - PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,last_edited_by,parent_container,root_container" - ) - PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER = "permissions,last_edited_by,root_container" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER = ( - "permissions,parent_article,parent_container,root_container" - ) - PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER = "permissions,parent_article,root_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER = "permissions,parent_container,root_container" - PERMISSIONS_ROOT_CONTAINER = "permissions,root_container" - ROOT_CONTAINER = "root_container" - - def visit( - self, - attachments: typing.Callable[[], T_Result], - attachments_author: typing.Callable[[], T_Result], - attachments_author_last_edited_by: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - attachments_author_parent_container: typing.Callable[[], T_Result], - attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - attachments_author_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - attachments_parent_article: typing.Callable[[], T_Result], - attachments_parent_article_parent_container: typing.Callable[[], T_Result], - attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - attachments_parent_article_root_container: typing.Callable[[], T_Result], - attachments_parent_container: typing.Callable[[], T_Result], - attachments_parent_container_root_container: typing.Callable[[], T_Result], - attachments_root_container: typing.Callable[[], T_Result], - author: typing.Callable[[], T_Result], - author_last_edited_by: typing.Callable[[], T_Result], - author_last_edited_by_parent_article: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container: typing.Callable[[], T_Result], - author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - author_last_edited_by_root_container: typing.Callable[[], T_Result], - author_parent_article: typing.Callable[[], T_Result], - author_parent_article_parent_container: typing.Callable[[], T_Result], - author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - author_parent_article_root_container: typing.Callable[[], T_Result], - author_parent_container: typing.Callable[[], T_Result], - author_parent_container_root_container: typing.Callable[[], T_Result], - author_root_container: typing.Callable[[], T_Result], - last_edited_by: typing.Callable[[], T_Result], - last_edited_by_parent_article: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - last_edited_by_parent_container: typing.Callable[[], T_Result], - last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - last_edited_by_root_container: typing.Callable[[], T_Result], - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_article_parent_container_root_container: typing.Callable[[], T_Result], - parent_article_root_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - parent_container_root_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_attachments: typing.Callable[[], T_Result], - permissions_attachments_author: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container: typing.Callable[[], T_Result], - permissions_attachments_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_author_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_article_parent_container_root_container: typing.Callable[ - [], T_Result - ], - permissions_attachments_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_article_root_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container: typing.Callable[[], T_Result], - permissions_attachments_parent_container_root_container: typing.Callable[[], T_Result], - permissions_attachments_root_container: typing.Callable[[], T_Result], - permissions_author: typing.Callable[[], T_Result], - permissions_author_last_edited_by: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_parent_article_root_container: typing.Callable[[], T_Result], - permissions_author_parent_container: typing.Callable[[], T_Result], - permissions_author_parent_container_root_container: typing.Callable[[], T_Result], - permissions_author_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_article_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container: typing.Callable[[], T_Result], - permissions_last_edited_by_parent_container_root_container: typing.Callable[[], T_Result], - permissions_last_edited_by_root_container: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_article_parent_container_root_container: typing.Callable[[], T_Result], - permissions_parent_article_root_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - permissions_parent_container_root_container: typing.Callable[[], T_Result], - permissions_root_container: typing.Callable[[], T_Result], - root_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS: - return attachments() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR: - return attachments_author() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return attachments_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return attachments_author_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return attachments_author_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return attachments_author_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY: - return attachments_last_edited_by() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return attachments_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return attachments_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return attachments_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE: - return attachments_parent_article() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return attachments_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return attachments_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_CONTAINER: - return attachments_parent_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return attachments_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.ATTACHMENTS_ROOT_CONTAINER: - return attachments_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR: - return author() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY: - return author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return author_last_edited_by_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE: - return author_parent_article() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_CONTAINER: - return author_parent_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.AUTHOR_ROOT_CONTAINER: - return author_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY: - return last_edited_by() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE: - return last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return last_edited_by_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER: - return last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.LAST_EDITED_BY_ROOT_CONTAINER: - return last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_ARTICLE_ROOT_CONTAINER: - return parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ArticlesRetrieveRequestExpand.PARENT_CONTAINER_ROOT_CONTAINER: - return parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS: - return permissions_attachments() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR: - return permissions_attachments_author() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY: - return permissions_attachments_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_author_last_edited_by_parent_article() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_parent_container_root_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_author_last_edited_by_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE: - return permissions_attachments_author_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_author_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER: - return permissions_attachments_author_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_AUTHOR_ROOT_CONTAINER: - return permissions_attachments_author_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY: - return permissions_attachments_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_attachments_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_attachments_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_attachments_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE: - return permissions_attachments_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_attachments_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_attachments_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER: - return permissions_attachments_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_attachments_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ATTACHMENTS_ROOT_CONTAINER: - return permissions_attachments_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR: - return permissions_author() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY: - return permissions_author_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_author_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_author_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_author_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_author_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE: - return permissions_author_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_author_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_author_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER: - return permissions_author_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_author_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_AUTHOR_ROOT_CONTAINER: - return permissions_author_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY: - return permissions_last_edited_by() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE: - return permissions_last_edited_by_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_last_edited_by_parent_article_parent_container() - if ( - self - is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER - ): - return permissions_last_edited_by_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_last_edited_by_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER: - return permissions_last_edited_by_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_last_edited_by_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_LAST_EDITED_BY_ROOT_CONTAINER: - return permissions_last_edited_by_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_article_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_ROOT_CONTAINER: - return permissions_parent_article_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER_ROOT_CONTAINER: - return permissions_parent_container_root_container() - if self is ArticlesRetrieveRequestExpand.PERMISSIONS_ROOT_CONTAINER: - return permissions_root_container() - if self is ArticlesRetrieveRequestExpand.ROOT_CONTAINER: - return root_container() diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py b/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py deleted file mode 100644 index 375c7953..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/client.py b/src/merge/resources/knowledgebase/resources/async_passthrough/client.py deleted file mode 100644 index 72373917..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .raw_client import AsyncRawAsyncPassthroughClient, RawAsyncPassthroughClient -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAsyncPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - """ - _response = self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data - - -class AsyncAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAsyncPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAsyncPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAsyncPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughReciept: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughReciept - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.async_passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncPassthroughRetrieveResponse: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncPassthroughRetrieveResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.async_passthrough.retrieve( - async_passthrough_receipt_id="async_passthrough_receipt_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(async_passthrough_receipt_id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py b/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py deleted file mode 100644 index 1edf795f..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/raw_client.py +++ /dev/null @@ -1,189 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.async_passthrough_reciept import AsyncPassthroughReciept -from ...types.data_passthrough_request import DataPassthroughRequest -from .types.async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughReciept] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughReciept]: - """ - Asynchronously pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughReciept] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/async-passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughReciept, - construct_type( - type_=AsyncPassthroughReciept, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, async_passthrough_receipt_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AsyncPassthroughRetrieveResponse]: - """ - Retrieves data from earlier async-passthrough POST request - - Parameters - ---------- - async_passthrough_receipt_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AsyncPassthroughRetrieveResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/async-passthrough/{jsonable_encoder(async_passthrough_receipt_id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AsyncPassthroughRetrieveResponse, - construct_type( - type_=AsyncPassthroughRetrieveResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py b/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py deleted file mode 100644 index f6e9bec9..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .async_passthrough_retrieve_response import AsyncPassthroughRetrieveResponse -_dynamic_imports: typing.Dict[str, str] = {"AsyncPassthroughRetrieveResponse": ".async_passthrough_retrieve_response"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["AsyncPassthroughRetrieveResponse"] diff --git a/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py b/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py deleted file mode 100644 index f8f87c18..00000000 --- a/src/merge/resources/knowledgebase/resources/async_passthrough/types/async_passthrough_retrieve_response.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.remote_response import RemoteResponse - -AsyncPassthroughRetrieveResponse = typing.Union[RemoteResponse, str] diff --git a/src/merge/resources/knowledgebase/resources/attachments/__init__.py b/src/merge/resources/knowledgebase/resources/attachments/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/attachments/client.py b/src/merge/resources/knowledgebase/resources/attachments/client.py deleted file mode 100644 index 8998590d..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/client.py +++ /dev/null @@ -1,367 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.attachment import Attachment -from ...types.paginated_attachment_list import PaginatedAttachmentList -from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient - - -class AttachmentsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAttachmentsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAttachmentsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAttachmentsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAttachmentList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Attachment: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Attachment - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncAttachmentsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAttachmentsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAttachmentsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAttachmentsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAttachmentList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.attachments.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Attachment: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Attachment - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.attachments.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/attachments/raw_client.py b/src/merge/resources/knowledgebase/resources/attachments/raw_client.py deleted file mode 100644 index 1da00a24..00000000 --- a/src/merge/resources/knowledgebase/resources/attachments/raw_client.py +++ /dev/null @@ -1,311 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.attachment import Attachment -from ...types.paginated_attachment_list import PaginatedAttachmentList - - -class RawAttachmentsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAttachmentList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/attachments", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAttachmentList, - construct_type( - type_=PaginatedAttachmentList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Attachment]: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Attachment] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/attachments/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Attachment, - construct_type( - type_=Attachment, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAttachmentsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: - """ - Returns a list of `Attachment` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAttachmentList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/attachments", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAttachmentList, - construct_type( - type_=PaginatedAttachmentList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Attachment]: - """ - Returns an `Attachment` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Attachment] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/attachments/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Attachment, - construct_type( - type_=Attachment, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py b/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/client.py b/src/merge/resources/knowledgebase/resources/audit_trail/client.py deleted file mode 100644 index 3f0ab341..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/client.py +++ /dev/null @@ -1,188 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList -from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient - - -class AuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAuditTrailClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - """ - _response = self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data - - -class AsyncAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAuditTrailClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAuditTrailClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAuditTrailClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAuditLogEventList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.audit_trail.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - event_type="event_type", - page_size=1, - start_date="start_date", - user_email="user_email", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - cursor=cursor, - end_date=end_date, - event_type=event_type, - page_size=page_size, - start_date=start_date, - user_email=user_email, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py b/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py deleted file mode 100644 index d130a2a1..00000000 --- a/src/merge/resources/knowledgebase/resources/audit_trail/raw_client.py +++ /dev/null @@ -1,161 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList - - -class RawAuditTrailClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAuditLogEventList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAuditTrailClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - event_type: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - user_email: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: - """ - Gets a list of audit trail events. - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include audit trail events that occurred before this time - - event_type : typing.Optional[str] - If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `REGENERATED_WEBHOOK_SIGNATURE`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `CREATED_INTEGRATION_WIDE_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_FIELD_MAPPING`, `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING`, `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING`, `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE`, `FORCED_LINKED_ACCOUNT_RESYNC`, `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, `END_USER_CREDENTIALS_ACCESSED` - - page_size : typing.Optional[int] - Number of results to return per page. - - start_date : typing.Optional[str] - If included, will only include audit trail events that occurred after this time - - user_email : typing.Optional[str] - If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAuditLogEventList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/audit-trail", - method="GET", - params={ - "cursor": cursor, - "end_date": end_date, - "event_type": event_type, - "page_size": page_size, - "start_date": start_date, - "user_email": user_email, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAuditLogEventList, - construct_type( - type_=PaginatedAuditLogEventList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/available_actions/__init__.py b/src/merge/resources/knowledgebase/resources/available_actions/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/available_actions/client.py b/src/merge/resources/knowledgebase/resources/available_actions/client.py deleted file mode 100644 index 3f5a7a95..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/client.py +++ /dev/null @@ -1,102 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.available_actions import AvailableActions -from .raw_client import AsyncRawAvailableActionsClient, RawAvailableActionsClient - - -class AvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawAvailableActionsClient - """ - return self._raw_client - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.available_actions.retrieve() - """ - _response = self._raw_client.retrieve(request_options=request_options) - return _response.data - - -class AsyncAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawAvailableActionsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawAvailableActionsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawAvailableActionsClient - """ - return self._raw_client - - async def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> AvailableActions: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AvailableActions - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.available_actions.retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py b/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py deleted file mode 100644 index 9ea7770d..00000000 --- a/src/merge/resources/knowledgebase/resources/available_actions/raw_client.py +++ /dev/null @@ -1,91 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.available_actions import AvailableActions - - -class RawAvailableActionsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def retrieve(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[AvailableActions] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawAvailableActionsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[AvailableActions]: - """ - Returns a list of models and actions available for an account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[AvailableActions] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/available-actions", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - AvailableActions, - construct_type( - type_=AvailableActions, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/containers/__init__.py b/src/merge/resources/knowledgebase/resources/containers/__init__.py deleted file mode 100644 index 6ccf6d9d..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import ContainersListRequestExpand, ContainersListRequestType, ContainersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ContainersListRequestExpand": ".types", - "ContainersListRequestType": ".types", - "ContainersRetrieveRequestExpand": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ContainersListRequestExpand", "ContainersListRequestType", "ContainersRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/containers/client.py b/src/merge/resources/knowledgebase/resources/containers/client.py deleted file mode 100644 index 74e798c0..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/client.py +++ /dev/null @@ -1,444 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.container import Container -from ...types.paginated_container_list import PaginatedContainerList -from .raw_client import AsyncRawContainersClient, RawContainersClient -from .types.containers_list_request_expand import ContainersListRequestExpand -from .types.containers_list_request_type import ContainersListRequestType -from .types.containers_retrieve_request_expand import ContainersRetrieveRequestExpand - - -class ContainersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawContainersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawContainersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawContainersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContainerList: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedContainerList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - type=type, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Container: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Container - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncContainersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawContainersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawContainersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawContainersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContainerList: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedContainerList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.containers import ( - ContainersListRequestExpand, - ContainersListRequestType, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.containers.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ContainersListRequestExpand.PARENT_ARTICLE, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - parent_article_id="parent_article_id", - parent_container_id="parent_container_id", - remote_id="remote_id", - type=ContainersListRequestType.EMPTY, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - parent_article_id=parent_article_id, - parent_container_id=parent_container_id, - remote_id=remote_id, - type=type, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Container: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Container - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.containers import ( - ContainersRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.containers.retrieve( - id="id", - expand=ContainersRetrieveRequestExpand.PARENT_ARTICLE, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/containers/raw_client.py b/src/merge/resources/knowledgebase/resources/containers/raw_client.py deleted file mode 100644 index 76b1a68b..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/raw_client.py +++ /dev/null @@ -1,364 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.container import Container -from ...types.paginated_container_list import PaginatedContainerList -from .types.containers_list_request_expand import ContainersListRequestExpand -from .types.containers_list_request_type import ContainersListRequestType -from .types.containers_retrieve_request_expand import ContainersRetrieveRequestExpand - - -class RawContainersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContainerList]: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedContainerList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/containers", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedContainerList, - construct_type( - type_=PaginatedContainerList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Container]: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Container] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/containers/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Container, - construct_type( - type_=Container, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawContainersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[ContainersListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - parent_article_id: typing.Optional[str] = None, - parent_container_id: typing.Optional[str] = None, - remote_id: typing.Optional[str] = None, - type: typing.Optional[ContainersListRequestType] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContainerList]: - """ - Returns a list of `Container` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[ContainersListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - parent_article_id : typing.Optional[str] - If provided, will only return sub containers of the parent_article_id. - - parent_container_id : typing.Optional[str] - If provided, will only return sub containers of the parent_container_id. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - type : typing.Optional[ContainersListRequestType] - If provided, will only return containers of the given type. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedContainerList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/containers", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "parent_article_id": parent_article_id, - "parent_container_id": parent_container_id, - "remote_id": remote_id, - "type": type, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedContainerList, - construct_type( - type_=PaginatedContainerList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[ContainersRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Container]: - """ - Returns a `Container` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[ContainersRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Container] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/containers/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Container, - construct_type( - type_=Container, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/containers/types/__init__.py b/src/merge/resources/knowledgebase/resources/containers/types/__init__.py deleted file mode 100644 index 5bbf7132..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .containers_list_request_expand import ContainersListRequestExpand - from .containers_list_request_type import ContainersListRequestType - from .containers_retrieve_request_expand import ContainersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "ContainersListRequestExpand": ".containers_list_request_expand", - "ContainersListRequestType": ".containers_list_request_type", - "ContainersRetrieveRequestExpand": ".containers_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["ContainersListRequestExpand", "ContainersListRequestType", "ContainersRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py deleted file mode 100644 index 49c7be3a..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersListRequestExpand(str, enum.Enum): - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_CONTAINER = "parent_container" - PERMISSIONS = "permissions" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - - def visit( - self, - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersListRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ContainersListRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ContainersListRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ContainersListRequestExpand.PERMISSIONS: - return permissions() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ContainersListRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py deleted file mode 100644 index c40414d7..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_list_request_type.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersListRequestType(str, enum.Enum): - EMPTY = "" - CATEGORY = "CATEGORY" - COLLECTION = "COLLECTION" - DATABASE = "DATABASE" - FOLDER = "FOLDER" - SECTION = "SECTION" - SPACE = "SPACE" - - def visit( - self, - empty: typing.Callable[[], T_Result], - category: typing.Callable[[], T_Result], - collection: typing.Callable[[], T_Result], - database: typing.Callable[[], T_Result], - folder: typing.Callable[[], T_Result], - section: typing.Callable[[], T_Result], - space: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersListRequestType.EMPTY: - return empty() - if self is ContainersListRequestType.CATEGORY: - return category() - if self is ContainersListRequestType.COLLECTION: - return collection() - if self is ContainersListRequestType.DATABASE: - return database() - if self is ContainersListRequestType.FOLDER: - return folder() - if self is ContainersListRequestType.SECTION: - return section() - if self is ContainersListRequestType.SPACE: - return space() diff --git a/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py deleted file mode 100644 index 7b10f318..00000000 --- a/src/merge/resources/knowledgebase/resources/containers/types/containers_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainersRetrieveRequestExpand(str, enum.Enum): - PARENT_ARTICLE = "parent_article" - PARENT_ARTICLE_PARENT_CONTAINER = "parent_article,parent_container" - PARENT_CONTAINER = "parent_container" - PERMISSIONS = "permissions" - PERMISSIONS_PARENT_ARTICLE = "permissions,parent_article" - PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER = "permissions,parent_article,parent_container" - PERMISSIONS_PARENT_CONTAINER = "permissions,parent_container" - - def visit( - self, - parent_article: typing.Callable[[], T_Result], - parent_article_parent_container: typing.Callable[[], T_Result], - parent_container: typing.Callable[[], T_Result], - permissions: typing.Callable[[], T_Result], - permissions_parent_article: typing.Callable[[], T_Result], - permissions_parent_article_parent_container: typing.Callable[[], T_Result], - permissions_parent_container: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainersRetrieveRequestExpand.PARENT_ARTICLE: - return parent_article() - if self is ContainersRetrieveRequestExpand.PARENT_ARTICLE_PARENT_CONTAINER: - return parent_article_parent_container() - if self is ContainersRetrieveRequestExpand.PARENT_CONTAINER: - return parent_container() - if self is ContainersRetrieveRequestExpand.PERMISSIONS: - return permissions() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE: - return permissions_parent_article() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_ARTICLE_PARENT_CONTAINER: - return permissions_parent_article_parent_container() - if self is ContainersRetrieveRequestExpand.PERMISSIONS_PARENT_CONTAINER: - return permissions_parent_container() diff --git a/src/merge/resources/knowledgebase/resources/delete_account/__init__.py b/src/merge/resources/knowledgebase/resources/delete_account/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/delete_account/client.py b/src/merge/resources/knowledgebase/resources/delete_account/client.py deleted file mode 100644 index 71794eed..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/client.py +++ /dev/null @@ -1,99 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from .raw_client import AsyncRawDeleteAccountClient, RawDeleteAccountClient - - -class DeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawDeleteAccountClient - """ - return self._raw_client - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.delete_account.delete() - """ - _response = self._raw_client.delete(request_options=request_options) - return _response.data - - -class AsyncDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawDeleteAccountClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawDeleteAccountClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawDeleteAccountClient - """ - return self._raw_client - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> None: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - None - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.delete_account.delete() - - - asyncio.run(main()) - """ - _response = await self._raw_client.delete(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py b/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py deleted file mode 100644 index 69762675..00000000 --- a/src/merge/resources/knowledgebase/resources/delete_account/raw_client.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions - - -class RawDeleteAccountClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[None] - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return HttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawDeleteAccountClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def delete(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[None]: - """ - Delete a linked account. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[None] - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/delete-account", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - return AsyncHttpResponse(response=_response, data=None) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py b/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/client.py b/src/merge/resources/knowledgebase/resources/field_mapping/client.py deleted file mode 100644 index f28fd73d..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/client.py +++ /dev/null @@ -1,664 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse -from .raw_client import AsyncRawFieldMappingClient, RawFieldMappingClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class FieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawFieldMappingClient - """ - return self._raw_client - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - """ - _response = self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - """ - _response = self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - """ - _response = self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - """ - _response = self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.field_mapping.target_fields_retrieve() - """ - _response = self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data - - -class AsyncFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawFieldMappingClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawFieldMappingClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawFieldMappingClient - """ - return self._raw_client - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingApiInstanceResponse: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingApiInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_retrieve( - exclude_remote_field_metadata=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_retrieve( - exclude_remote_field_metadata=exclude_remote_field_metadata, request_options=request_options - ) - return _response.data - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_create( - exclude_remote_field_metadata=True, - target_field_name="example_target_field_name", - target_field_description="this is a example description of the target field", - remote_field_traversal_path=["example_remote_field"], - remote_method="GET", - remote_url_path="/example-url-path", - common_model_name="ExampleCommonModel", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_create( - target_field_name=target_field_name, - target_field_description=target_field_description, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - common_model_name=common_model_name, - exclude_remote_field_metadata=exclude_remote_field_metadata, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> FieldMappingInstanceResponse: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_destroy( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_destroy(field_mapping_id, request_options=request_options) - return _response.data - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> FieldMappingInstanceResponse: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - FieldMappingInstanceResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.field_mappings_partial_update( - field_mapping_id="field_mapping_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.field_mappings_partial_update( - field_mapping_id, - remote_field_traversal_path=remote_field_traversal_path, - remote_method=remote_method, - remote_url_path=remote_url_path, - jmes_path=jmes_path, - request_options=request_options, - ) - return _response.data - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> RemoteFieldApiResponse: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.remote_fields_retrieve( - common_models="common_models", - include_example_values="include_example_values", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.remote_fields_retrieve( - common_models=common_models, include_example_values=include_example_values, request_options=request_options - ) - return _response.data - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> ExternalTargetFieldApiResponse: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - ExternalTargetFieldApiResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.field_mapping.target_fields_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.target_fields_retrieve(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py b/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py deleted file mode 100644 index 0767247f..00000000 --- a/src/merge/resources/knowledgebase/resources/field_mapping/raw_client.py +++ /dev/null @@ -1,672 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.external_target_field_api_response import ExternalTargetFieldApiResponse -from ...types.field_mapping_api_instance_response import FieldMappingApiInstanceResponse -from ...types.field_mapping_instance_response import FieldMappingInstanceResponse -from ...types.remote_field_api_response import RemoteFieldApiResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawFieldMappingClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[FieldMappingInstanceResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawFieldMappingClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def field_mappings_retrieve( - self, - *, - exclude_remote_field_metadata: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingApiInstanceResponse]: - """ - Get all Field Mappings for this Linked Account. Field Mappings are mappings between third-party Remote Fields and user defined Merge fields. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingApiInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="GET", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingApiInstanceResponse, - construct_type( - type_=FieldMappingApiInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_create( - self, - *, - target_field_name: str, - target_field_description: str, - remote_field_traversal_path: typing.Sequence[typing.Optional[typing.Any]], - remote_method: str, - remote_url_path: str, - common_model_name: str, - exclude_remote_field_metadata: typing.Optional[bool] = None, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create new Field Mappings that will be available after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - target_field_name : str - The name of the target field you want this remote field to map to. - - target_field_description : str - The description of the target field you want this remote field to map to. - - remote_field_traversal_path : typing.Sequence[typing.Optional[typing.Any]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : str - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : str - The path of the remote endpoint where the remote field is coming from. - - common_model_name : str - The name of the Common Model that the remote field corresponds to in a given category. - - exclude_remote_field_metadata : typing.Optional[bool] - If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/field-mappings", - method="POST", - params={ - "exclude_remote_field_metadata": exclude_remote_field_metadata, - }, - json={ - "target_field_name": target_field_name, - "target_field_description": target_field_description, - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "common_model_name": common_model_name, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_destroy( - self, field_mapping_id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Deletes Field Mappings for a Linked Account. All data related to this Field Mapping will be deleted and these changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="DELETE", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def field_mappings_partial_update( - self, - field_mapping_id: str, - *, - remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, - remote_method: typing.Optional[str] = OMIT, - remote_url_path: typing.Optional[str] = OMIT, - jmes_path: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: - """ - Create or update existing Field Mappings for a Linked Account. Changes will be reflected after the next scheduled sync. This will cause the next sync for this Linked Account to sync **ALL** data from start. - - Parameters - ---------- - field_mapping_id : str - - remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] - The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. - - remote_method : typing.Optional[str] - The method of the remote endpoint where the remote field is coming from. - - remote_url_path : typing.Optional[str] - The path of the remote endpoint where the remote field is coming from. - - jmes_path : typing.Optional[str] - JMES path to specify json query expression to be used on field mapping. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[FieldMappingInstanceResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", - method="PATCH", - json={ - "remote_field_traversal_path": remote_field_traversal_path, - "remote_method": remote_method, - "remote_url_path": remote_url_path, - "jmes_path": jmes_path, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - FieldMappingInstanceResponse, - construct_type( - type_=FieldMappingInstanceResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def remote_fields_retrieve( - self, - *, - common_models: typing.Optional[str] = None, - include_example_values: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[RemoteFieldApiResponse]: - """ - Get all remote fields for a Linked Account. Remote fields are third-party fields that are accessible after initial sync if remote_data is enabled. You can use remote fields to override existing Merge fields or map a new Merge field. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/overview/). - - Parameters - ---------- - common_models : typing.Optional[str] - A comma seperated list of Common Model names. If included, will only return Remote Fields for those Common Models. - - include_example_values : typing.Optional[str] - If true, will include example values, where available, for remote fields in the 3rd party platform. These examples come from active data from your customers. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/remote-fields", - method="GET", - params={ - "common_models": common_models, - "include_example_values": include_example_values, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteFieldApiResponse, - construct_type( - type_=RemoteFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def target_fields_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[ExternalTargetFieldApiResponse]: - """ - Get all organization-wide Target Fields, this will not include any Linked Account specific Target Fields. Organization-wide Target Fields are additional fields appended to the Merge Common Model for all Linked Accounts in a category. [Learn more](https://docs.merge.dev/supplemental-data/field-mappings/target-fields/). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[ExternalTargetFieldApiResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/target-fields", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - ExternalTargetFieldApiResponse, - construct_type( - type_=ExternalTargetFieldApiResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/force_resync/__init__.py b/src/merge/resources/knowledgebase/resources/force_resync/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/force_resync/client.py b/src/merge/resources/knowledgebase/resources/force_resync/client.py deleted file mode 100644 index af416400..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/client.py +++ /dev/null @@ -1,106 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.sync_status import SyncStatus -from .raw_client import AsyncRawForceResyncClient, RawForceResyncClient - - -class ForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawForceResyncClient - """ - return self._raw_client - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.force_resync.sync_status_resync_create() - """ - _response = self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data - - -class AsyncForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawForceResyncClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawForceResyncClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawForceResyncClient - """ - return self._raw_client - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> typing.List[SyncStatus]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[SyncStatus] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.force_resync.sync_status_resync_create() - - - asyncio.run(main()) - """ - _response = await self._raw_client.sync_status_resync_create(request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py b/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py deleted file mode 100644 index afda654c..00000000 --- a/src/merge/resources/knowledgebase/resources/force_resync/raw_client.py +++ /dev/null @@ -1,93 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.sync_status import SyncStatus - - -class RawForceResyncClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[SyncStatus]] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawForceResyncClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def sync_status_resync_create( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[SyncStatus]]: - """ - Force re-sync of all models. This endpoint is available for monthly, quarterly, and highest sync frequency customers on the Professional or Enterprise plans. Doing so will consume a sync credit for the relevant linked account. Force re-syncs can also be triggered manually in the Merge Dashboard and is available for all customers. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[SyncStatus]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status/resync", - method="POST", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[SyncStatus], - construct_type( - type_=typing.List[SyncStatus], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/generate_key/__init__.py b/src/merge/resources/knowledgebase/resources/generate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/generate_key/client.py b/src/merge/resources/knowledgebase/resources/generate_key/client.py deleted file mode 100644 index 4a21b90c..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawGenerateKeyClient, RawGenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class GenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.generate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py b/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py deleted file mode 100644 index a528f2c7..00000000 --- a/src/merge/resources/knowledgebase/resources/generate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawGenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Create a remote key. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/generate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/groups/__init__.py b/src/merge/resources/knowledgebase/resources/groups/__init__.py deleted file mode 100644 index d4647a1c..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import GroupsListRequestExpand, GroupsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"GroupsListRequestExpand": ".types", "GroupsRetrieveRequestExpand": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["GroupsListRequestExpand", "GroupsRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/groups/client.py b/src/merge/resources/knowledgebase/resources/groups/client.py deleted file mode 100644 index b2e89602..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/client.py +++ /dev/null @@ -1,405 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .raw_client import AsyncRawGroupsClient, RawGroupsClient -from .types.groups_list_request_expand import GroupsListRequestExpand -from .types.groups_retrieve_request_expand import GroupsRetrieveRequestExpand - - -class GroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawGroupsClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.groups.retrieve( - id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawGroupsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawGroupsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawGroupsClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedGroupList: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedGroupList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.groups import ( - GroupsListRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.groups.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=GroupsListRequestExpand.PARENT_GROUP, - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - expand=expand, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> Group: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Group - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.groups import ( - GroupsRetrieveRequestExpand, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.groups.retrieve( - id="id", - expand=GroupsRetrieveRequestExpand.PARENT_GROUP, - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - expand=expand, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/groups/raw_client.py b/src/merge/resources/knowledgebase/resources/groups/raw_client.py deleted file mode 100644 index 231ff57c..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/raw_client.py +++ /dev/null @@ -1,333 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.group import Group -from ...types.paginated_group_list import PaginatedGroupList -from .types.groups_list_request_expand import GroupsListRequestExpand -from .types.groups_retrieve_request_expand import GroupsRetrieveRequestExpand - - -class RawGroupsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedGroupList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Group] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawGroupsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - expand: typing.Optional[GroupsListRequestExpand] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedGroupList]: - """ - Returns a list of `Group` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - expand : typing.Optional[GroupsListRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedGroupList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/groups", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "expand": expand, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedGroupList, - construct_type( - type_=PaginatedGroupList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - expand: typing.Optional[GroupsRetrieveRequestExpand] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[Group]: - """ - Returns a `Group` object with the given `id`. - - Parameters - ---------- - id : str - - expand : typing.Optional[GroupsRetrieveRequestExpand] - Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Group] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/groups/{jsonable_encoder(id)}", - method="GET", - params={ - "expand": expand, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Group, - construct_type( - type_=Group, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/groups/types/__init__.py b/src/merge/resources/knowledgebase/resources/groups/types/__init__.py deleted file mode 100644 index 9e82f18a..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .groups_list_request_expand import GroupsListRequestExpand - from .groups_retrieve_request_expand import GroupsRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = { - "GroupsListRequestExpand": ".groups_list_request_expand", - "GroupsRetrieveRequestExpand": ".groups_retrieve_request_expand", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["GroupsListRequestExpand", "GroupsRetrieveRequestExpand"] diff --git a/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py b/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py deleted file mode 100644 index 24df30ac..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/groups_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GroupsListRequestExpand(str, enum.Enum): - PARENT_GROUP = "parent_group" - USERS = "users" - USERS_PARENT_GROUP = "users,parent_group" - - def visit( - self, - parent_group: typing.Callable[[], T_Result], - users: typing.Callable[[], T_Result], - users_parent_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GroupsListRequestExpand.PARENT_GROUP: - return parent_group() - if self is GroupsListRequestExpand.USERS: - return users() - if self is GroupsListRequestExpand.USERS_PARENT_GROUP: - return users_parent_group() diff --git a/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py b/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py deleted file mode 100644 index 02f76ff0..00000000 --- a/src/merge/resources/knowledgebase/resources/groups/types/groups_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class GroupsRetrieveRequestExpand(str, enum.Enum): - PARENT_GROUP = "parent_group" - USERS = "users" - USERS_PARENT_GROUP = "users,parent_group" - - def visit( - self, - parent_group: typing.Callable[[], T_Result], - users: typing.Callable[[], T_Result], - users_parent_group: typing.Callable[[], T_Result], - ) -> T_Result: - if self is GroupsRetrieveRequestExpand.PARENT_GROUP: - return parent_group() - if self is GroupsRetrieveRequestExpand.USERS: - return users() - if self is GroupsRetrieveRequestExpand.USERS_PARENT_GROUP: - return users_parent_group() diff --git a/src/merge/resources/knowledgebase/resources/issues/__init__.py b/src/merge/resources/knowledgebase/resources/issues/__init__.py deleted file mode 100644 index 3ca1094b..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/knowledgebase/resources/issues/client.py b/src/merge/resources/knowledgebase/resources/issues/client.py deleted file mode 100644 index b74d6cbc..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/client.py +++ /dev/null @@ -1,382 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .raw_client import AsyncRawIssuesClient, RawIssuesClient -from .types.issues_list_request_status import IssuesListRequestStatus - - -class IssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawIssuesClient - """ - return self._raw_client - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import datetime - - from merge import Merge - from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - """ - _response = self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.issues.retrieve( - id="id", - ) - """ - _response = self._raw_client.retrieve(id, request_options=request_options) - return _response.data - - -class AsyncIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawIssuesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawIssuesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawIssuesClient - """ - return self._raw_client - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedIssueList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.issues import ( - IssuesListRequestStatus, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.issues.list( - account_token="account_token", - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_date="end_date", - end_user_organization_name="end_user_organization_name", - first_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - first_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - include_muted="include_muted", - integration_name="integration_name", - last_incident_time_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - last_incident_time_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - linked_account_id="linked_account_id", - page_size=1, - start_date="start_date", - status=IssuesListRequestStatus.ONGOING, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - account_token=account_token, - cursor=cursor, - end_date=end_date, - end_user_organization_name=end_user_organization_name, - first_incident_time_after=first_incident_time_after, - first_incident_time_before=first_incident_time_before, - include_muted=include_muted, - integration_name=integration_name, - last_incident_time_after=last_incident_time_after, - last_incident_time_before=last_incident_time_before, - linked_account_id=linked_account_id, - page_size=page_size, - start_date=start_date, - status=status, - request_options=request_options, - ) - return _response.data - - async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - Issue - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.issues.retrieve( - id="id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve(id, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/issues/raw_client.py b/src/merge/resources/knowledgebase/resources/issues/raw_client.py deleted file mode 100644 index 14652d5d..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/raw_client.py +++ /dev/null @@ -1,336 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList -from .types.issues_list_request_status import IssuesListRequestStatus - - -class RawIssuesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedIssueList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[Issue] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawIssuesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - account_token: typing.Optional[str] = None, - cursor: typing.Optional[str] = None, - end_date: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - first_incident_time_after: typing.Optional[dt.datetime] = None, - first_incident_time_before: typing.Optional[dt.datetime] = None, - include_muted: typing.Optional[str] = None, - integration_name: typing.Optional[str] = None, - last_incident_time_after: typing.Optional[dt.datetime] = None, - last_incident_time_before: typing.Optional[dt.datetime] = None, - linked_account_id: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - start_date: typing.Optional[str] = None, - status: typing.Optional[IssuesListRequestStatus] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: - """ - Gets all issues for Organization. - - Parameters - ---------- - account_token : typing.Optional[str] - - cursor : typing.Optional[str] - The pagination cursor value. - - end_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred before this time - - end_user_organization_name : typing.Optional[str] - - first_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was after this datetime. - - first_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose first incident time was before this datetime. - - include_muted : typing.Optional[str] - If true, will include muted issues - - integration_name : typing.Optional[str] - - last_incident_time_after : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was after this datetime. - - last_incident_time_before : typing.Optional[dt.datetime] - If provided, will only return issues whose last incident time was before this datetime. - - linked_account_id : typing.Optional[str] - If provided, will only include issues pertaining to the linked account passed in. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - start_date : typing.Optional[str] - If included, will only include issues whose most recent action occurred after this time - - status : typing.Optional[IssuesListRequestStatus] - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedIssueList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/issues", - method="GET", - params={ - "account_token": account_token, - "cursor": cursor, - "end_date": end_date, - "end_user_organization_name": end_user_organization_name, - "first_incident_time_after": serialize_datetime(first_incident_time_after) - if first_incident_time_after is not None - else None, - "first_incident_time_before": serialize_datetime(first_incident_time_before) - if first_incident_time_before is not None - else None, - "include_muted": include_muted, - "integration_name": integration_name, - "last_incident_time_after": serialize_datetime(last_incident_time_after) - if last_incident_time_after is not None - else None, - "last_incident_time_before": serialize_datetime(last_incident_time_before) - if last_incident_time_before is not None - else None, - "linked_account_id": linked_account_id, - "page_size": page_size, - "start_date": start_date, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedIssueList, - construct_type( - type_=PaginatedIssueList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, id: str, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[Issue]: - """ - Get a specific issue. - - Parameters - ---------- - id : str - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[Issue] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/issues/{jsonable_encoder(id)}", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - Issue, - construct_type( - type_=Issue, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/issues/types/__init__.py b/src/merge/resources/knowledgebase/resources/issues/types/__init__.py deleted file mode 100644 index 88fbf977..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/types/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .issues_list_request_status import IssuesListRequestStatus -_dynamic_imports: typing.Dict[str, str] = {"IssuesListRequestStatus": ".issues_list_request_status"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["IssuesListRequestStatus"] diff --git a/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py b/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py deleted file mode 100644 index 2bd3521e..00000000 --- a/src/merge/resources/knowledgebase/resources/issues/types/issues_list_request_status.py +++ /dev/null @@ -1,17 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssuesListRequestStatus(str, enum.Enum): - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssuesListRequestStatus.ONGOING: - return ongoing() - if self is IssuesListRequestStatus.RESOLVED: - return resolved() diff --git a/src/merge/resources/knowledgebase/resources/link_token/__init__.py b/src/merge/resources/knowledgebase/resources/link_token/__init__.py deleted file mode 100644 index be8c3839..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/knowledgebase/resources/link_token/client.py b/src/merge/resources/knowledgebase/resources/link_token/client.py deleted file mode 100644 index 3eb69c7c..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/client.py +++ /dev/null @@ -1,290 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class LinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkTokenClient - """ - return self._raw_client - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import CategoriesEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - """ - _response = self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkTokenClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkTokenClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkTokenClient - """ - return self._raw_client - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> LinkToken: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - LinkToken - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import CategoriesEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.link_token.create( - end_user_email_address="example@gmail.com", - end_user_organization_name="Test Organization", - end_user_origin_id="12345", - categories=[CategoriesEnum.HRIS, CategoriesEnum.ATS], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - categories=categories, - integration=integration, - link_expiry_mins=link_expiry_mins, - should_create_magic_link_url=should_create_magic_link_url, - hide_admin_magic_link=hide_admin_magic_link, - common_models=common_models, - category_common_model_scopes=category_common_model_scopes, - language=language, - are_syncs_disabled=are_syncs_disabled, - integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/link_token/raw_client.py b/src/merge/resources/knowledgebase/resources/link_token/raw_client.py deleted file mode 100644 index fad77f74..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/raw_client.py +++ /dev/null @@ -1,273 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.categories_enum import CategoriesEnum -from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) -from .types.end_user_details_request_language import EndUserDetailsRequestLanguage - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawLinkTokenClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[LinkToken] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkTokenClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, - *, - end_user_email_address: str, - end_user_organization_name: str, - end_user_origin_id: str, - categories: typing.Sequence[CategoriesEnum], - integration: typing.Optional[str] = OMIT, - link_expiry_mins: typing.Optional[int] = OMIT, - should_create_magic_link_url: typing.Optional[bool] = OMIT, - hide_admin_magic_link: typing.Optional[bool] = OMIT, - common_models: typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] = OMIT, - category_common_model_scopes: typing.Optional[ - typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]] - ] = OMIT, - language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, - are_syncs_disabled: typing.Optional[bool] = OMIT, - integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[LinkToken]: - """ - Creates a link token to be used when linking a new end user. - - Parameters - ---------- - end_user_email_address : str - Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. - - end_user_organization_name : str - Your end user's organization. - - end_user_origin_id : str - This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. - - categories : typing.Sequence[CategoriesEnum] - The integration categories to show in Merge Link. - - integration : typing.Optional[str] - The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://docs.merge.dev/guides/merge-link/single-integration/. - - link_expiry_mins : typing.Optional[int] - An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. - - should_create_magic_link_url : typing.Optional[bool] - Whether to generate a Magic Link URL. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - hide_admin_magic_link : typing.Optional[bool] - Whether to generate a Magic Link URL on the Admin Needed screen during the linking flow. Defaults to false. For more information on Magic Link, see https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. - - common_models : typing.Optional[typing.Sequence[CommonModelScopesBodyRequest]] - An array of objects to specify the models and fields that will be disabled for a given Linked Account. Each object uses model_id, enabled_actions, and disabled_fields to specify the model, method, and fields that are scoped for a given Linked Account. - - category_common_model_scopes : typing.Optional[typing.Dict[str, typing.Optional[typing.Sequence[IndividualCommonModelScopeDeserializerRequest]]]] - When creating a Link Token, you can set permissions for Common Models that will apply to the account that is going to be linked. Any model or field not specified in link token payload will default to existing settings. - - language : typing.Optional[EndUserDetailsRequestLanguage] - The following subset of IETF language tags can be used to configure localization. - - * `en` - en - * `de` - de - - are_syncs_disabled : typing.Optional[bool] - The boolean that indicates whether initial, periodic, and force syncs will be disabled. - - integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] - A JSON object containing integration-specific configuration options. - - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[LinkToken] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/link-token", - method="POST", - json={ - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "categories": categories, - "integration": integration, - "link_expiry_mins": link_expiry_mins, - "should_create_magic_link_url": should_create_magic_link_url, - "hide_admin_magic_link": hide_admin_magic_link, - "common_models": common_models, - "category_common_model_scopes": category_common_model_scopes, - "language": language, - "are_syncs_disabled": are_syncs_disabled, - "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - LinkToken, - construct_type( - type_=LinkToken, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py b/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py deleted file mode 100644 index 55cc1d4e..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/__init__.py +++ /dev/null @@ -1,38 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) - from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py b/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py deleted file mode 100644 index 65c4b44a..00000000 --- a/src/merge/resources/knowledgebase/resources/link_token/types/end_user_details_request_language.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.language_enum import LanguageEnum - -EndUserDetailsRequestLanguage = typing.Union[LanguageEnum, str] diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py b/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py deleted file mode 100644 index 0b9e42b4..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/__init__.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .types import LinkedAccountsListRequestCategory -_dynamic_imports: typing.Dict[str, str] = {"LinkedAccountsListRequestCategory": ".types"} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = ["LinkedAccountsListRequestCategory"] diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/client.py b/src/merge/resources/knowledgebase/resources/linked_accounts/client.py deleted file mode 100644 index 58aff4bc..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/client.py +++ /dev/null @@ -1,295 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class LinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawLinkedAccountsClient - """ - return self._raw_client - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - """ - _response = self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data - - -class AsyncLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawLinkedAccountsClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawLinkedAccountsClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawLinkedAccountsClient - """ - return self._raw_client - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedAccountDetailsAndActionsList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase.resources.linked_accounts import ( - LinkedAccountsListRequestCategory, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.linked_accounts.list( - category=LinkedAccountsListRequestCategory.ACCOUNTING, - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - end_user_email_address="end_user_email_address", - end_user_organization_name="end_user_organization_name", - end_user_origin_id="end_user_origin_id", - end_user_origin_ids="end_user_origin_ids", - id="id", - ids="ids", - include_duplicates=True, - integration_name="integration_name", - is_test_account="is_test_account", - page_size=1, - status="status", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - category=category, - cursor=cursor, - end_user_email_address=end_user_email_address, - end_user_organization_name=end_user_organization_name, - end_user_origin_id=end_user_origin_id, - end_user_origin_ids=end_user_origin_ids, - id=id, - ids=ids, - include_duplicates=include_duplicates, - integration_name=integration_name, - is_test_account=is_test_account, - page_size=page_size, - status=status, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py b/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py deleted file mode 100644 index 8f51faac..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/raw_client.py +++ /dev/null @@ -1,248 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList -from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory - - -class RawLinkedAccountsClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawLinkedAccountsClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - category: typing.Optional[LinkedAccountsListRequestCategory] = None, - cursor: typing.Optional[str] = None, - end_user_email_address: typing.Optional[str] = None, - end_user_organization_name: typing.Optional[str] = None, - end_user_origin_id: typing.Optional[str] = None, - end_user_origin_ids: typing.Optional[str] = None, - id: typing.Optional[str] = None, - ids: typing.Optional[str] = None, - include_duplicates: typing.Optional[bool] = None, - integration_name: typing.Optional[str] = None, - is_test_account: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - status: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: - """ - List linked accounts for your organization. - - Parameters - ---------- - category : typing.Optional[LinkedAccountsListRequestCategory] - Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `knowledgebase`, `mktg`, `ticketing` - - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - - cursor : typing.Optional[str] - The pagination cursor value. - - end_user_email_address : typing.Optional[str] - If provided, will only return linked accounts associated with the given email address. - - end_user_organization_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given organization name. - - end_user_origin_id : typing.Optional[str] - If provided, will only return linked accounts associated with the given origin ID. - - end_user_origin_ids : typing.Optional[str] - Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once. - - id : typing.Optional[str] - - ids : typing.Optional[str] - Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once. - - include_duplicates : typing.Optional[bool] - If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account. - - integration_name : typing.Optional[str] - If provided, will only return linked accounts associated with the given integration name. - - is_test_account : typing.Optional[str] - If included, will only include test linked accounts. If not included, will only include non-test linked accounts. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - status : typing.Optional[str] - Filter by status. Options: `COMPLETE`, `IDLE`, `INCOMPLETE`, `RELINK_NEEDED` - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-accounts", - method="GET", - params={ - "category": category, - "cursor": cursor, - "end_user_email_address": end_user_email_address, - "end_user_organization_name": end_user_organization_name, - "end_user_origin_id": end_user_origin_id, - "end_user_origin_ids": end_user_origin_ids, - "id": id, - "ids": ids, - "include_duplicates": include_duplicates, - "integration_name": integration_name, - "is_test_account": is_test_account, - "page_size": page_size, - "status": status, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedAccountDetailsAndActionsList, - construct_type( - type_=PaginatedAccountDetailsAndActionsList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py b/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py deleted file mode 100644 index 681fe8ce..00000000 --- a/src/merge/resources/knowledgebase/resources/linked_accounts/types/linked_accounts_list_request_category.py +++ /dev/null @@ -1,45 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LinkedAccountsListRequestCategory(str, enum.Enum): - ACCOUNTING = "accounting" - ATS = "ats" - CRM = "crm" - FILESTORAGE = "filestorage" - HRIS = "hris" - KNOWLEDGEBASE = "knowledgebase" - MKTG = "mktg" - TICKETING = "ticketing" - - def visit( - self, - accounting: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - hris: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LinkedAccountsListRequestCategory.ACCOUNTING: - return accounting() - if self is LinkedAccountsListRequestCategory.ATS: - return ats() - if self is LinkedAccountsListRequestCategory.CRM: - return crm() - if self is LinkedAccountsListRequestCategory.FILESTORAGE: - return filestorage() - if self is LinkedAccountsListRequestCategory.HRIS: - return hris() - if self is LinkedAccountsListRequestCategory.KNOWLEDGEBASE: - return knowledgebase() - if self is LinkedAccountsListRequestCategory.MKTG: - return mktg() - if self is LinkedAccountsListRequestCategory.TICKETING: - return ticketing() diff --git a/src/merge/resources/knowledgebase/resources/passthrough/__init__.py b/src/merge/resources/knowledgebase/resources/passthrough/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/passthrough/client.py b/src/merge/resources/knowledgebase/resources/passthrough/client.py deleted file mode 100644 index 05d560f1..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/client.py +++ /dev/null @@ -1,126 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse -from .raw_client import AsyncRawPassthroughClient, RawPassthroughClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class PassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawPassthroughClient - """ - return self._raw_client - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - """ - _response = self._raw_client.create(request=request, request_options=request_options) - return _response.data - - -class AsyncPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawPassthroughClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawPassthroughClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawPassthroughClient - """ - return self._raw_client - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> RemoteResponse: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteResponse - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import DataPassthroughRequest, MethodEnum - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.passthrough.create( - request=DataPassthroughRequest( - method=MethodEnum.GET, - path="/scooters", - ), - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(request=request, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py b/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py deleted file mode 100644 index 84c8bfdf..00000000 --- a/src/merge/resources/knowledgebase/resources/passthrough/raw_client.py +++ /dev/null @@ -1,111 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.data_passthrough_request import DataPassthroughRequest -from ...types.remote_response import RemoteResponse - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawPassthroughClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteResponse] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawPassthroughClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, request: DataPassthroughRequest, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteResponse]: - """ - Pull data from an endpoint not currently supported by Merge. - - Parameters - ---------- - request : DataPassthroughRequest - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteResponse] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/passthrough", - method="POST", - json=request, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteResponse, - construct_type( - type_=RemoteResponse, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py b/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/client.py b/src/merge/resources/knowledgebase/resources/regenerate_key/client.py deleted file mode 100644 index a9417d74..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/client.py +++ /dev/null @@ -1,115 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.remote_key import RemoteKey -from .raw_client import AsyncRawRegenerateKeyClient, RawRegenerateKeyClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawRegenerateKeyClient - """ - return self._raw_client - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", - ) - """ - _response = self._raw_client.create(name=name, request_options=request_options) - return _response.data - - -class AsyncRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawRegenerateKeyClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawRegenerateKeyClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawRegenerateKeyClient - """ - return self._raw_client - - async def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> RemoteKey: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - RemoteKey - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.regenerate_key.create( - name="Remote Deployment Key 1", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create(name=name, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py b/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py deleted file mode 100644 index 40114afa..00000000 --- a/src/merge/resources/knowledgebase/resources/regenerate_key/raw_client.py +++ /dev/null @@ -1,114 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.remote_key import RemoteKey - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawRegenerateKeyClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def create(self, *, name: str, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[RemoteKey] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawRegenerateKeyClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def create( - self, *, name: str, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[RemoteKey]: - """ - Exchange remote keys. - - Parameters - ---------- - name : str - The name of the remote key - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[RemoteKey] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/regenerate-key", - method="POST", - json={ - "name": name, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - RemoteKey, - construct_type( - type_=RemoteKey, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/scopes/__init__.py b/src/merge/resources/knowledgebase/resources/scopes/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/scopes/client.py b/src/merge/resources/knowledgebase/resources/scopes/client.py deleted file mode 100644 index 9cc148ee..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/client.py +++ /dev/null @@ -1,320 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest -from .raw_client import AsyncRawScopesClient, RawScopesClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class ScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawScopesClient - """ - return self._raw_client - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.default_scopes_retrieve() - """ - _response = self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.linked_account_scopes_retrieve() - """ - _response = self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - from merge import Merge - from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - """ - _response = self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data - - -class AsyncScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawScopesClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawScopesClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawScopesClient - """ - return self._raw_client - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.default_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.default_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> CommonModelScopeApi: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.linked_account_scopes_retrieve() - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_retrieve(request_options=request_options) - return _response.data - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> CommonModelScopeApi: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - CommonModelScopeApi - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - from merge.resources.knowledgebase import ( - FieldPermissionDeserializerRequest, - IndividualCommonModelScopeDeserializerRequest, - ModelPermissionDeserializerRequest, - ) - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.scopes.linked_account_scopes_create( - common_models=[ - IndividualCommonModelScopeDeserializerRequest( - model_name="Employee", - model_permissions={ - "READ": ModelPermissionDeserializerRequest( - is_enabled=True, - ), - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ), - }, - field_permissions=FieldPermissionDeserializerRequest( - enabled_fields=["avatar", "home_location"], - disabled_fields=["work_location"], - ), - ), - IndividualCommonModelScopeDeserializerRequest( - model_name="Benefit", - model_permissions={ - "WRITE": ModelPermissionDeserializerRequest( - is_enabled=False, - ) - }, - ), - ], - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.linked_account_scopes_create( - common_models=common_models, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/scopes/raw_client.py b/src/merge/resources/knowledgebase/resources/scopes/raw_client.py deleted file mode 100644 index c9ae8287..00000000 --- a/src/merge/resources/knowledgebase/resources/scopes/raw_client.py +++ /dev/null @@ -1,267 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.common_model_scope_api import CommonModelScopeApi -from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawScopesClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[CommonModelScopeApi] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawScopesClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def default_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get the default permissions for Merge Common Models and fields across all Linked Accounts of a given category. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/default-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_retrieve( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Get all available permissions for Merge Common Models and fields for a single Linked Account. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes). - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def linked_account_scopes_create( - self, - *, - common_models: typing.Sequence[IndividualCommonModelScopeDeserializerRequest], - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[CommonModelScopeApi]: - """ - Update permissions for any Common Model or field for a single Linked Account. Any Scopes not set in this POST request will inherit the default Scopes. [Learn more](https://help.merge.dev/en/articles/5950052-common-model-and-field-scopes) - - Parameters - ---------- - common_models : typing.Sequence[IndividualCommonModelScopeDeserializerRequest] - The common models you want to update the scopes for - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[CommonModelScopeApi] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/linked-account-scopes", - method="POST", - json={ - "common_models": common_models, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - CommonModelScopeApi, - construct_type( - type_=CommonModelScopeApi, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/sync_status/__init__.py b/src/merge/resources/knowledgebase/resources/sync_status/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/sync_status/client.py b/src/merge/resources/knowledgebase/resources/sync_status/client.py deleted file mode 100644 index 5dc61338..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/client.py +++ /dev/null @@ -1,132 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList -from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient - - -class SyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawSyncStatusClient - """ - return self._raw_client - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data - - -class AsyncSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawSyncStatusClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawSyncStatusClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawSyncStatusClient - """ - return self._raw_client - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedSyncStatusList - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.sync_status.list( - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - page_size=1, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py b/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py deleted file mode 100644 index 9a9760cd..00000000 --- a/src/merge/resources/knowledgebase/resources/sync_status/raw_client.py +++ /dev/null @@ -1,121 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_sync_status_list import PaginatedSyncStatusList - - -class RawSyncStatusClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedSyncStatusList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawSyncStatusClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - cursor: typing.Optional[str] = None, - page_size: typing.Optional[int] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: - """ - Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). - - Parameters - ---------- - cursor : typing.Optional[str] - The pagination cursor value. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedSyncStatusList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/sync-status", - method="GET", - params={ - "cursor": cursor, - "page_size": page_size, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedSyncStatusList, - construct_type( - type_=PaginatedSyncStatusList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/users/__init__.py b/src/merge/resources/knowledgebase/resources/users/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/users/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/users/client.py b/src/merge/resources/knowledgebase/resources/users/client.py deleted file mode 100644 index 88089fd5..00000000 --- a/src/merge/resources/knowledgebase/resources/users/client.py +++ /dev/null @@ -1,367 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User -from .raw_client import AsyncRawUsersClient, RawUsersClient - - -class UsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawUsersClient - """ - return self._raw_client - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import datetime - - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - """ - _response = self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - """ - _response = self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data - - -class AsyncUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawUsersClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawUsersClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawUsersClient - """ - return self._raw_client - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - PaginatedUserList - - - Examples - -------- - import asyncio - import datetime - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.users.list( - created_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - created_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - include_deleted_data=True, - include_remote_data=True, - include_shell_data=True, - modified_after=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - modified_before=datetime.datetime.fromisoformat( - "2024-01-15 09:30:00+00:00", - ), - page_size=1, - remote_id="remote_id", - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.list( - created_after=created_after, - created_before=created_before, - cursor=cursor, - include_deleted_data=include_deleted_data, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - modified_after=modified_after, - modified_before=modified_before, - page_size=page_size, - remote_id=remote_id, - request_options=request_options, - ) - return _response.data - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> User: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - User - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.users.retrieve( - id="id", - include_remote_data=True, - include_shell_data=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.retrieve( - id, - include_remote_data=include_remote_data, - include_shell_data=include_shell_data, - request_options=request_options, - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/users/raw_client.py b/src/merge/resources/knowledgebase/resources/users/raw_client.py deleted file mode 100644 index 0cf2bc46..00000000 --- a/src/merge/resources/knowledgebase/resources/users/raw_client.py +++ /dev/null @@ -1,311 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.datetime_utils import serialize_datetime -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.jsonable_encoder import jsonable_encoder -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.paginated_user_list import PaginatedUserList -from ...types.user import User - - -class RawUsersClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[PaginatedUserList] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[User] - - """ - _response = self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawUsersClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, - *, - created_after: typing.Optional[dt.datetime] = None, - created_before: typing.Optional[dt.datetime] = None, - cursor: typing.Optional[str] = None, - include_deleted_data: typing.Optional[bool] = None, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - modified_after: typing.Optional[dt.datetime] = None, - modified_before: typing.Optional[dt.datetime] = None, - page_size: typing.Optional[int] = None, - remote_id: typing.Optional[str] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: - """ - Returns a list of `User` objects. - - Parameters - ---------- - created_after : typing.Optional[dt.datetime] - If provided, will only return objects created after this datetime. - - created_before : typing.Optional[dt.datetime] - If provided, will only return objects created before this datetime. - - cursor : typing.Optional[str] - The pagination cursor value. - - include_deleted_data : typing.Optional[bool] - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - modified_after : typing.Optional[dt.datetime] - If provided, only objects synced by Merge after this date time will be returned. - - modified_before : typing.Optional[dt.datetime] - If provided, only objects synced by Merge before this date time will be returned. - - page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. - - remote_id : typing.Optional[str] - The API provider's ID for the given object. - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[PaginatedUserList] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/users", - method="GET", - params={ - "created_after": serialize_datetime(created_after) if created_after is not None else None, - "created_before": serialize_datetime(created_before) if created_before is not None else None, - "cursor": cursor, - "include_deleted_data": include_deleted_data, - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - "modified_after": serialize_datetime(modified_after) if modified_after is not None else None, - "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, - "page_size": page_size, - "remote_id": remote_id, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - PaginatedUserList, - construct_type( - type_=PaginatedUserList, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def retrieve( - self, - id: str, - *, - include_remote_data: typing.Optional[bool] = None, - include_shell_data: typing.Optional[bool] = None, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[User]: - """ - Returns a `User` object with the given `id`. - - Parameters - ---------- - id : str - - include_remote_data : typing.Optional[bool] - Whether to include the original data Merge fetched from the third-party to produce these models. - - include_shell_data : typing.Optional[bool] - Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[User] - - """ - _response = await self._client_wrapper.httpx_client.request( - f"knowledgebase/v1/users/{jsonable_encoder(id)}", - method="GET", - params={ - "include_remote_data": include_remote_data, - "include_shell_data": include_shell_data, - }, - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - User, - construct_type( - type_=User, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py deleted file mode 100644 index 5cde0202..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py deleted file mode 100644 index f7626d94..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/client.py +++ /dev/null @@ -1,201 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.request_options import RequestOptions -from ...types.webhook_receiver import WebhookReceiver -from .raw_client import AsyncRawWebhookReceiversClient, RawWebhookReceiversClient - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class WebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._raw_client = RawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> RawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - RawWebhookReceiversClient - """ - return self._raw_client - - def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.webhook_receivers.list() - """ - _response = self._raw_client.list(request_options=request_options) - return _response.data - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - from merge import Merge - - client = Merge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, - ) - """ - _response = self._raw_client.create(event=event, is_active=is_active, key=key, request_options=request_options) - return _response.data - - -class AsyncWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._raw_client = AsyncRawWebhookReceiversClient(client_wrapper=client_wrapper) - - @property - def with_raw_response(self) -> AsyncRawWebhookReceiversClient: - """ - Retrieves a raw implementation of this client that returns raw responses. - - Returns - ------- - AsyncRawWebhookReceiversClient - """ - return self._raw_client - - async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.List[WebhookReceiver]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - typing.List[WebhookReceiver] - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.webhook_receivers.list() - - - asyncio.run(main()) - """ - _response = await self._raw_client.list(request_options=request_options) - return _response.data - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> WebhookReceiver: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - WebhookReceiver - - - Examples - -------- - import asyncio - - from merge import AsyncMerge - - client = AsyncMerge( - account_token="YOUR_ACCOUNT_TOKEN", - api_key="YOUR_API_KEY", - ) - - - async def main() -> None: - await client.knowledgebase.webhook_receivers.create( - event="event", - is_active=True, - ) - - - asyncio.run(main()) - """ - _response = await self._raw_client.create( - event=event, is_active=is_active, key=key, request_options=request_options - ) - return _response.data diff --git a/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py b/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py deleted file mode 100644 index cc0f8589..00000000 --- a/src/merge/resources/knowledgebase/resources/webhook_receivers/raw_client.py +++ /dev/null @@ -1,208 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing -from json.decoder import JSONDecodeError - -from .....core.api_error import ApiError -from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse -from .....core.request_options import RequestOptions -from .....core.unchecked_base_model import construct_type -from ...types.webhook_receiver import WebhookReceiver - -# this is used as the default value for optional parameters -OMIT = typing.cast(typing.Any, ...) - - -class RawWebhookReceiversClient: - def __init__(self, *, client_wrapper: SyncClientWrapper): - self._client_wrapper = client_wrapper - - def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> HttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[typing.List[WebhookReceiver]] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - HttpResponse[WebhookReceiver] - - """ - _response = self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return HttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - -class AsyncRawWebhookReceiversClient: - def __init__(self, *, client_wrapper: AsyncClientWrapper): - self._client_wrapper = client_wrapper - - async def list( - self, *, request_options: typing.Optional[RequestOptions] = None - ) -> AsyncHttpResponse[typing.List[WebhookReceiver]]: - """ - Returns a list of `WebhookReceiver` objects. - - Parameters - ---------- - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[typing.List[WebhookReceiver]] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="GET", - request_options=request_options, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - typing.List[WebhookReceiver], - construct_type( - type_=typing.List[WebhookReceiver], # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) - - async def create( - self, - *, - event: str, - is_active: bool, - key: typing.Optional[str] = OMIT, - request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[WebhookReceiver]: - """ - Creates a `WebhookReceiver` object with the given values. - - Parameters - ---------- - event : str - - is_active : bool - - key : typing.Optional[str] - - request_options : typing.Optional[RequestOptions] - Request-specific configuration. - - Returns - ------- - AsyncHttpResponse[WebhookReceiver] - - """ - _response = await self._client_wrapper.httpx_client.request( - "knowledgebase/v1/webhook-receivers", - method="POST", - json={ - "event": event, - "is_active": is_active, - "key": key, - }, - headers={ - "content-type": "application/json", - }, - request_options=request_options, - omit=OMIT, - ) - try: - if 200 <= _response.status_code < 300: - _data = typing.cast( - WebhookReceiver, - construct_type( - type_=WebhookReceiver, # type: ignore - object_=_response.json(), - ), - ) - return AsyncHttpResponse(response=_response, data=_data) - _response_json = _response.json() - except JSONDecodeError: - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) - raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/knowledgebase/types/__init__.py b/src/merge/resources/knowledgebase/types/__init__.py deleted file mode 100644 index fb238bfc..00000000 --- a/src/merge/resources/knowledgebase/types/__init__.py +++ /dev/null @@ -1,374 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -# isort: skip_file - -import typing -from importlib import import_module - -if typing.TYPE_CHECKING: - from .account_details import AccountDetails - from .account_details_and_actions import AccountDetailsAndActions - from .account_details_and_actions_category import AccountDetailsAndActionsCategory - from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration - from .account_details_and_actions_status import AccountDetailsAndActionsStatus - from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - from .account_details_category import AccountDetailsCategory - from .account_integration import AccountIntegration - from .account_token import AccountToken - from .advanced_metadata import AdvancedMetadata - from .article import Article - from .article_attachments_item import ArticleAttachmentsItem - from .article_author import ArticleAuthor - from .article_last_edited_by import ArticleLastEditedBy - from .article_parent_article import ArticleParentArticle - from .article_parent_container import ArticleParentContainer - from .article_permissions_item import ArticlePermissionsItem - from .article_root_container import ArticleRootContainer - from .article_status import ArticleStatus - from .article_type import ArticleType - from .article_type_enum import ArticleTypeEnum - from .article_visibility import ArticleVisibility - from .async_passthrough_reciept import AsyncPassthroughReciept - from .attachment import Attachment - from .audit_log_event import AuditLogEvent - from .audit_log_event_event_type import AuditLogEventEventType - from .audit_log_event_role import AuditLogEventRole - from .available_actions import AvailableActions - from .categories_enum import CategoriesEnum - from .category_enum import CategoryEnum - from .common_model_scope_api import CommonModelScopeApi - from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - from .container import Container - from .container_permissions_item import ContainerPermissionsItem - from .container_status import ContainerStatus - from .container_type import ContainerType - from .container_type_enum import ContainerTypeEnum - from .container_visibility import ContainerVisibility - from .data_passthrough_request import DataPassthroughRequest - from .data_passthrough_request_method import DataPassthroughRequestMethod - from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat - from .debug_mode_log import DebugModeLog - from .debug_model_log_summary import DebugModelLogSummary - from .enabled_actions_enum import EnabledActionsEnum - from .encoding_enum import EncodingEnum - from .error_validation_problem import ErrorValidationProblem - from .event_type_enum import EventTypeEnum - from .external_target_field_api import ExternalTargetFieldApi - from .external_target_field_api_response import ExternalTargetFieldApiResponse - from .field_mapping_api_instance import FieldMappingApiInstance - from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField - from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, - ) - from .field_mapping_api_instance_response import FieldMappingApiInstanceResponse - from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - from .field_mapping_instance_response import FieldMappingInstanceResponse - from .field_permission_deserializer import FieldPermissionDeserializer - from .field_permission_deserializer_request import FieldPermissionDeserializerRequest - from .group import Group - from .group_parent_group import GroupParentGroup - from .group_users_item import GroupUsersItem - from .individual_common_model_scope_deserializer import IndividualCommonModelScopeDeserializer - from .individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest - from .issue import Issue - from .issue_status import IssueStatus - from .issue_status_enum import IssueStatusEnum - from .language_enum import LanguageEnum - from .last_sync_result_enum import LastSyncResultEnum - from .link_token import LinkToken - from .method_enum import MethodEnum - from .model_operation import ModelOperation - from .model_permission_deserializer import ModelPermissionDeserializer - from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - from .multipart_form_field_request import MultipartFormFieldRequest - from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - from .paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList - from .paginated_article_list import PaginatedArticleList - from .paginated_attachment_list import PaginatedAttachmentList - from .paginated_audit_log_event_list import PaginatedAuditLogEventList - from .paginated_container_list import PaginatedContainerList - from .paginated_group_list import PaginatedGroupList - from .paginated_issue_list import PaginatedIssueList - from .paginated_sync_status_list import PaginatedSyncStatusList - from .paginated_user_list import PaginatedUserList - from .permission import Permission - from .permission_group import PermissionGroup - from .permission_type import PermissionType - from .permission_type_enum import PermissionTypeEnum - from .permission_user import PermissionUser - from .remote_data import RemoteData - from .remote_endpoint_info import RemoteEndpointInfo - from .remote_field_api import RemoteFieldApi - from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata - from .remote_field_api_coverage import RemoteFieldApiCoverage - from .remote_field_api_response import RemoteFieldApiResponse - from .remote_key import RemoteKey - from .remote_response import RemoteResponse - from .remote_response_response_type import RemoteResponseResponseType - from .request_format_enum import RequestFormatEnum - from .response_type_enum import ResponseTypeEnum - from .role_enum import RoleEnum - from .roles_enum import RolesEnum - from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum - from .status_3_c_6_enum import Status3C6Enum - from .status_fd_5_enum import StatusFd5Enum - from .sync_status import SyncStatus - from .sync_status_last_sync_result import SyncStatusLastSyncResult - from .sync_status_status import SyncStatusStatus - from .user import User - from .validation_problem_source import ValidationProblemSource - from .visibility_enum import VisibilityEnum - from .warning_validation_problem import WarningValidationProblem - from .webhook_receiver import WebhookReceiver -_dynamic_imports: typing.Dict[str, str] = { - "AccountDetails": ".account_details", - "AccountDetailsAndActions": ".account_details_and_actions", - "AccountDetailsAndActionsCategory": ".account_details_and_actions_category", - "AccountDetailsAndActionsIntegration": ".account_details_and_actions_integration", - "AccountDetailsAndActionsStatus": ".account_details_and_actions_status", - "AccountDetailsAndActionsStatusEnum": ".account_details_and_actions_status_enum", - "AccountDetailsCategory": ".account_details_category", - "AccountIntegration": ".account_integration", - "AccountToken": ".account_token", - "AdvancedMetadata": ".advanced_metadata", - "Article": ".article", - "ArticleAttachmentsItem": ".article_attachments_item", - "ArticleAuthor": ".article_author", - "ArticleLastEditedBy": ".article_last_edited_by", - "ArticleParentArticle": ".article_parent_article", - "ArticleParentContainer": ".article_parent_container", - "ArticlePermissionsItem": ".article_permissions_item", - "ArticleRootContainer": ".article_root_container", - "ArticleStatus": ".article_status", - "ArticleType": ".article_type", - "ArticleTypeEnum": ".article_type_enum", - "ArticleVisibility": ".article_visibility", - "AsyncPassthroughReciept": ".async_passthrough_reciept", - "Attachment": ".attachment", - "AuditLogEvent": ".audit_log_event", - "AuditLogEventEventType": ".audit_log_event_event_type", - "AuditLogEventRole": ".audit_log_event_role", - "AvailableActions": ".available_actions", - "CategoriesEnum": ".categories_enum", - "CategoryEnum": ".category_enum", - "CommonModelScopeApi": ".common_model_scope_api", - "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", - "Container": ".container", - "ContainerPermissionsItem": ".container_permissions_item", - "ContainerStatus": ".container_status", - "ContainerType": ".container_type", - "ContainerTypeEnum": ".container_type_enum", - "ContainerVisibility": ".container_visibility", - "DataPassthroughRequest": ".data_passthrough_request", - "DataPassthroughRequestMethod": ".data_passthrough_request_method", - "DataPassthroughRequestRequestFormat": ".data_passthrough_request_request_format", - "DebugModeLog": ".debug_mode_log", - "DebugModelLogSummary": ".debug_model_log_summary", - "EnabledActionsEnum": ".enabled_actions_enum", - "EncodingEnum": ".encoding_enum", - "ErrorValidationProblem": ".error_validation_problem", - "EventTypeEnum": ".event_type_enum", - "ExternalTargetFieldApi": ".external_target_field_api", - "ExternalTargetFieldApiResponse": ".external_target_field_api_response", - "FieldMappingApiInstance": ".field_mapping_api_instance", - "FieldMappingApiInstanceRemoteField": ".field_mapping_api_instance_remote_field", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo": ".field_mapping_api_instance_remote_field_remote_endpoint_info", - "FieldMappingApiInstanceResponse": ".field_mapping_api_instance_response", - "FieldMappingApiInstanceTargetField": ".field_mapping_api_instance_target_field", - "FieldMappingInstanceResponse": ".field_mapping_instance_response", - "FieldPermissionDeserializer": ".field_permission_deserializer", - "FieldPermissionDeserializerRequest": ".field_permission_deserializer_request", - "Group": ".group", - "GroupParentGroup": ".group_parent_group", - "GroupUsersItem": ".group_users_item", - "IndividualCommonModelScopeDeserializer": ".individual_common_model_scope_deserializer", - "IndividualCommonModelScopeDeserializerRequest": ".individual_common_model_scope_deserializer_request", - "Issue": ".issue", - "IssueStatus": ".issue_status", - "IssueStatusEnum": ".issue_status_enum", - "LanguageEnum": ".language_enum", - "LastSyncResultEnum": ".last_sync_result_enum", - "LinkToken": ".link_token", - "MethodEnum": ".method_enum", - "ModelOperation": ".model_operation", - "ModelPermissionDeserializer": ".model_permission_deserializer", - "ModelPermissionDeserializerRequest": ".model_permission_deserializer_request", - "MultipartFormFieldRequest": ".multipart_form_field_request", - "MultipartFormFieldRequestEncoding": ".multipart_form_field_request_encoding", - "PaginatedAccountDetailsAndActionsList": ".paginated_account_details_and_actions_list", - "PaginatedArticleList": ".paginated_article_list", - "PaginatedAttachmentList": ".paginated_attachment_list", - "PaginatedAuditLogEventList": ".paginated_audit_log_event_list", - "PaginatedContainerList": ".paginated_container_list", - "PaginatedGroupList": ".paginated_group_list", - "PaginatedIssueList": ".paginated_issue_list", - "PaginatedSyncStatusList": ".paginated_sync_status_list", - "PaginatedUserList": ".paginated_user_list", - "Permission": ".permission", - "PermissionGroup": ".permission_group", - "PermissionType": ".permission_type", - "PermissionTypeEnum": ".permission_type_enum", - "PermissionUser": ".permission_user", - "RemoteData": ".remote_data", - "RemoteEndpointInfo": ".remote_endpoint_info", - "RemoteFieldApi": ".remote_field_api", - "RemoteFieldApiAdvancedMetadata": ".remote_field_api_advanced_metadata", - "RemoteFieldApiCoverage": ".remote_field_api_coverage", - "RemoteFieldApiResponse": ".remote_field_api_response", - "RemoteKey": ".remote_key", - "RemoteResponse": ".remote_response", - "RemoteResponseResponseType": ".remote_response_response_type", - "RequestFormatEnum": ".request_format_enum", - "ResponseTypeEnum": ".response_type_enum", - "RoleEnum": ".role_enum", - "RolesEnum": ".roles_enum", - "SelectiveSyncConfigurationsUsageEnum": ".selective_sync_configurations_usage_enum", - "Status3C6Enum": ".status_3_c_6_enum", - "StatusFd5Enum": ".status_fd_5_enum", - "SyncStatus": ".sync_status", - "SyncStatusLastSyncResult": ".sync_status_last_sync_result", - "SyncStatusStatus": ".sync_status_status", - "User": ".user", - "ValidationProblemSource": ".validation_problem_source", - "VisibilityEnum": ".visibility_enum", - "WarningValidationProblem": ".warning_validation_problem", - "WebhookReceiver": ".webhook_receiver", -} - - -def __getattr__(attr_name: str) -> typing.Any: - module_name = _dynamic_imports.get(attr_name) - if module_name is None: - raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}") - try: - module = import_module(module_name, __package__) - result = getattr(module, attr_name) - return result - except ImportError as e: - raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e - except AttributeError as e: - raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e - - -def __dir__(): - lazy_attrs = list(_dynamic_imports.keys()) - return sorted(lazy_attrs) - - -__all__ = [ - "AccountDetails", - "AccountDetailsAndActions", - "AccountDetailsAndActionsCategory", - "AccountDetailsAndActionsIntegration", - "AccountDetailsAndActionsStatus", - "AccountDetailsAndActionsStatusEnum", - "AccountDetailsCategory", - "AccountIntegration", - "AccountToken", - "AdvancedMetadata", - "Article", - "ArticleAttachmentsItem", - "ArticleAuthor", - "ArticleLastEditedBy", - "ArticleParentArticle", - "ArticleParentContainer", - "ArticlePermissionsItem", - "ArticleRootContainer", - "ArticleStatus", - "ArticleType", - "ArticleTypeEnum", - "ArticleVisibility", - "AsyncPassthroughReciept", - "Attachment", - "AuditLogEvent", - "AuditLogEventEventType", - "AuditLogEventRole", - "AvailableActions", - "CategoriesEnum", - "CategoryEnum", - "CommonModelScopeApi", - "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", - "Container", - "ContainerPermissionsItem", - "ContainerStatus", - "ContainerType", - "ContainerTypeEnum", - "ContainerVisibility", - "DataPassthroughRequest", - "DataPassthroughRequestMethod", - "DataPassthroughRequestRequestFormat", - "DebugModeLog", - "DebugModelLogSummary", - "EnabledActionsEnum", - "EncodingEnum", - "ErrorValidationProblem", - "EventTypeEnum", - "ExternalTargetFieldApi", - "ExternalTargetFieldApiResponse", - "FieldMappingApiInstance", - "FieldMappingApiInstanceRemoteField", - "FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo", - "FieldMappingApiInstanceResponse", - "FieldMappingApiInstanceTargetField", - "FieldMappingInstanceResponse", - "FieldPermissionDeserializer", - "FieldPermissionDeserializerRequest", - "Group", - "GroupParentGroup", - "GroupUsersItem", - "IndividualCommonModelScopeDeserializer", - "IndividualCommonModelScopeDeserializerRequest", - "Issue", - "IssueStatus", - "IssueStatusEnum", - "LanguageEnum", - "LastSyncResultEnum", - "LinkToken", - "MethodEnum", - "ModelOperation", - "ModelPermissionDeserializer", - "ModelPermissionDeserializerRequest", - "MultipartFormFieldRequest", - "MultipartFormFieldRequestEncoding", - "PaginatedAccountDetailsAndActionsList", - "PaginatedArticleList", - "PaginatedAttachmentList", - "PaginatedAuditLogEventList", - "PaginatedContainerList", - "PaginatedGroupList", - "PaginatedIssueList", - "PaginatedSyncStatusList", - "PaginatedUserList", - "Permission", - "PermissionGroup", - "PermissionType", - "PermissionTypeEnum", - "PermissionUser", - "RemoteData", - "RemoteEndpointInfo", - "RemoteFieldApi", - "RemoteFieldApiAdvancedMetadata", - "RemoteFieldApiCoverage", - "RemoteFieldApiResponse", - "RemoteKey", - "RemoteResponse", - "RemoteResponseResponseType", - "RequestFormatEnum", - "ResponseTypeEnum", - "RoleEnum", - "RolesEnum", - "SelectiveSyncConfigurationsUsageEnum", - "Status3C6Enum", - "StatusFd5Enum", - "SyncStatus", - "SyncStatusLastSyncResult", - "SyncStatusStatus", - "User", - "ValidationProblemSource", - "VisibilityEnum", - "WarningValidationProblem", - "WebhookReceiver", -] diff --git a/src/merge/resources/knowledgebase/types/account_details.py b/src/merge/resources/knowledgebase/types/account_details.py deleted file mode 100644 index 98923cd8..00000000 --- a/src/merge/resources/knowledgebase/types/account_details.py +++ /dev/null @@ -1,40 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_category import AccountDetailsCategory - - -class AccountDetails(UncheckedBaseModel): - id: typing.Optional[str] = None - integration: typing.Optional[str] = None - integration_slug: typing.Optional[str] = None - category: typing.Optional[AccountDetailsCategory] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: typing.Optional[str] = None - end_user_email_address: typing.Optional[str] = None - status: typing.Optional[str] = None - webhook_listener_url: typing.Optional[str] = None - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - account_type: typing.Optional[str] = None - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The time at which account completes the linking flow. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions.py b/src/merge/resources/knowledgebase/types/account_details_and_actions.py deleted file mode 100644 index 93c874ed..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions.py +++ /dev/null @@ -1,54 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions_category import AccountDetailsAndActionsCategory -from .account_details_and_actions_integration import AccountDetailsAndActionsIntegration -from .account_details_and_actions_status import AccountDetailsAndActionsStatus - - -class AccountDetailsAndActions(UncheckedBaseModel): - """ - # The LinkedAccount Object - ### Description - The `LinkedAccount` object is used to represent an end user's link with a specific integration. - - ### Usage Example - View a list of your organization's `LinkedAccount` objects. - """ - - id: str - category: typing.Optional[AccountDetailsAndActionsCategory] = None - status: AccountDetailsAndActionsStatus - status_detail: typing.Optional[str] = None - end_user_origin_id: typing.Optional[str] = None - end_user_organization_name: str - end_user_email_address: str - subdomain: typing.Optional[str] = pydantic.Field(default=None) - """ - The tenant or domain the customer has provided access to. - """ - - webhook_listener_url: str - is_duplicate: typing.Optional[bool] = pydantic.Field(default=None) - """ - Whether a Production Linked Account's credentials match another existing Production Linked Account. This field is `null` for Test Linked Accounts, incomplete Production Linked Accounts, and ignored duplicate Production Linked Account sets. - """ - - integration: typing.Optional[AccountDetailsAndActionsIntegration] = None - account_type: str - completed_at: dt.datetime - integration_specific_fields: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py deleted file mode 100644 index 93b4188b..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_category.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .category_enum import CategoryEnum - -AccountDetailsAndActionsCategory = typing.Union[CategoryEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py deleted file mode 100644 index 73467bbb..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_integration.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum -from .model_operation import ModelOperation - - -class AccountDetailsAndActionsIntegration(UncheckedBaseModel): - name: str - categories: typing.List[CategoriesEnum] - image: typing.Optional[str] = None - square_image: typing.Optional[str] = None - color: str - slug: str - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py deleted file mode 100644 index 445922f8..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .account_details_and_actions_status_enum import AccountDetailsAndActionsStatusEnum - -AccountDetailsAndActionsStatus = typing.Union[AccountDetailsAndActionsStatusEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py b/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py deleted file mode 100644 index df37f582..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_and_actions_status_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class AccountDetailsAndActionsStatusEnum(str, enum.Enum): - """ - * `COMPLETE` - COMPLETE - * `INCOMPLETE` - INCOMPLETE - * `RELINK_NEEDED` - RELINK_NEEDED - * `IDLE` - IDLE - """ - - COMPLETE = "COMPLETE" - INCOMPLETE = "INCOMPLETE" - RELINK_NEEDED = "RELINK_NEEDED" - IDLE = "IDLE" - - def visit( - self, - complete: typing.Callable[[], T_Result], - incomplete: typing.Callable[[], T_Result], - relink_needed: typing.Callable[[], T_Result], - idle: typing.Callable[[], T_Result], - ) -> T_Result: - if self is AccountDetailsAndActionsStatusEnum.COMPLETE: - return complete() - if self is AccountDetailsAndActionsStatusEnum.INCOMPLETE: - return incomplete() - if self is AccountDetailsAndActionsStatusEnum.RELINK_NEEDED: - return relink_needed() - if self is AccountDetailsAndActionsStatusEnum.IDLE: - return idle() diff --git a/src/merge/resources/knowledgebase/types/account_details_category.py b/src/merge/resources/knowledgebase/types/account_details_category.py deleted file mode 100644 index 8a0cc59c..00000000 --- a/src/merge/resources/knowledgebase/types/account_details_category.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .category_enum import CategoryEnum - -AccountDetailsCategory = typing.Union[CategoryEnum, str] diff --git a/src/merge/resources/knowledgebase/types/account_integration.py b/src/merge/resources/knowledgebase/types/account_integration.py deleted file mode 100644 index ef8b260d..00000000 --- a/src/merge/resources/knowledgebase/types/account_integration.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .categories_enum import CategoriesEnum - - -class AccountIntegration(UncheckedBaseModel): - name: str = pydantic.Field() - """ - Company name. - """ - - abbreviated_name: typing.Optional[str] = pydantic.Field(default=None) - """ - Optional. This shortened name appears in places with limited space, usually in conjunction with the platform's logo (e.g., Merge Link menu).

Example: Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP SuccessFactors) - """ - - categories: typing.Optional[typing.List[CategoriesEnum]] = pydantic.Field(default=None) - """ - Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. - """ - - image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in rectangular shape. - """ - - square_image: typing.Optional[str] = pydantic.Field(default=None) - """ - Company logo in square shape. - """ - - color: typing.Optional[str] = pydantic.Field(default=None) - """ - The color of this integration used for buttons and text throughout the app and landing pages. Choose a darker, saturated color. - """ - - slug: typing.Optional[str] = None - api_endpoints_to_documentation_urls: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = ( - pydantic.Field(default=None) - ) - """ - Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} - """ - - webhook_setup_guide_url: typing.Optional[str] = pydantic.Field(default=None) - """ - Setup guide URL for third party webhook creation. Exposed in Merge Docs. - """ - - category_beta_status: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - Category or categories this integration is in beta status for. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/advanced_metadata.py b/src/merge/resources/knowledgebase/types/advanced_metadata.py deleted file mode 100644 index 60b5d072..00000000 --- a/src/merge/resources/knowledgebase/types/advanced_metadata.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AdvancedMetadata(UncheckedBaseModel): - id: str - display_name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_required: typing.Optional[bool] = None - is_custom: typing.Optional[bool] = None - field_choices: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/article.py b/src/merge/resources/knowledgebase/types/article.py deleted file mode 100644 index 32620c78..00000000 --- a/src/merge/resources/knowledgebase/types/article.py +++ /dev/null @@ -1,159 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .article_attachments_item import ArticleAttachmentsItem -from .article_author import ArticleAuthor -from .article_last_edited_by import ArticleLastEditedBy -from .article_parent_container import ArticleParentContainer -from .article_permissions_item import ArticlePermissionsItem -from .article_root_container import ArticleRootContainer -from .article_status import ArticleStatus -from .article_type import ArticleType -from .article_visibility import ArticleVisibility -from .remote_data import RemoteData - - -class Article(UncheckedBaseModel): - """ - # The Article Object - ### Description - The `Article` object is used to represent a form of content in the knowledge base, such as an article or page. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/articles` endpoint and view their articles. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - title: typing.Optional[str] = pydantic.Field(default=None) - """ - The title of the article. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the article. - """ - - author: typing.Optional[ArticleAuthor] = pydantic.Field(default=None) - """ - The user who created the article. - """ - - last_edited_by: typing.Optional[ArticleLastEditedBy] = pydantic.Field(default=None) - """ - The user to last update the article. - """ - - visibility: typing.Optional[ArticleVisibility] = pydantic.Field(default=None) - """ - The visibility of the article. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - article_content_download_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The presigned S3 URL to fetch article content. - """ - - checksum: typing.Optional[str] = pydantic.Field(default=None) - """ - The SHA256 checksum of the article content. - """ - - article_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The URL to the webpage of the article. - """ - - status: typing.Optional[ArticleStatus] = pydantic.Field(default=None) - """ - The status of the article. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - type: typing.Optional[ArticleType] = pydantic.Field(default=None) - """ - The type of the article. - - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's article was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's article was updated. - """ - - parent_article: typing.Optional["ArticleParentArticle"] = pydantic.Field(default=None) - """ - The parent article an article is nested within. - """ - - parent_container: typing.Optional[ArticleParentContainer] = pydantic.Field(default=None) - """ - The parent container an article is nested within. - """ - - root_container: typing.Optional[ArticleRootContainer] = pydantic.Field(default=None) - """ - The top-level container in the hierarchy that holds this article. This will reference a container object that will typically be a SPACE or WORKSPACE type. - """ - - permissions: typing.Optional[typing.List[ArticlePermissionsItem]] = None - attachments: typing.Optional[typing.List[typing.Optional[ArticleAttachmentsItem]]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 -from .article_parent_article import ArticleParentArticle # noqa: E402, F401, I001 - -update_forward_refs(Article) diff --git a/src/merge/resources/knowledgebase/types/article_attachments_item.py b/src/merge/resources/knowledgebase/types/article_attachments_item.py deleted file mode 100644 index 7a22e05f..00000000 --- a/src/merge/resources/knowledgebase/types/article_attachments_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .attachment import Attachment - -ArticleAttachmentsItem = typing.Union[str, Attachment] diff --git a/src/merge/resources/knowledgebase/types/article_parent_article.py b/src/merge/resources/knowledgebase/types/article_parent_article.py deleted file mode 100644 index e630834c..00000000 --- a/src/merge/resources/knowledgebase/types/article_parent_article.py +++ /dev/null @@ -1,9 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -if typing.TYPE_CHECKING: - from .article import Article -ArticleParentArticle = typing.Union[str, "Article"] diff --git a/src/merge/resources/knowledgebase/types/article_parent_container.py b/src/merge/resources/knowledgebase/types/article_parent_container.py deleted file mode 100644 index 1aeeae03..00000000 --- a/src/merge/resources/knowledgebase/types/article_parent_container.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container import Container - -ArticleParentContainer = typing.Union[str, Container] diff --git a/src/merge/resources/knowledgebase/types/article_root_container.py b/src/merge/resources/knowledgebase/types/article_root_container.py deleted file mode 100644 index a145d7a3..00000000 --- a/src/merge/resources/knowledgebase/types/article_root_container.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container import Container - -ArticleRootContainer = typing.Union[str, Container] diff --git a/src/merge/resources/knowledgebase/types/article_status.py b/src/merge/resources/knowledgebase/types/article_status.py deleted file mode 100644 index ed0aef3e..00000000 --- a/src/merge/resources/knowledgebase/types/article_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_3_c_6_enum import Status3C6Enum - -ArticleStatus = typing.Union[Status3C6Enum, str] diff --git a/src/merge/resources/knowledgebase/types/article_type.py b/src/merge/resources/knowledgebase/types/article_type.py deleted file mode 100644 index e8ebdcb1..00000000 --- a/src/merge/resources/knowledgebase/types/article_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .article_type_enum import ArticleTypeEnum - -ArticleType = typing.Union[ArticleTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/article_type_enum.py b/src/merge/resources/knowledgebase/types/article_type_enum.py deleted file mode 100644 index 388245dc..00000000 --- a/src/merge/resources/knowledgebase/types/article_type_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ArticleTypeEnum(str, enum.Enum): - """ - * `PAGE` - PAGE - * `BLOG_POST` - BLOG_POST - * `SMART_LINK` - SMART_LINK - """ - - PAGE = "PAGE" - BLOG_POST = "BLOG_POST" - SMART_LINK = "SMART_LINK" - - def visit( - self, - page: typing.Callable[[], T_Result], - blog_post: typing.Callable[[], T_Result], - smart_link: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ArticleTypeEnum.PAGE: - return page() - if self is ArticleTypeEnum.BLOG_POST: - return blog_post() - if self is ArticleTypeEnum.SMART_LINK: - return smart_link() diff --git a/src/merge/resources/knowledgebase/types/article_visibility.py b/src/merge/resources/knowledgebase/types/article_visibility.py deleted file mode 100644 index 7a152463..00000000 --- a/src/merge/resources/knowledgebase/types/article_visibility.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .visibility_enum import VisibilityEnum - -ArticleVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py b/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py deleted file mode 100644 index 21c95080..00000000 --- a/src/merge/resources/knowledgebase/types/async_passthrough_reciept.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class AsyncPassthroughReciept(UncheckedBaseModel): - async_passthrough_receipt_id: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/attachment.py b/src/merge/resources/knowledgebase/types/attachment.py deleted file mode 100644 index ba1cc4ea..00000000 --- a/src/merge/resources/knowledgebase/types/attachment.py +++ /dev/null @@ -1,67 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_data import RemoteData - - -class Attachment(UncheckedBaseModel): - """ - # The Attachment Object - ### Description - The `Attachment` object is used to represent an attachment to an article or container. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/attachments` endpoint and view their attachments. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's name. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's description. - """ - - attachment_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The attachment's url. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/audit_log_event.py b/src/merge/resources/knowledgebase/types/audit_log_event.py deleted file mode 100644 index ab69fd32..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event.py +++ /dev/null @@ -1,97 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event_event_type import AuditLogEventEventType -from .audit_log_event_role import AuditLogEventRole - - -class AuditLogEvent(UncheckedBaseModel): - id: typing.Optional[str] = None - user_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's full name at the time of this Event occurring. - """ - - user_email: typing.Optional[str] = pydantic.Field(default=None) - """ - The User's email at the time of this Event occurring. - """ - - role: AuditLogEventRole = pydantic.Field() - """ - Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. - - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ip_address: str - event_type: AuditLogEventEventType = pydantic.Field() - """ - Designates the type of event that occurred. - - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - event_description: str - created_at: typing.Optional[dt.datetime] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py b/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py deleted file mode 100644 index f9c9d2b3..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event_event_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .event_type_enum import EventTypeEnum - -AuditLogEventEventType = typing.Union[EventTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/audit_log_event_role.py b/src/merge/resources/knowledgebase/types/audit_log_event_role.py deleted file mode 100644 index fe91ed6f..00000000 --- a/src/merge/resources/knowledgebase/types/audit_log_event_role.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .role_enum import RoleEnum - -AuditLogEventRole = typing.Union[RoleEnum, str] diff --git a/src/merge/resources/knowledgebase/types/available_actions.py b/src/merge/resources/knowledgebase/types/available_actions.py deleted file mode 100644 index 8b5019d7..00000000 --- a/src/merge/resources/knowledgebase/types/available_actions.py +++ /dev/null @@ -1,33 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_integration import AccountIntegration -from .model_operation import ModelOperation - - -class AvailableActions(UncheckedBaseModel): - """ - # The AvailableActions Object - ### Description - The `Activity` object is used to see all available model/operation combinations for an integration. - - ### Usage Example - Fetch all the actions available for the `Zenefits` integration. - """ - - integration: AccountIntegration - passthrough_available: bool - available_model_operations: typing.Optional[typing.List[ModelOperation]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/categories_enum.py b/src/merge/resources/knowledgebase/types/categories_enum.py deleted file mode 100644 index da1e0dc0..00000000 --- a/src/merge/resources/knowledgebase/types/categories_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoriesEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoriesEnum.HRIS: - return hris() - if self is CategoriesEnum.ATS: - return ats() - if self is CategoriesEnum.ACCOUNTING: - return accounting() - if self is CategoriesEnum.TICKETING: - return ticketing() - if self is CategoriesEnum.CRM: - return crm() - if self is CategoriesEnum.MKTG: - return mktg() - if self is CategoriesEnum.FILESTORAGE: - return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/knowledgebase/types/category_enum.py b/src/merge/resources/knowledgebase/types/category_enum.py deleted file mode 100644 index 1d7cd2c0..00000000 --- a/src/merge/resources/knowledgebase/types/category_enum.py +++ /dev/null @@ -1,56 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CategoryEnum(str, enum.Enum): - """ - * `hris` - hris - * `ats` - ats - * `accounting` - accounting - * `ticketing` - ticketing - * `crm` - crm - * `mktg` - mktg - * `filestorage` - filestorage - * `knowledgebase` - knowledgebase - """ - - HRIS = "hris" - ATS = "ats" - ACCOUNTING = "accounting" - TICKETING = "ticketing" - CRM = "crm" - MKTG = "mktg" - FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" - - def visit( - self, - hris: typing.Callable[[], T_Result], - ats: typing.Callable[[], T_Result], - accounting: typing.Callable[[], T_Result], - ticketing: typing.Callable[[], T_Result], - crm: typing.Callable[[], T_Result], - mktg: typing.Callable[[], T_Result], - filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CategoryEnum.HRIS: - return hris() - if self is CategoryEnum.ATS: - return ats() - if self is CategoryEnum.ACCOUNTING: - return accounting() - if self is CategoryEnum.TICKETING: - return ticketing() - if self is CategoryEnum.CRM: - return crm() - if self is CategoryEnum.MKTG: - return mktg() - if self is CategoryEnum.FILESTORAGE: - return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py b/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py deleted file mode 100644 index a9fed25b..00000000 --- a/src/merge/resources/knowledgebase/types/common_model_scopes_body_request.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .enabled_actions_enum import EnabledActionsEnum - - -class CommonModelScopesBodyRequest(UncheckedBaseModel): - model_id: str - enabled_actions: typing.List[EnabledActionsEnum] - disabled_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py b/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/knowledgebase/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/knowledgebase/types/container.py b/src/merge/resources/knowledgebase/types/container.py deleted file mode 100644 index 2822c45d..00000000 --- a/src/merge/resources/knowledgebase/types/container.py +++ /dev/null @@ -1,130 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .container_permissions_item import ContainerPermissionsItem -from .container_status import ContainerStatus -from .container_type import ContainerType -from .container_visibility import ContainerVisibility -from .remote_data import RemoteData - - -class Container(UncheckedBaseModel): - """ - # The Container Object - ### Description - The Container object is used to represent a grouping of articles in the knowledge base. This can include Spaces, Folders, Databases, etc. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/containers` endpoint and view their containers. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - Name of the container. - """ - - description: typing.Optional[str] = pydantic.Field(default=None) - """ - Description of the container. - """ - - status: typing.Optional[ContainerStatus] = pydantic.Field(default=None) - """ - The container's status. - - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - container_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The URL to the webpage of the container. - """ - - type: typing.Optional[ContainerType] = pydantic.Field(default=None) - """ - The container's type. - - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - """ - - visibility: typing.Optional[ContainerVisibility] = pydantic.Field(default=None) - """ - The container's visibility. - - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's container was created. - """ - - remote_updated_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the third party's container was updated. - """ - - parent_article: typing.Optional[str] = pydantic.Field(default=None) - """ - The parent article a container is nested within. - """ - - parent_container: typing.Optional[str] = pydantic.Field(default=None) - """ - The parent container a container is nested within. - """ - - permissions: typing.Optional[typing.List[ContainerPermissionsItem]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(Container) diff --git a/src/merge/resources/knowledgebase/types/container_permissions_item.py b/src/merge/resources/knowledgebase/types/container_permissions_item.py deleted file mode 100644 index 6780c597..00000000 --- a/src/merge/resources/knowledgebase/types/container_permissions_item.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission import Permission - -ContainerPermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/knowledgebase/types/container_status.py b/src/merge/resources/knowledgebase/types/container_status.py deleted file mode 100644 index d50b897c..00000000 --- a/src/merge/resources/knowledgebase/types/container_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .status_3_c_6_enum import Status3C6Enum - -ContainerStatus = typing.Union[Status3C6Enum, str] diff --git a/src/merge/resources/knowledgebase/types/container_type.py b/src/merge/resources/knowledgebase/types/container_type.py deleted file mode 100644 index fb8f0173..00000000 --- a/src/merge/resources/knowledgebase/types/container_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .container_type_enum import ContainerTypeEnum - -ContainerType = typing.Union[ContainerTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/container_type_enum.py b/src/merge/resources/knowledgebase/types/container_type_enum.py deleted file mode 100644 index c38291b0..00000000 --- a/src/merge/resources/knowledgebase/types/container_type_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ContainerTypeEnum(str, enum.Enum): - """ - * `FOLDER` - FOLDER - * `SPACE` - SPACE - * `COLLECTION` - COLLECTION - * `SECTION` - SECTION - * `CATEGORY` - CATEGORY - * `DATABASE` - DATABASE - """ - - FOLDER = "FOLDER" - SPACE = "SPACE" - COLLECTION = "COLLECTION" - SECTION = "SECTION" - CATEGORY = "CATEGORY" - DATABASE = "DATABASE" - - def visit( - self, - folder: typing.Callable[[], T_Result], - space: typing.Callable[[], T_Result], - collection: typing.Callable[[], T_Result], - section: typing.Callable[[], T_Result], - category: typing.Callable[[], T_Result], - database: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ContainerTypeEnum.FOLDER: - return folder() - if self is ContainerTypeEnum.SPACE: - return space() - if self is ContainerTypeEnum.COLLECTION: - return collection() - if self is ContainerTypeEnum.SECTION: - return section() - if self is ContainerTypeEnum.CATEGORY: - return category() - if self is ContainerTypeEnum.DATABASE: - return database() diff --git a/src/merge/resources/knowledgebase/types/container_visibility.py b/src/merge/resources/knowledgebase/types/container_visibility.py deleted file mode 100644 index 860c8adb..00000000 --- a/src/merge/resources/knowledgebase/types/container_visibility.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .visibility_enum import VisibilityEnum - -ContainerVisibility = typing.Union[VisibilityEnum, str] diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request.py b/src/merge/resources/knowledgebase/types/data_passthrough_request.py deleted file mode 100644 index 5a60bfb6..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request.py +++ /dev/null @@ -1,62 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .data_passthrough_request_method import DataPassthroughRequestMethod -from .data_passthrough_request_request_format import DataPassthroughRequestRequestFormat -from .multipart_form_field_request import MultipartFormFieldRequest - - -class DataPassthroughRequest(UncheckedBaseModel): - """ - # The DataPassthrough Object - ### Description - The `DataPassthrough` object is used to send information to an otherwise-unsupported third-party endpoint. - - ### Usage Example - Create a `DataPassthrough` to get team hierarchies from your Rippling integration. - """ - - method: DataPassthroughRequestMethod - path: str = pydantic.Field() - """ - The path of the request in the third party's platform. - """ - - base_url_override: typing.Optional[str] = pydantic.Field(default=None) - """ - An optional override of the third party's base url for the request. - """ - - data: typing.Optional[str] = pydantic.Field(default=None) - """ - The data with the request. You must include a `request_format` parameter matching the data's format - """ - - multipart_form_data: typing.Optional[typing.List[MultipartFormFieldRequest]] = pydantic.Field(default=None) - """ - Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. - """ - - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None) - """ - The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. - """ - - request_format: typing.Optional[DataPassthroughRequestRequestFormat] = None - normalize_response: typing.Optional[bool] = pydantic.Field(default=None) - """ - Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py b/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py deleted file mode 100644 index 58874cbf..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request_method.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .method_enum import MethodEnum - -DataPassthroughRequestMethod = typing.Union[MethodEnum, str] diff --git a/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py b/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py deleted file mode 100644 index 13dc95f0..00000000 --- a/src/merge/resources/knowledgebase/types/data_passthrough_request_request_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .request_format_enum import RequestFormatEnum - -DataPassthroughRequestRequestFormat = typing.Union[RequestFormatEnum, str] diff --git a/src/merge/resources/knowledgebase/types/debug_mode_log.py b/src/merge/resources/knowledgebase/types/debug_mode_log.py deleted file mode 100644 index 9c7d2a3f..00000000 --- a/src/merge/resources/knowledgebase/types/debug_mode_log.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .debug_model_log_summary import DebugModelLogSummary - - -class DebugModeLog(UncheckedBaseModel): - log_id: str - dashboard_view: str - log_summary: DebugModelLogSummary - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/debug_model_log_summary.py b/src/merge/resources/knowledgebase/types/debug_model_log_summary.py deleted file mode 100644 index d7e1d3e6..00000000 --- a/src/merge/resources/knowledgebase/types/debug_model_log_summary.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class DebugModelLogSummary(UncheckedBaseModel): - url: str - method: str - status_code: int - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/enabled_actions_enum.py b/src/merge/resources/knowledgebase/types/enabled_actions_enum.py deleted file mode 100644 index 29cf9839..00000000 --- a/src/merge/resources/knowledgebase/types/enabled_actions_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EnabledActionsEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - """ - - READ = "READ" - WRITE = "WRITE" - - def visit(self, read: typing.Callable[[], T_Result], write: typing.Callable[[], T_Result]) -> T_Result: - if self is EnabledActionsEnum.READ: - return read() - if self is EnabledActionsEnum.WRITE: - return write() diff --git a/src/merge/resources/knowledgebase/types/encoding_enum.py b/src/merge/resources/knowledgebase/types/encoding_enum.py deleted file mode 100644 index 7454647e..00000000 --- a/src/merge/resources/knowledgebase/types/encoding_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EncodingEnum(str, enum.Enum): - """ - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - RAW = "RAW" - BASE_64 = "BASE64" - GZIP_BASE_64 = "GZIP_BASE64" - - def visit( - self, - raw: typing.Callable[[], T_Result], - base_64: typing.Callable[[], T_Result], - gzip_base_64: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EncodingEnum.RAW: - return raw() - if self is EncodingEnum.BASE_64: - return base_64() - if self is EncodingEnum.GZIP_BASE_64: - return gzip_base_64() diff --git a/src/merge/resources/knowledgebase/types/error_validation_problem.py b/src/merge/resources/knowledgebase/types/error_validation_problem.py deleted file mode 100644 index 04f82d05..00000000 --- a/src/merge/resources/knowledgebase/types/error_validation_problem.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class ErrorValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/event_type_enum.py b/src/merge/resources/knowledgebase/types/event_type_enum.py deleted file mode 100644 index 537cea3f..00000000 --- a/src/merge/resources/knowledgebase/types/event_type_enum.py +++ /dev/null @@ -1,231 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class EventTypeEnum(str, enum.Enum): - """ - * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY - * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY - * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY - * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY - * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY - * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE - * `INVITED_USER` - INVITED_USER - * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED - * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED - * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT - * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT - * `CREATED_DESTINATION` - CREATED_DESTINATION - * `DELETED_DESTINATION` - DELETED_DESTINATION - * `CHANGED_DESTINATION` - CHANGED_DESTINATION - * `CHANGED_SCOPES` - CHANGED_SCOPES - * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION - * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS - * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION - * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION - * `ENABLED_CATEGORY` - ENABLED_CATEGORY - * `DISABLED_CATEGORY` - DISABLED_CATEGORY - * `CHANGED_PASSWORD` - CHANGED_PASSWORD - * `RESET_PASSWORD` - RESET_PASSWORD - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION - * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT - * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING - * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING - * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING - * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING - * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING - * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE - * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC - * `MUTED_ISSUE` - MUTED_ISSUE - * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK - * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK - * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK - * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED - * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED - """ - - CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" - DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" - CREATED_TEST_API_KEY = "CREATED_TEST_API_KEY" - DELETED_TEST_API_KEY = "DELETED_TEST_API_KEY" - REGENERATED_PRODUCTION_API_KEY = "REGENERATED_PRODUCTION_API_KEY" - REGENERATED_WEBHOOK_SIGNATURE = "REGENERATED_WEBHOOK_SIGNATURE" - INVITED_USER = "INVITED_USER" - TWO_FACTOR_AUTH_ENABLED = "TWO_FACTOR_AUTH_ENABLED" - TWO_FACTOR_AUTH_DISABLED = "TWO_FACTOR_AUTH_DISABLED" - DELETED_LINKED_ACCOUNT = "DELETED_LINKED_ACCOUNT" - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT = "DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT" - CREATED_DESTINATION = "CREATED_DESTINATION" - DELETED_DESTINATION = "DELETED_DESTINATION" - CHANGED_DESTINATION = "CHANGED_DESTINATION" - CHANGED_SCOPES = "CHANGED_SCOPES" - CHANGED_PERSONAL_INFORMATION = "CHANGED_PERSONAL_INFORMATION" - CHANGED_ORGANIZATION_SETTINGS = "CHANGED_ORGANIZATION_SETTINGS" - ENABLED_INTEGRATION = "ENABLED_INTEGRATION" - DISABLED_INTEGRATION = "DISABLED_INTEGRATION" - ENABLED_CATEGORY = "ENABLED_CATEGORY" - DISABLED_CATEGORY = "DISABLED_CATEGORY" - CHANGED_PASSWORD = "CHANGED_PASSWORD" - RESET_PASSWORD = "RESET_PASSWORD" - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION = "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION" - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT = "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT" - CREATED_INTEGRATION_WIDE_FIELD_MAPPING = "CREATED_INTEGRATION_WIDE_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_FIELD_MAPPING = "CREATED_LINKED_ACCOUNT_FIELD_MAPPING" - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING = "CHANGED_INTEGRATION_WIDE_FIELD_MAPPING" - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING = "CHANGED_LINKED_ACCOUNT_FIELD_MAPPING" - DELETED_INTEGRATION_WIDE_FIELD_MAPPING = "DELETED_INTEGRATION_WIDE_FIELD_MAPPING" - DELETED_LINKED_ACCOUNT_FIELD_MAPPING = "DELETED_LINKED_ACCOUNT_FIELD_MAPPING" - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE = "DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE" - FORCED_LINKED_ACCOUNT_RESYNC = "FORCED_LINKED_ACCOUNT_RESYNC" - MUTED_ISSUE = "MUTED_ISSUE" - GENERATED_MAGIC_LINK = "GENERATED_MAGIC_LINK" - ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" - DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" - MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" - END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" - - def visit( - self, - created_remote_production_api_key: typing.Callable[[], T_Result], - deleted_remote_production_api_key: typing.Callable[[], T_Result], - created_test_api_key: typing.Callable[[], T_Result], - deleted_test_api_key: typing.Callable[[], T_Result], - regenerated_production_api_key: typing.Callable[[], T_Result], - regenerated_webhook_signature: typing.Callable[[], T_Result], - invited_user: typing.Callable[[], T_Result], - two_factor_auth_enabled: typing.Callable[[], T_Result], - two_factor_auth_disabled: typing.Callable[[], T_Result], - deleted_linked_account: typing.Callable[[], T_Result], - deleted_all_common_models_for_linked_account: typing.Callable[[], T_Result], - created_destination: typing.Callable[[], T_Result], - deleted_destination: typing.Callable[[], T_Result], - changed_destination: typing.Callable[[], T_Result], - changed_scopes: typing.Callable[[], T_Result], - changed_personal_information: typing.Callable[[], T_Result], - changed_organization_settings: typing.Callable[[], T_Result], - enabled_integration: typing.Callable[[], T_Result], - disabled_integration: typing.Callable[[], T_Result], - enabled_category: typing.Callable[[], T_Result], - disabled_category: typing.Callable[[], T_Result], - changed_password: typing.Callable[[], T_Result], - reset_password: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - enabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_organization: typing.Callable[[], T_Result], - disabled_redact_unmapped_data_for_linked_account: typing.Callable[[], T_Result], - created_integration_wide_field_mapping: typing.Callable[[], T_Result], - created_linked_account_field_mapping: typing.Callable[[], T_Result], - changed_integration_wide_field_mapping: typing.Callable[[], T_Result], - changed_linked_account_field_mapping: typing.Callable[[], T_Result], - deleted_integration_wide_field_mapping: typing.Callable[[], T_Result], - deleted_linked_account_field_mapping: typing.Callable[[], T_Result], - created_linked_account_common_model_override: typing.Callable[[], T_Result], - changed_linked_account_common_model_override: typing.Callable[[], T_Result], - deleted_linked_account_common_model_override: typing.Callable[[], T_Result], - forced_linked_account_resync: typing.Callable[[], T_Result], - muted_issue: typing.Callable[[], T_Result], - generated_magic_link: typing.Callable[[], T_Result], - enabled_merge_webhook: typing.Callable[[], T_Result], - disabled_merge_webhook: typing.Callable[[], T_Result], - merge_webhook_target_changed: typing.Callable[[], T_Result], - end_user_credentials_accessed: typing.Callable[[], T_Result], - ) -> T_Result: - if self is EventTypeEnum.CREATED_REMOTE_PRODUCTION_API_KEY: - return created_remote_production_api_key() - if self is EventTypeEnum.DELETED_REMOTE_PRODUCTION_API_KEY: - return deleted_remote_production_api_key() - if self is EventTypeEnum.CREATED_TEST_API_KEY: - return created_test_api_key() - if self is EventTypeEnum.DELETED_TEST_API_KEY: - return deleted_test_api_key() - if self is EventTypeEnum.REGENERATED_PRODUCTION_API_KEY: - return regenerated_production_api_key() - if self is EventTypeEnum.REGENERATED_WEBHOOK_SIGNATURE: - return regenerated_webhook_signature() - if self is EventTypeEnum.INVITED_USER: - return invited_user() - if self is EventTypeEnum.TWO_FACTOR_AUTH_ENABLED: - return two_factor_auth_enabled() - if self is EventTypeEnum.TWO_FACTOR_AUTH_DISABLED: - return two_factor_auth_disabled() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT: - return deleted_linked_account() - if self is EventTypeEnum.DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT: - return deleted_all_common_models_for_linked_account() - if self is EventTypeEnum.CREATED_DESTINATION: - return created_destination() - if self is EventTypeEnum.DELETED_DESTINATION: - return deleted_destination() - if self is EventTypeEnum.CHANGED_DESTINATION: - return changed_destination() - if self is EventTypeEnum.CHANGED_SCOPES: - return changed_scopes() - if self is EventTypeEnum.CHANGED_PERSONAL_INFORMATION: - return changed_personal_information() - if self is EventTypeEnum.CHANGED_ORGANIZATION_SETTINGS: - return changed_organization_settings() - if self is EventTypeEnum.ENABLED_INTEGRATION: - return enabled_integration() - if self is EventTypeEnum.DISABLED_INTEGRATION: - return disabled_integration() - if self is EventTypeEnum.ENABLED_CATEGORY: - return enabled_category() - if self is EventTypeEnum.DISABLED_CATEGORY: - return disabled_category() - if self is EventTypeEnum.CHANGED_PASSWORD: - return changed_password() - if self is EventTypeEnum.RESET_PASSWORD: - return reset_password() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return enabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return enabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION: - return disabled_redact_unmapped_data_for_organization() - if self is EventTypeEnum.DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT: - return disabled_redact_unmapped_data_for_linked_account() - if self is EventTypeEnum.CREATED_INTEGRATION_WIDE_FIELD_MAPPING: - return created_integration_wide_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_FIELD_MAPPING: - return created_linked_account_field_mapping() - if self is EventTypeEnum.CHANGED_INTEGRATION_WIDE_FIELD_MAPPING: - return changed_integration_wide_field_mapping() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_FIELD_MAPPING: - return changed_linked_account_field_mapping() - if self is EventTypeEnum.DELETED_INTEGRATION_WIDE_FIELD_MAPPING: - return deleted_integration_wide_field_mapping() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_FIELD_MAPPING: - return deleted_linked_account_field_mapping() - if self is EventTypeEnum.CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return created_linked_account_common_model_override() - if self is EventTypeEnum.CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return changed_linked_account_common_model_override() - if self is EventTypeEnum.DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE: - return deleted_linked_account_common_model_override() - if self is EventTypeEnum.FORCED_LINKED_ACCOUNT_RESYNC: - return forced_linked_account_resync() - if self is EventTypeEnum.MUTED_ISSUE: - return muted_issue() - if self is EventTypeEnum.GENERATED_MAGIC_LINK: - return generated_magic_link() - if self is EventTypeEnum.ENABLED_MERGE_WEBHOOK: - return enabled_merge_webhook() - if self is EventTypeEnum.DISABLED_MERGE_WEBHOOK: - return disabled_merge_webhook() - if self is EventTypeEnum.MERGE_WEBHOOK_TARGET_CHANGED: - return merge_webhook_target_changed() - if self is EventTypeEnum.END_USER_CREDENTIALS_ACCESSED: - return end_user_credentials_accessed() diff --git a/src/merge/resources/knowledgebase/types/external_target_field_api.py b/src/merge/resources/knowledgebase/types/external_target_field_api.py deleted file mode 100644 index c0fea1eb..00000000 --- a/src/merge/resources/knowledgebase/types/external_target_field_api.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ExternalTargetFieldApi(UncheckedBaseModel): - name: typing.Optional[str] = None - description: typing.Optional[str] = None - is_mapped: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/external_target_field_api_response.py b/src/merge/resources/knowledgebase/types/external_target_field_api_response.py deleted file mode 100644 index 78a1df72..00000000 --- a/src/merge/resources/knowledgebase/types/external_target_field_api_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .external_target_field_api import ExternalTargetFieldApi - - -class ExternalTargetFieldApiResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[ExternalTargetFieldApi]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py deleted file mode 100644 index 0d257dcb..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance.py +++ /dev/null @@ -1,26 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field import FieldMappingApiInstanceRemoteField -from .field_mapping_api_instance_target_field import FieldMappingApiInstanceTargetField - - -class FieldMappingApiInstance(UncheckedBaseModel): - id: typing.Optional[str] = None - is_integration_wide: typing.Optional[bool] = None - target_field: typing.Optional[FieldMappingApiInstanceTargetField] = None - remote_field: typing.Optional[FieldMappingApiInstanceRemoteField] = None - jmes_path: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py deleted file mode 100644 index 578a2b10..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field.py +++ /dev/null @@ -1,27 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance_remote_field_remote_endpoint_info import ( - FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo, -) - - -class FieldMappingApiInstanceRemoteField(UncheckedBaseModel): - remote_key_name: typing.Optional[str] = None - schema_: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field( - alias="schema", default=None - ) - remote_endpoint_info: FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py deleted file mode 100644 index 4171f08b..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_remote_field_remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceRemoteFieldRemoteEndpointInfo(UncheckedBaseModel): - method: typing.Optional[str] = None - url_path: typing.Optional[str] = None - field_traversal_path: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py deleted file mode 100644 index a3237ed5..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_mapping_api_instance import FieldMappingApiInstance - - -class FieldMappingApiInstanceResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[FieldMappingApiInstance]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py b/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py deleted file mode 100644 index e6474cba..00000000 --- a/src/merge/resources/knowledgebase/types/field_mapping_api_instance_target_field.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldMappingApiInstanceTargetField(UncheckedBaseModel): - name: str - description: str - is_organization_wide: bool - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_permission_deserializer.py b/src/merge/resources/knowledgebase/types/field_permission_deserializer.py deleted file mode 100644 index 1d71ae04..00000000 --- a/src/merge/resources/knowledgebase/types/field_permission_deserializer.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializer(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py b/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py deleted file mode 100644 index a4113b46..00000000 --- a/src/merge/resources/knowledgebase/types/field_permission_deserializer_request.py +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class FieldPermissionDeserializerRequest(UncheckedBaseModel): - enabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - disabled_fields: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/group.py b/src/merge/resources/knowledgebase/types/group.py deleted file mode 100644 index 99fce32b..00000000 --- a/src/merge/resources/knowledgebase/types/group.py +++ /dev/null @@ -1,71 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .group_users_item import GroupUsersItem -from .remote_data import RemoteData - - -class Group(UncheckedBaseModel): - """ - # The Group Object - ### Description - The `Group` object is used to represent any subset of `Users`. This can extend to company domains as well. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/groups` endpoint and view their groups. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The group's name. - """ - - parent_group: typing.Optional["GroupParentGroup"] = pydantic.Field(default=None) - """ - The parent group for this group. - """ - - users: typing.Optional[typing.List[GroupUsersItem]] = None - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - remote_data: typing.Optional[typing.List[RemoteData]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group_parent_group import GroupParentGroup # noqa: E402, F401, I001 - -update_forward_refs(Group) diff --git a/src/merge/resources/knowledgebase/types/group_parent_group.py b/src/merge/resources/knowledgebase/types/group_parent_group.py deleted file mode 100644 index 4a8aec86..00000000 --- a/src/merge/resources/knowledgebase/types/group_parent_group.py +++ /dev/null @@ -1,9 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -if typing.TYPE_CHECKING: - from .group import Group -GroupParentGroup = typing.Union[str, "Group"] diff --git a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py b/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py deleted file mode 100644 index 4b1ef6a4..00000000 --- a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer import FieldPermissionDeserializer -from .model_permission_deserializer import ModelPermissionDeserializer - - -class IndividualCommonModelScopeDeserializer(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializer]] = None - field_permissions: typing.Optional[FieldPermissionDeserializer] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py b/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py deleted file mode 100644 index 1dcda203..00000000 --- a/src/merge/resources/knowledgebase/types/individual_common_model_scope_deserializer_request.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .field_permission_deserializer_request import FieldPermissionDeserializerRequest -from .model_permission_deserializer_request import ModelPermissionDeserializerRequest - - -class IndividualCommonModelScopeDeserializerRequest(UncheckedBaseModel): - model_name: str - model_permissions: typing.Optional[typing.Dict[str, ModelPermissionDeserializerRequest]] = None - field_permissions: typing.Optional[FieldPermissionDeserializerRequest] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/issue.py b/src/merge/resources/knowledgebase/types/issue.py deleted file mode 100644 index df31be95..00000000 --- a/src/merge/resources/knowledgebase/types/issue.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue_status import IssueStatus - - -class Issue(UncheckedBaseModel): - id: typing.Optional[str] = None - status: typing.Optional[IssueStatus] = pydantic.Field(default=None) - """ - Status of the issue. Options: ('ONGOING', 'RESOLVED') - - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - error_description: str - end_user: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - first_incident_time: typing.Optional[dt.datetime] = None - last_incident_time: typing.Optional[dt.datetime] = None - is_muted: typing.Optional[bool] = None - error_details: typing.Optional[typing.List[str]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/issue_status.py b/src/merge/resources/knowledgebase/types/issue_status.py deleted file mode 100644 index 8e4d6516..00000000 --- a/src/merge/resources/knowledgebase/types/issue_status.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .issue_status_enum import IssueStatusEnum - -IssueStatus = typing.Union[IssueStatusEnum, str] diff --git a/src/merge/resources/knowledgebase/types/issue_status_enum.py b/src/merge/resources/knowledgebase/types/issue_status_enum.py deleted file mode 100644 index 57eb9618..00000000 --- a/src/merge/resources/knowledgebase/types/issue_status_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class IssueStatusEnum(str, enum.Enum): - """ - * `ONGOING` - ONGOING - * `RESOLVED` - RESOLVED - """ - - ONGOING = "ONGOING" - RESOLVED = "RESOLVED" - - def visit(self, ongoing: typing.Callable[[], T_Result], resolved: typing.Callable[[], T_Result]) -> T_Result: - if self is IssueStatusEnum.ONGOING: - return ongoing() - if self is IssueStatusEnum.RESOLVED: - return resolved() diff --git a/src/merge/resources/knowledgebase/types/language_enum.py b/src/merge/resources/knowledgebase/types/language_enum.py deleted file mode 100644 index 44b693f2..00000000 --- a/src/merge/resources/knowledgebase/types/language_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LanguageEnum(str, enum.Enum): - """ - * `en` - en - * `de` - de - """ - - EN = "en" - DE = "de" - - def visit(self, en: typing.Callable[[], T_Result], de: typing.Callable[[], T_Result]) -> T_Result: - if self is LanguageEnum.EN: - return en() - if self is LanguageEnum.DE: - return de() diff --git a/src/merge/resources/knowledgebase/types/last_sync_result_enum.py b/src/merge/resources/knowledgebase/types/last_sync_result_enum.py deleted file mode 100644 index ec777ee6..00000000 --- a/src/merge/resources/knowledgebase/types/last_sync_result_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class LastSyncResultEnum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is LastSyncResultEnum.SYNCING: - return syncing() - if self is LastSyncResultEnum.DONE: - return done() - if self is LastSyncResultEnum.FAILED: - return failed() - if self is LastSyncResultEnum.DISABLED: - return disabled() - if self is LastSyncResultEnum.PAUSED: - return paused() - if self is LastSyncResultEnum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/knowledgebase/types/link_token.py b/src/merge/resources/knowledgebase/types/link_token.py deleted file mode 100644 index f78dedeb..00000000 --- a/src/merge/resources/knowledgebase/types/link_token.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class LinkToken(UncheckedBaseModel): - link_token: str - integration_name: typing.Optional[str] = None - magic_link_url: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/method_enum.py b/src/merge/resources/knowledgebase/types/method_enum.py deleted file mode 100644 index 57bcde10..00000000 --- a/src/merge/resources/knowledgebase/types/method_enum.py +++ /dev/null @@ -1,51 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class MethodEnum(str, enum.Enum): - """ - * `GET` - GET - * `OPTIONS` - OPTIONS - * `HEAD` - HEAD - * `POST` - POST - * `PUT` - PUT - * `PATCH` - PATCH - * `DELETE` - DELETE - """ - - GET = "GET" - OPTIONS = "OPTIONS" - HEAD = "HEAD" - POST = "POST" - PUT = "PUT" - PATCH = "PATCH" - DELETE = "DELETE" - - def visit( - self, - get: typing.Callable[[], T_Result], - options: typing.Callable[[], T_Result], - head: typing.Callable[[], T_Result], - post: typing.Callable[[], T_Result], - put: typing.Callable[[], T_Result], - patch: typing.Callable[[], T_Result], - delete: typing.Callable[[], T_Result], - ) -> T_Result: - if self is MethodEnum.GET: - return get() - if self is MethodEnum.OPTIONS: - return options() - if self is MethodEnum.HEAD: - return head() - if self is MethodEnum.POST: - return post() - if self is MethodEnum.PUT: - return put() - if self is MethodEnum.PATCH: - return patch() - if self is MethodEnum.DELETE: - return delete() diff --git a/src/merge/resources/knowledgebase/types/model_operation.py b/src/merge/resources/knowledgebase/types/model_operation.py deleted file mode 100644 index c367572d..00000000 --- a/src/merge/resources/knowledgebase/types/model_operation.py +++ /dev/null @@ -1,32 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelOperation(UncheckedBaseModel): - """ - # The ModelOperation Object - ### Description - The `ModelOperation` object is used to represent the operations that are currently supported for a given model. - - ### Usage Example - View what operations are supported for the `Candidate` endpoint. - """ - - model_name: str - available_operations: typing.List[str] - required_post_parameters: typing.List[str] - supported_fields: typing.List[str] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/model_permission_deserializer.py b/src/merge/resources/knowledgebase/types/model_permission_deserializer.py deleted file mode 100644 index 6381814c..00000000 --- a/src/merge/resources/knowledgebase/types/model_permission_deserializer.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializer(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py b/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py deleted file mode 100644 index cdc2ff4c..00000000 --- a/src/merge/resources/knowledgebase/types/model_permission_deserializer_request.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ModelPermissionDeserializerRequest(UncheckedBaseModel): - is_enabled: typing.Optional[bool] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/multipart_form_field_request.py b/src/merge/resources/knowledgebase/types/multipart_form_field_request.py deleted file mode 100644 index abc37692..00000000 --- a/src/merge/resources/knowledgebase/types/multipart_form_field_request.py +++ /dev/null @@ -1,57 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .multipart_form_field_request_encoding import MultipartFormFieldRequestEncoding - - -class MultipartFormFieldRequest(UncheckedBaseModel): - """ - # The MultipartFormField Object - ### Description - The `MultipartFormField` object is used to represent fields in an HTTP request using `multipart/form-data`. - - ### Usage Example - Create a `MultipartFormField` to define a multipart form entry. - """ - - name: str = pydantic.Field() - """ - The name of the form field - """ - - data: str = pydantic.Field() - """ - The data for the form field. - """ - - encoding: typing.Optional[MultipartFormFieldRequestEncoding] = pydantic.Field(default=None) - """ - The encoding of the value of `data`. Defaults to `RAW` if not defined. - - * `RAW` - RAW - * `BASE64` - BASE64 - * `GZIP_BASE64` - GZIP_BASE64 - """ - - file_name: typing.Optional[str] = pydantic.Field(default=None) - """ - The file name of the form field, if the field is for a file. - """ - - content_type: typing.Optional[str] = pydantic.Field(default=None) - """ - The MIME type of the file, if the field is for a file. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py b/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py deleted file mode 100644 index c6513b6b..00000000 --- a/src/merge/resources/knowledgebase/types/multipart_form_field_request_encoding.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .encoding_enum import EncodingEnum - -MultipartFormFieldRequestEncoding = typing.Union[EncodingEnum, str] diff --git a/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py b/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py deleted file mode 100644 index d2d16116..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_account_details_and_actions_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .account_details_and_actions import AccountDetailsAndActions - - -class PaginatedAccountDetailsAndActionsList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AccountDetailsAndActions]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_article_list.py b/src/merge/resources/knowledgebase/types/paginated_article_list.py deleted file mode 100644 index 81de40ee..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_article_list.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel - - -class PaginatedArticleList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List["Article"]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .article import Article # noqa: E402, F401, I001 -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedArticleList) diff --git a/src/merge/resources/knowledgebase/types/paginated_attachment_list.py b/src/merge/resources/knowledgebase/types/paginated_attachment_list.py deleted file mode 100644 index 3222cbc0..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_attachment_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .attachment import Attachment - - -class PaginatedAttachmentList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Attachment]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py b/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py deleted file mode 100644 index 24139397..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_audit_log_event_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .audit_log_event import AuditLogEvent - - -class PaginatedAuditLogEventList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[AuditLogEvent]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_container_list.py b/src/merge/resources/knowledgebase/types/paginated_container_list.py deleted file mode 100644 index 4a3ab735..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_container_list.py +++ /dev/null @@ -1,30 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel -from .container import Container - - -class PaginatedContainerList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Container]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedContainerList) diff --git a/src/merge/resources/knowledgebase/types/paginated_group_list.py b/src/merge/resources/knowledgebase/types/paginated_group_list.py deleted file mode 100644 index ddbf97b2..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_group_list.py +++ /dev/null @@ -1,29 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -from __future__ import annotations - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs -from ....core.unchecked_base_model import UncheckedBaseModel - - -class PaginatedGroupList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List["Group"]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(PaginatedGroupList) diff --git a/src/merge/resources/knowledgebase/types/paginated_issue_list.py b/src/merge/resources/knowledgebase/types/paginated_issue_list.py deleted file mode 100644 index 686173e5..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_issue_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .issue import Issue - - -class PaginatedIssueList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[Issue]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py b/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py deleted file mode 100644 index cc4bd7a8..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_sync_status_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .sync_status import SyncStatus - - -class PaginatedSyncStatusList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[SyncStatus]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/paginated_user_list.py b/src/merge/resources/knowledgebase/types/paginated_user_list.py deleted file mode 100644 index 809b285c..00000000 --- a/src/merge/resources/knowledgebase/types/paginated_user_list.py +++ /dev/null @@ -1,23 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .user import User - - -class PaginatedUserList(UncheckedBaseModel): - next: typing.Optional[str] = None - previous: typing.Optional[str] = None - results: typing.Optional[typing.List[User]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/permission_group.py b/src/merge/resources/knowledgebase/types/permission_group.py deleted file mode 100644 index db417995..00000000 --- a/src/merge/resources/knowledgebase/types/permission_group.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .group import Group - -PermissionGroup = typing.Union[str, Group] diff --git a/src/merge/resources/knowledgebase/types/permission_type.py b/src/merge/resources/knowledgebase/types/permission_type.py deleted file mode 100644 index 974034d9..00000000 --- a/src/merge/resources/knowledgebase/types/permission_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .permission_type_enum import PermissionTypeEnum - -PermissionType = typing.Union[PermissionTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/permission_type_enum.py b/src/merge/resources/knowledgebase/types/permission_type_enum.py deleted file mode 100644 index be003e46..00000000 --- a/src/merge/resources/knowledgebase/types/permission_type_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class PermissionTypeEnum(str, enum.Enum): - """ - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE - """ - - USER = "USER" - GROUP = "GROUP" - COMPANY = "COMPANY" - ANYONE = "ANYONE" - - def visit( - self, - user: typing.Callable[[], T_Result], - group: typing.Callable[[], T_Result], - company: typing.Callable[[], T_Result], - anyone: typing.Callable[[], T_Result], - ) -> T_Result: - if self is PermissionTypeEnum.USER: - return user() - if self is PermissionTypeEnum.GROUP: - return group() - if self is PermissionTypeEnum.COMPANY: - return company() - if self is PermissionTypeEnum.ANYONE: - return anyone() diff --git a/src/merge/resources/knowledgebase/types/remote_data.py b/src/merge/resources/knowledgebase/types/remote_data.py deleted file mode 100644 index f34bec80..00000000 --- a/src/merge/resources/knowledgebase/types/remote_data.py +++ /dev/null @@ -1,37 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteData(UncheckedBaseModel): - """ - # The RemoteData Object - ### Description - The `RemoteData` object is used to represent the full data pulled from the third-party API for an object. - - ### Usage Example - TODO - """ - - path: str = pydantic.Field() - """ - The third-party API path that is being called. - """ - - data: typing.Optional[typing.Optional[typing.Any]] = pydantic.Field(default=None) - """ - The data returned from the third-party for this object in its original, unnormalized format. - """ - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_endpoint_info.py b/src/merge/resources/knowledgebase/types/remote_endpoint_info.py deleted file mode 100644 index 07ceff6a..00000000 --- a/src/merge/resources/knowledgebase/types/remote_endpoint_info.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class RemoteEndpointInfo(UncheckedBaseModel): - method: str - url_path: str - field_traversal_path: typing.List[typing.Optional[typing.Any]] - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_field_api.py b/src/merge/resources/knowledgebase/types/remote_field_api.py deleted file mode 100644 index 0756bfc3..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api.py +++ /dev/null @@ -1,28 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_endpoint_info import RemoteEndpointInfo -from .remote_field_api_advanced_metadata import RemoteFieldApiAdvancedMetadata -from .remote_field_api_coverage import RemoteFieldApiCoverage - - -class RemoteFieldApi(UncheckedBaseModel): - schema_: typing.Dict[str, typing.Optional[typing.Any]] = pydantic.Field(alias="schema") - remote_key_name: str - remote_endpoint_info: RemoteEndpointInfo - example_values: typing.Optional[typing.List[typing.Optional[typing.Any]]] = None - advanced_metadata: typing.Optional[RemoteFieldApiAdvancedMetadata] = None - coverage: typing.Optional[RemoteFieldApiCoverage] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py b/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py deleted file mode 100644 index e93da936..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_advanced_metadata.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .advanced_metadata import AdvancedMetadata - -RemoteFieldApiAdvancedMetadata = typing.Union[AdvancedMetadata, str] diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py b/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py deleted file mode 100644 index adcd9be9..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_coverage.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -RemoteFieldApiCoverage = typing.Union[int, float] diff --git a/src/merge/resources/knowledgebase/types/remote_field_api_response.py b/src/merge/resources/knowledgebase/types/remote_field_api_response.py deleted file mode 100644 index 13490496..00000000 --- a/src/merge/resources/knowledgebase/types/remote_field_api_response.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_field_api import RemoteFieldApi - - -class RemoteFieldApiResponse(UncheckedBaseModel): - container: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Container", default=None) - article: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Article", default=None) - attachment: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Attachment", default=None) - user: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="User", default=None) - group: typing.Optional[typing.List[RemoteFieldApi]] = pydantic.Field(alias="Group", default=None) - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/remote_response.py b/src/merge/resources/knowledgebase/types/remote_response.py deleted file mode 100644 index db01131f..00000000 --- a/src/merge/resources/knowledgebase/types/remote_response.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .remote_response_response_type import RemoteResponseResponseType - - -class RemoteResponse(UncheckedBaseModel): - """ - # The RemoteResponse Object - ### Description - The `RemoteResponse` object is used to represent information returned from a third-party endpoint. - - ### Usage Example - View the `RemoteResponse` returned from your `DataPassthrough`. - """ - - method: str - path: str - status: int - response: typing.Optional[typing.Any] = None - response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[RemoteResponseResponseType] = None - headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/request_format_enum.py b/src/merge/resources/knowledgebase/types/request_format_enum.py deleted file mode 100644 index 21c272f2..00000000 --- a/src/merge/resources/knowledgebase/types/request_format_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RequestFormatEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `XML` - XML - * `MULTIPART` - MULTIPART - """ - - JSON = "JSON" - XML = "XML" - MULTIPART = "MULTIPART" - - def visit( - self, - json: typing.Callable[[], T_Result], - xml: typing.Callable[[], T_Result], - multipart: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RequestFormatEnum.JSON: - return json() - if self is RequestFormatEnum.XML: - return xml() - if self is RequestFormatEnum.MULTIPART: - return multipart() diff --git a/src/merge/resources/knowledgebase/types/response_type_enum.py b/src/merge/resources/knowledgebase/types/response_type_enum.py deleted file mode 100644 index ef241302..00000000 --- a/src/merge/resources/knowledgebase/types/response_type_enum.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ResponseTypeEnum(str, enum.Enum): - """ - * `JSON` - JSON - * `BASE64_GZIP` - BASE64_GZIP - """ - - JSON = "JSON" - BASE_64_GZIP = "BASE64_GZIP" - - def visit(self, json: typing.Callable[[], T_Result], base_64_gzip: typing.Callable[[], T_Result]) -> T_Result: - if self is ResponseTypeEnum.JSON: - return json() - if self is ResponseTypeEnum.BASE_64_GZIP: - return base_64_gzip() diff --git a/src/merge/resources/knowledgebase/types/role_enum.py b/src/merge/resources/knowledgebase/types/role_enum.py deleted file mode 100644 index a6cfcc6f..00000000 --- a/src/merge/resources/knowledgebase/types/role_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RoleEnum(str, enum.Enum): - """ - * `ADMIN` - ADMIN - * `DEVELOPER` - DEVELOPER - * `MEMBER` - MEMBER - * `API` - API - * `SYSTEM` - SYSTEM - * `MERGE_TEAM` - MERGE_TEAM - """ - - ADMIN = "ADMIN" - DEVELOPER = "DEVELOPER" - MEMBER = "MEMBER" - API = "API" - SYSTEM = "SYSTEM" - MERGE_TEAM = "MERGE_TEAM" - - def visit( - self, - admin: typing.Callable[[], T_Result], - developer: typing.Callable[[], T_Result], - member: typing.Callable[[], T_Result], - api: typing.Callable[[], T_Result], - system: typing.Callable[[], T_Result], - merge_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RoleEnum.ADMIN: - return admin() - if self is RoleEnum.DEVELOPER: - return developer() - if self is RoleEnum.MEMBER: - return member() - if self is RoleEnum.API: - return api() - if self is RoleEnum.SYSTEM: - return system() - if self is RoleEnum.MERGE_TEAM: - return merge_team() diff --git a/src/merge/resources/knowledgebase/types/roles_enum.py b/src/merge/resources/knowledgebase/types/roles_enum.py deleted file mode 100644 index 1176c798..00000000 --- a/src/merge/resources/knowledgebase/types/roles_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class RolesEnum(str, enum.Enum): - """ - * `READ` - READ - * `WRITE` - WRITE - * `OWNER` - OWNER - """ - - READ = "READ" - WRITE = "WRITE" - OWNER = "OWNER" - - def visit( - self, - read: typing.Callable[[], T_Result], - write: typing.Callable[[], T_Result], - owner: typing.Callable[[], T_Result], - ) -> T_Result: - if self is RolesEnum.READ: - return read() - if self is RolesEnum.WRITE: - return write() - if self is RolesEnum.OWNER: - return owner() diff --git a/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py b/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py deleted file mode 100644 index 9ff43813..00000000 --- a/src/merge/resources/knowledgebase/types/selective_sync_configurations_usage_enum.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class SelectiveSyncConfigurationsUsageEnum(str, enum.Enum): - """ - * `IN_NEXT_SYNC` - IN_NEXT_SYNC - * `IN_LAST_SYNC` - IN_LAST_SYNC - """ - - IN_NEXT_SYNC = "IN_NEXT_SYNC" - IN_LAST_SYNC = "IN_LAST_SYNC" - - def visit( - self, in_next_sync: typing.Callable[[], T_Result], in_last_sync: typing.Callable[[], T_Result] - ) -> T_Result: - if self is SelectiveSyncConfigurationsUsageEnum.IN_NEXT_SYNC: - return in_next_sync() - if self is SelectiveSyncConfigurationsUsageEnum.IN_LAST_SYNC: - return in_last_sync() diff --git a/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py b/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py deleted file mode 100644 index 16df5fa6..00000000 --- a/src/merge/resources/knowledgebase/types/status_3_c_6_enum.py +++ /dev/null @@ -1,36 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class Status3C6Enum(str, enum.Enum): - """ - * `DRAFT` - DRAFT - * `PUBLISHED` - PUBLISHED - * `ARCHIVED` - ARCHIVED - * `TRASH` - TRASH - """ - - DRAFT = "DRAFT" - PUBLISHED = "PUBLISHED" - ARCHIVED = "ARCHIVED" - TRASH = "TRASH" - - def visit( - self, - draft: typing.Callable[[], T_Result], - published: typing.Callable[[], T_Result], - archived: typing.Callable[[], T_Result], - trash: typing.Callable[[], T_Result], - ) -> T_Result: - if self is Status3C6Enum.DRAFT: - return draft() - if self is Status3C6Enum.PUBLISHED: - return published() - if self is Status3C6Enum.ARCHIVED: - return archived() - if self is Status3C6Enum.TRASH: - return trash() diff --git a/src/merge/resources/knowledgebase/types/status_fd_5_enum.py b/src/merge/resources/knowledgebase/types/status_fd_5_enum.py deleted file mode 100644 index d753f77c..00000000 --- a/src/merge/resources/knowledgebase/types/status_fd_5_enum.py +++ /dev/null @@ -1,46 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class StatusFd5Enum(str, enum.Enum): - """ - * `SYNCING` - SYNCING - * `DONE` - DONE - * `FAILED` - FAILED - * `DISABLED` - DISABLED - * `PAUSED` - PAUSED - * `PARTIALLY_SYNCED` - PARTIALLY_SYNCED - """ - - SYNCING = "SYNCING" - DONE = "DONE" - FAILED = "FAILED" - DISABLED = "DISABLED" - PAUSED = "PAUSED" - PARTIALLY_SYNCED = "PARTIALLY_SYNCED" - - def visit( - self, - syncing: typing.Callable[[], T_Result], - done: typing.Callable[[], T_Result], - failed: typing.Callable[[], T_Result], - disabled: typing.Callable[[], T_Result], - paused: typing.Callable[[], T_Result], - partially_synced: typing.Callable[[], T_Result], - ) -> T_Result: - if self is StatusFd5Enum.SYNCING: - return syncing() - if self is StatusFd5Enum.DONE: - return done() - if self is StatusFd5Enum.FAILED: - return failed() - if self is StatusFd5Enum.DISABLED: - return disabled() - if self is StatusFd5Enum.PAUSED: - return paused() - if self is StatusFd5Enum.PARTIALLY_SYNCED: - return partially_synced() diff --git a/src/merge/resources/knowledgebase/types/sync_status.py b/src/merge/resources/knowledgebase/types/sync_status.py deleted file mode 100644 index 07ab1dc2..00000000 --- a/src/merge/resources/knowledgebase/types/sync_status.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .sync_status_last_sync_result import SyncStatusLastSyncResult -from .sync_status_status import SyncStatusStatus - - -class SyncStatus(UncheckedBaseModel): - """ - # The SyncStatus Object - ### Description - The `SyncStatus` object is used to represent the syncing state of an account - - ### Usage Example - View the `SyncStatus` for an account to see how recently its models were synced. - """ - - model_name: str - model_id: str - last_sync_start: typing.Optional[dt.datetime] = None - next_sync_start: typing.Optional[dt.datetime] = None - last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None - last_sync_finished: typing.Optional[dt.datetime] = None - status: SyncStatusStatus - is_initial_sync: bool - selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py b/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py deleted file mode 100644 index 980e7d94..00000000 --- a/src/merge/resources/knowledgebase/types/sync_status_last_sync_result.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .last_sync_result_enum import LastSyncResultEnum - -SyncStatusLastSyncResult = typing.Union[LastSyncResultEnum, str] diff --git a/src/merge/resources/knowledgebase/types/user.py b/src/merge/resources/knowledgebase/types/user.py deleted file mode 100644 index 35ec6bf1..00000000 --- a/src/merge/resources/knowledgebase/types/user.py +++ /dev/null @@ -1,60 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import datetime as dt -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class User(UncheckedBaseModel): - """ - # The User Object - ### Description - The `User` object is used to represent a user within the Knowledge Base account. - ### Usage Example - Fetch from the `GET /api/knowledgebase/v1/users` endpoint and view their users. - """ - - id: typing.Optional[str] = None - remote_id: typing.Optional[str] = pydantic.Field(default=None) - """ - The third-party API ID of the matching object. - """ - - created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was created by Merge. - """ - - modified_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - The datetime that this object was modified by Merge. - """ - - name: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's name. - """ - - email_address: typing.Optional[str] = pydantic.Field(default=None) - """ - The user's email address. - """ - - remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) - """ - Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). - """ - - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/validation_problem_source.py b/src/merge/resources/knowledgebase/types/validation_problem_source.py deleted file mode 100644 index fbebe626..00000000 --- a/src/merge/resources/knowledgebase/types/validation_problem_source.py +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class ValidationProblemSource(UncheckedBaseModel): - pointer: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/visibility_enum.py b/src/merge/resources/knowledgebase/types/visibility_enum.py deleted file mode 100644 index 287312d8..00000000 --- a/src/merge/resources/knowledgebase/types/visibility_enum.py +++ /dev/null @@ -1,31 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class VisibilityEnum(str, enum.Enum): - """ - * `PUBLIC` - PUBLIC - * `INTERNAL` - INTERNAL - * `RESTRICTED` - RESTRICTED - """ - - PUBLIC = "PUBLIC" - INTERNAL = "INTERNAL" - RESTRICTED = "RESTRICTED" - - def visit( - self, - public: typing.Callable[[], T_Result], - internal: typing.Callable[[], T_Result], - restricted: typing.Callable[[], T_Result], - ) -> T_Result: - if self is VisibilityEnum.PUBLIC: - return public() - if self is VisibilityEnum.INTERNAL: - return internal() - if self is VisibilityEnum.RESTRICTED: - return restricted() diff --git a/src/merge/resources/knowledgebase/types/warning_validation_problem.py b/src/merge/resources/knowledgebase/types/warning_validation_problem.py deleted file mode 100644 index 4785e836..00000000 --- a/src/merge/resources/knowledgebase/types/warning_validation_problem.py +++ /dev/null @@ -1,24 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel -from .validation_problem_source import ValidationProblemSource - - -class WarningValidationProblem(UncheckedBaseModel): - source: typing.Optional[ValidationProblemSource] = None - title: str - detail: str - problem_type: str - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/knowledgebase/types/webhook_receiver.py b/src/merge/resources/knowledgebase/types/webhook_receiver.py deleted file mode 100644 index fb49c044..00000000 --- a/src/merge/resources/knowledgebase/types/webhook_receiver.py +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2 -from ....core.unchecked_base_model import UncheckedBaseModel - - -class WebhookReceiver(UncheckedBaseModel): - event: str - is_active: bool - key: typing.Optional[str] = None - - if IS_PYDANTIC_V2: - model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 - else: - - class Config: - frozen = True - smart_union = True - extra = pydantic.Extra.allow diff --git a/src/merge/resources/ticketing/__init__.py b/src/merge/resources/ticketing/__init__.py index 13477e7f..0bdd80f0 100644 --- a/src/merge/resources/ticketing/__init__.py +++ b/src/merge/resources/ticketing/__init__.py @@ -17,6 +17,7 @@ AccountDetailsCategory, AccountIntegration, AccountToken, + ActionsEnum, AdvancedMetadata, AsyncPassthroughReciept, Attachment, @@ -32,8 +33,8 @@ Collection, CollectionAccessLevel, CollectionAccessLevelEnum, - CollectionCollectionType, CollectionParentCollection, + CollectionPermissionsItem, CollectionTypeEnum, Comment, CommentContact, @@ -46,7 +47,6 @@ CommentUser, CommonModelScopeApi, CommonModelScopesBodyRequest, - CompletedAccountInitialScreenEnum, Contact, ContactAccount, ContactRequest, @@ -54,6 +54,7 @@ DataPassthroughRequest, DebugModeLog, DebugModelLogSummary, + EffectEnum, EnabledActionsEnum, EncodingEnum, ErrorValidationProblem, @@ -108,10 +109,14 @@ PaginatedViewerList, PatchedTicketRequest, PatchedTicketRequestAccessLevel, - PatchedTicketRequestPriority, PatchedTicketRequestStatus, + Permission, + PermissionEffect, + PermissionRequest, + PermissionRequestEffect, PriorityEnum, Project, + RegenerateAccountToken, RemoteData, RemoteEndpointInfo, RemoteField, @@ -120,13 +125,12 @@ RemoteFieldApiResponse, RemoteFieldClass, RemoteFieldClassFieldChoicesItem, - RemoteFieldClassFieldFormat, - RemoteFieldClassFieldType, RemoteFieldRemoteFieldClass, RemoteFieldRequest, RemoteFieldRequestRemoteFieldClass, RemoteKey, RemoteResponse, + RemoteResponseResponseType, RequestFormatEnum, ResponseTypeEnum, Role, @@ -137,6 +141,7 @@ StatusFd5Enum, SyncStatus, SyncStatusLastSyncResult, + SyncStatusStatus, Tag, Team, Ticket, @@ -183,25 +188,28 @@ from .resources import ( AsyncPassthroughRetrieveResponse, CollectionsListRequestCollectionType, - CollectionsViewersListRequestExpand, - CommentsListRequestExpand, - CommentsRetrieveRequestExpand, - EndUserDetailsRequestCompletedAccountInitialScreen, + CollectionsListRequestExpandItem, + CollectionsRetrieveRequestExpandItem, + CollectionsViewersListRequestExpandItem, + CommentsListRequestExpandItem, + CommentsRetrieveRequestExpandItem, EndUserDetailsRequestLanguage, IssuesListRequestStatus, LinkedAccountsListRequestCategory, - ProjectsUsersListRequestExpand, - TicketsListRequestExpand, + ProjectsUsersListRequestExpandItem, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsLiveSearchRetrieveRequestRemoteFields, + TicketsLiveSearchRetrieveRequestShowEnumOrigins, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, - UsersListRequestExpand, - UsersRetrieveRequestExpand, + TicketsViewersListRequestExpandItem, + UsersListRequestExpandItem, + UsersRetrieveRequestExpandItem, account_details, account_token, accounts, @@ -242,6 +250,7 @@ "AccountDetailsCategory": ".types", "AccountIntegration": ".types", "AccountToken": ".types", + "ActionsEnum": ".types", "AdvancedMetadata": ".types", "AsyncPassthroughReciept": ".types", "AsyncPassthroughRetrieveResponse": ".resources", @@ -258,11 +267,13 @@ "Collection": ".types", "CollectionAccessLevel": ".types", "CollectionAccessLevelEnum": ".types", - "CollectionCollectionType": ".types", "CollectionParentCollection": ".types", + "CollectionPermissionsItem": ".types", "CollectionTypeEnum": ".types", "CollectionsListRequestCollectionType": ".resources", - "CollectionsViewersListRequestExpand": ".resources", + "CollectionsListRequestExpandItem": ".resources", + "CollectionsRetrieveRequestExpandItem": ".resources", + "CollectionsViewersListRequestExpandItem": ".resources", "Comment": ".types", "CommentContact": ".types", "CommentRequest": ".types", @@ -272,11 +283,10 @@ "CommentResponse": ".types", "CommentTicket": ".types", "CommentUser": ".types", - "CommentsListRequestExpand": ".resources", - "CommentsRetrieveRequestExpand": ".resources", + "CommentsListRequestExpandItem": ".resources", + "CommentsRetrieveRequestExpandItem": ".resources", "CommonModelScopeApi": ".types", "CommonModelScopesBodyRequest": ".types", - "CompletedAccountInitialScreenEnum": ".types", "Contact": ".types", "ContactAccount": ".types", "ContactRequest": ".types", @@ -284,9 +294,9 @@ "DataPassthroughRequest": ".types", "DebugModeLog": ".types", "DebugModelLogSummary": ".types", + "EffectEnum": ".types", "EnabledActionsEnum": ".types", "EncodingEnum": ".types", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".resources", "EndUserDetailsRequestLanguage": ".resources", "ErrorValidationProblem": ".types", "EventTypeEnum": ".types", @@ -342,11 +352,15 @@ "PaginatedViewerList": ".types", "PatchedTicketRequest": ".types", "PatchedTicketRequestAccessLevel": ".types", - "PatchedTicketRequestPriority": ".types", "PatchedTicketRequestStatus": ".types", + "Permission": ".types", + "PermissionEffect": ".types", + "PermissionRequest": ".types", + "PermissionRequestEffect": ".types", "PriorityEnum": ".types", "Project": ".types", - "ProjectsUsersListRequestExpand": ".resources", + "ProjectsUsersListRequestExpandItem": ".resources", + "RegenerateAccountToken": ".types", "RemoteData": ".types", "RemoteEndpointInfo": ".types", "RemoteField": ".types", @@ -355,13 +369,12 @@ "RemoteFieldApiResponse": ".types", "RemoteFieldClass": ".types", "RemoteFieldClassFieldChoicesItem": ".types", - "RemoteFieldClassFieldFormat": ".types", - "RemoteFieldClassFieldType": ".types", "RemoteFieldRemoteFieldClass": ".types", "RemoteFieldRequest": ".types", "RemoteFieldRequestRemoteFieldClass": ".types", "RemoteKey": ".types", "RemoteResponse": ".types", + "RemoteResponseResponseType": ".types", "RequestFormatEnum": ".types", "ResponseTypeEnum": ".types", "Role": ".types", @@ -372,6 +385,7 @@ "StatusFd5Enum": ".types", "SyncStatus": ".types", "SyncStatusLastSyncResult": ".types", + "SyncStatusStatus": ".types", "Tag": ".types", "Team": ".types", "Ticket": ".types", @@ -405,20 +419,22 @@ "TicketStatusEnum": ".types", "TicketingAttachmentResponse": ".types", "TicketingContactResponse": ".types", - "TicketsListRequestExpand": ".resources", + "TicketsListRequestExpandItem": ".resources", "TicketsListRequestPriority": ".resources", "TicketsListRequestRemoteFields": ".resources", "TicketsListRequestShowEnumOrigins": ".resources", "TicketsListRequestStatus": ".resources", - "TicketsRetrieveRequestExpand": ".resources", + "TicketsLiveSearchRetrieveRequestRemoteFields": ".resources", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins": ".resources", + "TicketsRetrieveRequestExpandItem": ".resources", "TicketsRetrieveRequestRemoteFields": ".resources", "TicketsRetrieveRequestShowEnumOrigins": ".resources", - "TicketsViewersListRequestExpand": ".resources", + "TicketsViewersListRequestExpandItem": ".resources", "User": ".types", "UserRolesItem": ".types", "UserTeamsItem": ".types", - "UsersListRequestExpand": ".resources", - "UsersRetrieveRequestExpand": ".resources", + "UsersListRequestExpandItem": ".resources", + "UsersRetrieveRequestExpandItem": ".resources", "ValidationProblemSource": ".types", "Viewer": ".types", "ViewerTeam": ".types", @@ -486,6 +502,7 @@ def __dir__(): "AccountDetailsCategory", "AccountIntegration", "AccountToken", + "ActionsEnum", "AdvancedMetadata", "AsyncPassthroughReciept", "AsyncPassthroughRetrieveResponse", @@ -502,11 +519,13 @@ def __dir__(): "Collection", "CollectionAccessLevel", "CollectionAccessLevelEnum", - "CollectionCollectionType", "CollectionParentCollection", + "CollectionPermissionsItem", "CollectionTypeEnum", "CollectionsListRequestCollectionType", - "CollectionsViewersListRequestExpand", + "CollectionsListRequestExpandItem", + "CollectionsRetrieveRequestExpandItem", + "CollectionsViewersListRequestExpandItem", "Comment", "CommentContact", "CommentRequest", @@ -516,11 +535,10 @@ def __dir__(): "CommentResponse", "CommentTicket", "CommentUser", - "CommentsListRequestExpand", - "CommentsRetrieveRequestExpand", + "CommentsListRequestExpandItem", + "CommentsRetrieveRequestExpandItem", "CommonModelScopeApi", "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", "Contact", "ContactAccount", "ContactRequest", @@ -528,9 +546,9 @@ def __dir__(): "DataPassthroughRequest", "DebugModeLog", "DebugModelLogSummary", + "EffectEnum", "EnabledActionsEnum", "EncodingEnum", - "EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage", "ErrorValidationProblem", "EventTypeEnum", @@ -586,11 +604,15 @@ def __dir__(): "PaginatedViewerList", "PatchedTicketRequest", "PatchedTicketRequestAccessLevel", - "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", + "Permission", + "PermissionEffect", + "PermissionRequest", + "PermissionRequestEffect", "PriorityEnum", "Project", - "ProjectsUsersListRequestExpand", + "ProjectsUsersListRequestExpandItem", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -599,13 +621,12 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "Role", @@ -616,6 +637,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Team", "Ticket", @@ -649,20 +671,22 @@ def __dir__(): "TicketStatusEnum", "TicketingAttachmentResponse", "TicketingContactResponse", - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsLiveSearchRetrieveRequestRemoteFields", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", "User", "UserRolesItem", "UserTeamsItem", - "UsersListRequestExpand", - "UsersRetrieveRequestExpand", + "UsersListRequestExpandItem", + "UsersRetrieveRequestExpandItem", "ValidationProblemSource", "Viewer", "ViewerTeam", diff --git a/src/merge/resources/ticketing/resources/__init__.py b/src/merge/resources/ticketing/resources/__init__.py index 801852a6..9da2e88a 100644 --- a/src/merge/resources/ticketing/resources/__init__.py +++ b/src/merge/resources/ticketing/resources/__init__.py @@ -37,46 +37,56 @@ webhook_receivers, ) from .async_passthrough import AsyncPassthroughRetrieveResponse - from .collections import CollectionsListRequestCollectionType, CollectionsViewersListRequestExpand - from .comments import CommentsListRequestExpand, CommentsRetrieveRequestExpand + from .collections import ( + CollectionsListRequestCollectionType, + CollectionsListRequestExpandItem, + CollectionsRetrieveRequestExpandItem, + CollectionsViewersListRequestExpandItem, + ) + from .comments import CommentsListRequestExpandItem, CommentsRetrieveRequestExpandItem from .issues import IssuesListRequestStatus - from .link_token import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage + from .link_token import EndUserDetailsRequestLanguage from .linked_accounts import LinkedAccountsListRequestCategory - from .projects import ProjectsUsersListRequestExpand + from .projects import ProjectsUsersListRequestExpandItem from .tickets import ( - TicketsListRequestExpand, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsLiveSearchRetrieveRequestRemoteFields, + TicketsLiveSearchRetrieveRequestShowEnumOrigins, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, + TicketsViewersListRequestExpandItem, ) - from .users import UsersListRequestExpand, UsersRetrieveRequestExpand + from .users import UsersListRequestExpandItem, UsersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "AsyncPassthroughRetrieveResponse": ".async_passthrough", "CollectionsListRequestCollectionType": ".collections", - "CollectionsViewersListRequestExpand": ".collections", - "CommentsListRequestExpand": ".comments", - "CommentsRetrieveRequestExpand": ".comments", - "EndUserDetailsRequestCompletedAccountInitialScreen": ".link_token", + "CollectionsListRequestExpandItem": ".collections", + "CollectionsRetrieveRequestExpandItem": ".collections", + "CollectionsViewersListRequestExpandItem": ".collections", + "CommentsListRequestExpandItem": ".comments", + "CommentsRetrieveRequestExpandItem": ".comments", "EndUserDetailsRequestLanguage": ".link_token", "IssuesListRequestStatus": ".issues", "LinkedAccountsListRequestCategory": ".linked_accounts", - "ProjectsUsersListRequestExpand": ".projects", - "TicketsListRequestExpand": ".tickets", + "ProjectsUsersListRequestExpandItem": ".projects", + "TicketsListRequestExpandItem": ".tickets", "TicketsListRequestPriority": ".tickets", "TicketsListRequestRemoteFields": ".tickets", "TicketsListRequestShowEnumOrigins": ".tickets", "TicketsListRequestStatus": ".tickets", - "TicketsRetrieveRequestExpand": ".tickets", + "TicketsLiveSearchRetrieveRequestRemoteFields": ".tickets", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins": ".tickets", + "TicketsRetrieveRequestExpandItem": ".tickets", "TicketsRetrieveRequestRemoteFields": ".tickets", "TicketsRetrieveRequestShowEnumOrigins": ".tickets", - "TicketsViewersListRequestExpand": ".tickets", - "UsersListRequestExpand": ".users", - "UsersRetrieveRequestExpand": ".users", + "TicketsViewersListRequestExpandItem": ".tickets", + "UsersListRequestExpandItem": ".users", + "UsersRetrieveRequestExpandItem": ".users", "account_details": ".", "account_token": ".", "accounts": ".", @@ -130,25 +140,28 @@ def __dir__(): __all__ = [ "AsyncPassthroughRetrieveResponse", "CollectionsListRequestCollectionType", - "CollectionsViewersListRequestExpand", - "CommentsListRequestExpand", - "CommentsRetrieveRequestExpand", - "EndUserDetailsRequestCompletedAccountInitialScreen", + "CollectionsListRequestExpandItem", + "CollectionsRetrieveRequestExpandItem", + "CollectionsViewersListRequestExpandItem", + "CommentsListRequestExpandItem", + "CommentsRetrieveRequestExpandItem", "EndUserDetailsRequestLanguage", "IssuesListRequestStatus", "LinkedAccountsListRequestCategory", - "ProjectsUsersListRequestExpand", - "TicketsListRequestExpand", + "ProjectsUsersListRequestExpandItem", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsLiveSearchRetrieveRequestRemoteFields", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", - "UsersListRequestExpand", - "UsersRetrieveRequestExpand", + "TicketsViewersListRequestExpandItem", + "UsersListRequestExpandItem", + "UsersRetrieveRequestExpandItem", "account_details", "account_token", "accounts", diff --git a/src/merge/resources/ticketing/resources/account_token/client.py b/src/merge/resources/ticketing/resources/account_token/client.py index 45ac5bc2..fe45f14f 100644 --- a/src/merge/resources/ticketing/resources/account_token/client.py +++ b/src/merge/resources/ticketing/resources/account_token/client.py @@ -5,6 +5,7 @@ from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper from .....core.request_options import RequestOptions from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken from .raw_client import AsyncRawAccountTokenClient, RawAccountTokenClient @@ -54,6 +55,33 @@ def retrieve(self, public_token: str, *, request_options: typing.Optional[Reques _response = self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + def regenerate_create(self, *, request_options: typing.Optional[RequestOptions] = None) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + from merge import Merge + + client = Merge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + client.ticketing.account_token.regenerate_create() + """ + _response = self._raw_client.regenerate_create(request_options=request_options) + return _response.data + class AsyncAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -110,3 +138,40 @@ async def main() -> None: """ _response = await self._raw_client.retrieve(public_token, request_options=request_options) return _response.data + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> RegenerateAccountToken: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + RegenerateAccountToken + + + Examples + -------- + import asyncio + + from merge import AsyncMerge + + client = AsyncMerge( + account_token="YOUR_ACCOUNT_TOKEN", + api_key="YOUR_API_KEY", + ) + + + async def main() -> None: + await client.ticketing.account_token.regenerate_create() + + + asyncio.run(main()) + """ + _response = await self._raw_client.regenerate_create(request_options=request_options) + return _response.data diff --git a/src/merge/resources/ticketing/resources/account_token/raw_client.py b/src/merge/resources/ticketing/resources/account_token/raw_client.py index fecf4148..2218516c 100644 --- a/src/merge/resources/ticketing/resources/account_token/raw_client.py +++ b/src/merge/resources/ticketing/resources/account_token/raw_client.py @@ -10,6 +10,7 @@ from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account_token import AccountToken +from ...types.regenerate_account_token import RegenerateAccountToken class RawAccountTokenClient: @@ -54,6 +55,42 @@ def retrieve( raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> HttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + HttpResponse[RegenerateAccountToken] + + """ + _response = self._client_wrapper.httpx_client.request( + "ticketing/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return HttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + class AsyncRawAccountTokenClient: def __init__(self, *, client_wrapper: AsyncClientWrapper): @@ -96,3 +133,39 @@ async def retrieve( except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + async def regenerate_create( + self, *, request_options: typing.Optional[RequestOptions] = None + ) -> AsyncHttpResponse[RegenerateAccountToken]: + """ + Exchange Linked Account account tokens. + + Parameters + ---------- + request_options : typing.Optional[RequestOptions] + Request-specific configuration. + + Returns + ------- + AsyncHttpResponse[RegenerateAccountToken] + + """ + _response = await self._client_wrapper.httpx_client.request( + "ticketing/v1/account-token/regenerate", + method="POST", + request_options=request_options, + ) + try: + if 200 <= _response.status_code < 300: + _data = typing.cast( + RegenerateAccountToken, + construct_type( + type_=RegenerateAccountToken, # type: ignore + object_=_response.json(), + ), + ) + return AsyncHttpResponse(response=_response, data=_data) + _response_json = _response.json() + except JSONDecodeError: + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) diff --git a/src/merge/resources/ticketing/resources/accounts/client.py b/src/merge/resources/ticketing/resources/accounts/client.py index 86947a64..47495b9d 100644 --- a/src/merge/resources/ticketing/resources/accounts/client.py +++ b/src/merge/resources/ticketing/resources/accounts/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.account import Account -from ...types.paginated_account_list import PaginatedAccountList from .raw_client import AsyncRawAccountsClient, RawAccountsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -70,7 +70,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedAccountList + SyncPager[Account] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.accounts.list( + response = client.ticketing.accounts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountList: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -241,7 +245,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedAccountList + AsyncPager[Account] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ticketing.accounts.list( + response = await client.ticketing.accounts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ticketing/resources/accounts/raw_client.py b/src/merge/resources/ticketing/resources/accounts/raw_client.py index f0e4aa23..2099e44c 100644 --- a/src/merge/resources/ticketing/resources/accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/accounts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.account import Account @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountList]: + ) -> SyncPager[Account]: """ Returns a list of `Account` objects. @@ -64,7 +65,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountList] + SyncPager[Account] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountList]: + ) -> AsyncPager[Account]: """ Returns a list of `Account` objects. @@ -212,7 +231,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountList] + AsyncPager[Account] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountList, construct_type( type_=PaginatedAccountList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/attachments/client.py b/src/merge/resources/ticketing/resources/attachments/client.py index 8b5be527..e52c6802 100644 --- a/src/merge/resources/ticketing/resources/attachments/client.py +++ b/src/merge/resources/ticketing/resources/attachments/client.py @@ -4,11 +4,11 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.attachment import Attachment from ...types.attachment_request import AttachmentRequest from ...types.meta_response import MetaResponse -from ...types.paginated_attachment_list import PaginatedAttachmentList from ...types.ticketing_attachment_response import TicketingAttachmentResponse from .raw_client import AsyncRawAttachmentsClient, RawAttachmentsClient @@ -37,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +50,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> SyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -63,7 +65,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -82,7 +84,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -98,7 +100,7 @@ def list( Returns ------- - PaginatedAttachmentList + SyncPager[Attachment] Examples @@ -111,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.attachments.list( + response = client.ticketing.attachments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -135,8 +137,13 @@ def list( remote_id="remote_id", ticket_id="ticket_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -152,7 +159,6 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return _response.data def create( self, @@ -207,7 +213,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -219,7 +227,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -342,7 +350,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -353,7 +363,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAttachmentList: + ) -> AsyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -368,7 +378,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -387,7 +397,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -403,7 +413,7 @@ async def list( Returns ------- - PaginatedAttachmentList + AsyncPager[Attachment] Examples @@ -420,7 +430,7 @@ async def list( async def main() -> None: - await client.ticketing.attachments.list( + response = await client.ticketing.attachments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -444,11 +454,17 @@ async def main() -> None: remote_id="remote_id", ticket_id="ticket_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -464,7 +480,6 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return _response.data async def create( self, @@ -527,7 +542,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -539,7 +556,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/attachments/raw_client.py b/src/merge/resources/ticketing/resources/attachments/raw_client.py index c98707ce..652f196c 100644 --- a/src/merge/resources/ticketing/resources/attachments/raw_client.py +++ b/src/merge/resources/ticketing/resources/attachments/raw_client.py @@ -10,6 +10,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.attachment import Attachment @@ -32,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -43,7 +46,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAttachmentList]: + ) -> SyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -58,7 +61,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -77,7 +80,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -93,7 +96,7 @@ def list( Returns ------- - HttpResponse[PaginatedAttachmentList] + SyncPager[Attachment] """ _response = self._client_wrapper.httpx_client.request( @@ -120,14 +123,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +221,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -209,7 +235,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -355,7 +381,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -366,7 +394,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAttachmentList]: + ) -> AsyncPager[Attachment]: """ Returns a list of `Attachment` objects. @@ -381,7 +409,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -400,7 +428,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_created_after : typing.Optional[dt.datetime] If provided, will only return attachments created in the third party platform after this datetime. @@ -416,7 +444,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAttachmentList] + AsyncPager[Attachment] """ _response = await self._client_wrapper.httpx_client.request( @@ -443,14 +471,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAttachmentList, construct_type( type_=PaginatedAttachmentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -520,7 +572,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["ticket"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -532,7 +586,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["ticket"]] + expand : typing.Optional[typing.Union[typing.Literal["ticket"], typing.Sequence[typing.Literal["ticket"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/audit_trail/client.py b/src/merge/resources/ticketing/resources/audit_trail/client.py index 900cda44..00a58f36 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList +from ...types.audit_log_event import AuditLogEvent from .raw_client import AsyncRawAuditTrailClient, RawAuditTrailClient @@ -33,7 +34,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -62,7 +63,7 @@ def list( Returns ------- - PaginatedAuditLogEventList + SyncPager[AuditLogEvent] Examples @@ -73,7 +74,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.audit_trail.list( + response = client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -81,8 +82,13 @@ def list( start_date="start_date", user_email="user_email", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -91,7 +97,6 @@ def list( user_email=user_email, request_options=request_options, ) - return _response.data class AsyncAuditTrailClient: @@ -119,7 +124,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAuditLogEventList: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -148,7 +153,7 @@ async def list( Returns ------- - PaginatedAuditLogEventList + AsyncPager[AuditLogEvent] Examples @@ -164,7 +169,7 @@ async def list( async def main() -> None: - await client.ticketing.audit_trail.list( + response = await client.ticketing.audit_trail.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", event_type="event_type", @@ -172,11 +177,17 @@ async def main() -> None: start_date="start_date", user_email="user_email", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( cursor=cursor, end_date=end_date, event_type=event_type, @@ -185,4 +196,3 @@ async def main() -> None: user_email=user_email, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/audit_trail/raw_client.py b/src/merge/resources/ticketing/resources/audit_trail/raw_client.py index 6960431a..4459617f 100644 --- a/src/merge/resources/ticketing/resources/audit_trail/raw_client.py +++ b/src/merge/resources/ticketing/resources/audit_trail/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.audit_log_event import AuditLogEvent from ...types.paginated_audit_log_event_list import PaginatedAuditLogEventList @@ -25,7 +26,7 @@ def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAuditLogEventList]: + ) -> SyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -54,7 +55,7 @@ def list( Returns ------- - HttpResponse[PaginatedAuditLogEventList] + SyncPager[AuditLogEvent] """ _response = self._client_wrapper.httpx_client.request( @@ -72,14 +73,28 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -100,7 +115,7 @@ async def list( start_date: typing.Optional[str] = None, user_email: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAuditLogEventList]: + ) -> AsyncPager[AuditLogEvent]: """ Gets a list of audit trail events. @@ -129,7 +144,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAuditLogEventList] + AsyncPager[AuditLogEvent] """ _response = await self._client_wrapper.httpx_client.request( @@ -147,14 +162,31 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAuditLogEventList, construct_type( type_=PaginatedAuditLogEventList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + end_date=end_date, + event_type=event_type, + page_size=page_size, + start_date=start_date, + user_email=user_email, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/collections/__init__.py b/src/merge/resources/ticketing/resources/collections/__init__.py index 7b5531f7..e34feba0 100644 --- a/src/merge/resources/ticketing/resources/collections/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/__init__.py @@ -6,10 +6,17 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CollectionsListRequestCollectionType, CollectionsViewersListRequestExpand + from .types import ( + CollectionsListRequestCollectionType, + CollectionsListRequestExpandItem, + CollectionsRetrieveRequestExpandItem, + CollectionsViewersListRequestExpandItem, + ) _dynamic_imports: typing.Dict[str, str] = { "CollectionsListRequestCollectionType": ".types", - "CollectionsViewersListRequestExpand": ".types", + "CollectionsListRequestExpandItem": ".types", + "CollectionsRetrieveRequestExpandItem": ".types", + "CollectionsViewersListRequestExpandItem": ".types", } @@ -32,4 +39,9 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CollectionsListRequestCollectionType", "CollectionsViewersListRequestExpand"] +__all__ = [ + "CollectionsListRequestCollectionType", + "CollectionsListRequestExpandItem", + "CollectionsRetrieveRequestExpandItem", + "CollectionsViewersListRequestExpandItem", +] diff --git a/src/merge/resources/ticketing/resources/collections/client.py b/src/merge/resources/ticketing/resources/collections/client.py index 8a54426f..d2d264cd 100644 --- a/src/merge/resources/ticketing/resources/collections/client.py +++ b/src/merge/resources/ticketing/resources/collections/client.py @@ -4,13 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.collection import Collection -from ...types.paginated_collection_list import PaginatedCollectionList -from ...types.paginated_viewer_list import PaginatedViewerList +from ...types.viewer import Viewer from .raw_client import AsyncRawCollectionsClient, RawCollectionsClient from .types.collections_list_request_collection_type import CollectionsListRequestCollectionType -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand +from .types.collections_list_request_expand_item import CollectionsListRequestExpandItem +from .types.collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem +from .types.collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem class CollectionsClient: @@ -35,7 +37,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -48,7 +52,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCollectionList: + ) -> SyncPager[Collection]: """ Returns a list of `Collection` objects. @@ -66,7 +70,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -107,7 +111,7 @@ def list( Returns ------- - PaginatedCollectionList + SyncPager[Collection] Examples @@ -123,7 +127,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.collections.list( + response = client.ticketing.collections.list( collection_type=CollectionsListRequestCollectionType.EMPTY, created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -146,8 +150,13 @@ def list( parent_collection_id="parent_collection_id", remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -166,20 +175,23 @@ def list( show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data def viewers_list( self, collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> SyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -190,7 +202,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -203,38 +215,39 @@ def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedViewerList + SyncPager[Viewer] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.collections.viewers_list( + response = client.ticketing.collections.viewers_list( collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.viewers_list( + return self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -244,13 +257,14 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, @@ -264,7 +278,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -335,7 +349,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -348,7 +364,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCollectionList: + ) -> AsyncPager[Collection]: """ Returns a list of `Collection` objects. @@ -366,7 +382,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -407,7 +423,7 @@ async def list( Returns ------- - PaginatedCollectionList + AsyncPager[Collection] Examples @@ -427,7 +443,7 @@ async def list( async def main() -> None: - await client.ticketing.collections.list( + response = await client.ticketing.collections.list( collection_type=CollectionsListRequestCollectionType.EMPTY, created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", @@ -450,11 +466,17 @@ async def main() -> None: parent_collection_id="parent_collection_id", remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( collection_type=collection_type, created_after=created_after, created_before=created_before, @@ -473,20 +495,23 @@ async def main() -> None: show_enum_origins=show_enum_origins, request_options=request_options, ) - return _response.data async def viewers_list( self, collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> AsyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -497,7 +522,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -510,14 +535,14 @@ async def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedViewerList + AsyncPager[Viewer] Examples @@ -525,9 +550,6 @@ async def viewers_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.collections import ( - CollectionsViewersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -536,20 +558,25 @@ async def viewers_list( async def main() -> None: - await client.ticketing.collections.viewers_list( + response = await client.ticketing.collections.viewers_list( collection_id="collection_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CollectionsViewersListRequestExpand.TEAM, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.viewers_list( + return await self._raw_client.viewers_list( collection_id, cursor=cursor, expand=expand, @@ -559,13 +586,14 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, @@ -579,7 +607,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/collections/raw_client.py b/src/merge/resources/ticketing/resources/collections/raw_client.py index d44a6e8f..0cbb6d18 100644 --- a/src/merge/resources/ticketing/resources/collections/raw_client.py +++ b/src/merge/resources/ticketing/resources/collections/raw_client.py @@ -9,13 +9,17 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.collection import Collection from ...types.paginated_collection_list import PaginatedCollectionList from ...types.paginated_viewer_list import PaginatedViewerList +from ...types.viewer import Viewer from .types.collections_list_request_collection_type import CollectionsListRequestCollectionType -from .types.collections_viewers_list_request_expand import CollectionsViewersListRequestExpand +from .types.collections_list_request_expand_item import CollectionsListRequestExpandItem +from .types.collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem +from .types.collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem class RawCollectionsClient: @@ -29,7 +33,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,7 +48,7 @@ def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCollectionList]: + ) -> SyncPager[Collection]: """ Returns a list of `Collection` objects. @@ -60,7 +66,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -101,7 +107,7 @@ def list( Returns ------- - HttpResponse[PaginatedCollectionList] + SyncPager[Collection] """ _response = self._client_wrapper.httpx_client.request( @@ -129,14 +135,38 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCollectionList, construct_type( type_=PaginatedCollectionList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + collection_type=collection_type, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_collection_id=parent_collection_id, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -147,13 +177,17 @@ def viewers_list( collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedViewerList]: + ) -> SyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -164,7 +198,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -177,14 +211,14 @@ def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedViewerList] + SyncPager[Viewer] """ _response = self._client_wrapper.httpx_client.request( @@ -202,14 +236,29 @@ def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.viewers_list( + collection_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -219,7 +268,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, @@ -233,7 +284,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -295,7 +346,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -308,7 +361,7 @@ async def list( remote_id: typing.Optional[str] = None, show_enum_origins: typing.Optional[typing.Literal["collection_type"]] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCollectionList]: + ) -> AsyncPager[Collection]: """ Returns a list of `Collection` objects. @@ -326,7 +379,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsListRequestExpandItem, typing.Sequence[CollectionsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -367,7 +420,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCollectionList] + AsyncPager[Collection] """ _response = await self._client_wrapper.httpx_client.request( @@ -395,14 +448,41 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCollectionList, construct_type( type_=PaginatedCollectionList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + collection_type=collection_type, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_collection_id=parent_collection_id, + remote_fields=remote_fields, + remote_id=remote_id, + show_enum_origins=show_enum_origins, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -413,13 +493,17 @@ async def viewers_list( collection_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[CollectionsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ + CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem] + ] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedViewerList]: + ) -> AsyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Collection` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -430,7 +514,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CollectionsViewersListRequestExpand] + expand : typing.Optional[typing.Union[CollectionsViewersListRequestExpandItem, typing.Sequence[CollectionsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -443,14 +527,14 @@ async def viewers_list( Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). page_size : typing.Optional[int] - Number of results to return per page. + Number of results to return per page. The maximum limit is 100. request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedViewerList] + AsyncPager[Viewer] """ _response = await self._client_wrapper.httpx_client.request( @@ -468,14 +552,32 @@ async def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.viewers_list( + collection_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -485,7 +587,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["parent_collection"]] = None, + expand: typing.Optional[ + typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, remote_fields: typing.Optional[typing.Literal["collection_type"]] = None, @@ -499,7 +603,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["parent_collection"]] + expand : typing.Optional[typing.Union[CollectionsRetrieveRequestExpandItem, typing.Sequence[CollectionsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/collections/types/__init__.py b/src/merge/resources/ticketing/resources/collections/types/__init__.py index e0b3499d..ca31731a 100644 --- a/src/merge/resources/ticketing/resources/collections/types/__init__.py +++ b/src/merge/resources/ticketing/resources/collections/types/__init__.py @@ -7,10 +7,14 @@ if typing.TYPE_CHECKING: from .collections_list_request_collection_type import CollectionsListRequestCollectionType - from .collections_viewers_list_request_expand import CollectionsViewersListRequestExpand + from .collections_list_request_expand_item import CollectionsListRequestExpandItem + from .collections_retrieve_request_expand_item import CollectionsRetrieveRequestExpandItem + from .collections_viewers_list_request_expand_item import CollectionsViewersListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { "CollectionsListRequestCollectionType": ".collections_list_request_collection_type", - "CollectionsViewersListRequestExpand": ".collections_viewers_list_request_expand", + "CollectionsListRequestExpandItem": ".collections_list_request_expand_item", + "CollectionsRetrieveRequestExpandItem": ".collections_retrieve_request_expand_item", + "CollectionsViewersListRequestExpandItem": ".collections_viewers_list_request_expand_item", } @@ -33,4 +37,9 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CollectionsListRequestCollectionType", "CollectionsViewersListRequestExpand"] +__all__ = [ + "CollectionsListRequestCollectionType", + "CollectionsListRequestExpandItem", + "CollectionsRetrieveRequestExpandItem", + "CollectionsViewersListRequestExpandItem", +] diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py new file mode 100644 index 00000000..1985cd82 --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_list_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsListRequestExpandItem(str, enum.Enum): + PARENT_COLLECTION = "parent_collection" + PERMISSIONS = "permissions" + + def visit( + self, parent_collection: typing.Callable[[], T_Result], permissions: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CollectionsListRequestExpandItem.PARENT_COLLECTION: + return parent_collection() + if self is CollectionsListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py new file mode 100644 index 00000000..eacfffaf --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_retrieve_request_expand_item.py @@ -0,0 +1,19 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsRetrieveRequestExpandItem(str, enum.Enum): + PARENT_COLLECTION = "parent_collection" + PERMISSIONS = "permissions" + + def visit( + self, parent_collection: typing.Callable[[], T_Result], permissions: typing.Callable[[], T_Result] + ) -> T_Result: + if self is CollectionsRetrieveRequestExpandItem.PARENT_COLLECTION: + return parent_collection() + if self is CollectionsRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py deleted file mode 100644 index 1382dd6a..00000000 --- a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CollectionsViewersListRequestExpand(str, enum.Enum): - TEAM = "team" - USER = "user" - USER_TEAM = "user,team" - - def visit( - self, - team: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CollectionsViewersListRequestExpand.TEAM: - return team() - if self is CollectionsViewersListRequestExpand.USER: - return user() - if self is CollectionsViewersListRequestExpand.USER_TEAM: - return user_team() diff --git a/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py new file mode 100644 index 00000000..9ce4bd1a --- /dev/null +++ b/src/merge/resources/ticketing/resources/collections/types/collections_viewers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CollectionsViewersListRequestExpandItem(str, enum.Enum): + TEAM = "team" + USER = "user" + + def visit(self, team: typing.Callable[[], T_Result], user: typing.Callable[[], T_Result]) -> T_Result: + if self is CollectionsViewersListRequestExpandItem.TEAM: + return team() + if self is CollectionsViewersListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/comments/__init__.py b/src/merge/resources/ticketing/resources/comments/__init__.py index 1a37068c..024162c5 100644 --- a/src/merge/resources/ticketing/resources/comments/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/__init__.py @@ -6,10 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import CommentsListRequestExpand, CommentsRetrieveRequestExpand + from .types import CommentsListRequestExpandItem, CommentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CommentsListRequestExpand": ".types", - "CommentsRetrieveRequestExpand": ".types", + "CommentsListRequestExpandItem": ".types", + "CommentsRetrieveRequestExpandItem": ".types", } @@ -32,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"] +__all__ = ["CommentsListRequestExpandItem", "CommentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/comments/client.py b/src/merge/resources/ticketing/resources/comments/client.py index 73fa1ee6..137d7cf4 100644 --- a/src/merge/resources/ticketing/resources/comments/client.py +++ b/src/merge/resources/ticketing/resources/comments/client.py @@ -4,15 +4,15 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.comment import Comment from ...types.comment_request import CommentRequest from ...types.comment_response import CommentResponse from ...types.meta_response import MetaResponse -from ...types.paginated_comment_list import PaginatedCommentList from .raw_client import AsyncRawCommentsClient, RawCommentsClient -from .types.comments_list_request_expand import CommentsListRequestExpand -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand +from .types.comments_list_request_expand_item import CommentsListRequestExpandItem +from .types.comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -39,7 +39,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -50,7 +52,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCommentList: + ) -> SyncPager[Comment]: """ Returns a list of `Comment` objects. @@ -65,7 +67,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -100,7 +102,7 @@ def list( Returns ------- - PaginatedCommentList + SyncPager[Comment] Examples @@ -108,15 +110,12 @@ def list( import datetime from merge import Merge - from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.comments.list( + response = client.ticketing.comments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -124,7 +123,6 @@ def list( "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -141,8 +139,13 @@ def list( remote_id="remote_id", ticket_id="ticket_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -158,7 +161,6 @@ def list( ticket_id=ticket_id, request_options=request_options, ) - return _response.data def create( self, @@ -213,7 +215,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -225,7 +229,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -245,9 +249,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -255,7 +256,6 @@ def retrieve( ) client.ticketing.comments.retrieve( id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, include_remote_data=True, include_shell_data=True, ) @@ -318,7 +318,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -329,7 +331,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedCommentList: + ) -> AsyncPager[Comment]: """ Returns a list of `Comment` objects. @@ -344,7 +346,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -379,7 +381,7 @@ async def list( Returns ------- - PaginatedCommentList + AsyncPager[Comment] Examples @@ -388,9 +390,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.comments import ( - CommentsListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -399,7 +398,7 @@ async def list( async def main() -> None: - await client.ticketing.comments.list( + response = await client.ticketing.comments.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -407,7 +406,6 @@ async def main() -> None: "2024-01-15 09:30:00+00:00", ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=CommentsListRequestExpand.CONTACT, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -424,11 +422,17 @@ async def main() -> None: remote_id="remote_id", ticket_id="ticket_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -444,7 +448,6 @@ async def main() -> None: ticket_id=ticket_id, request_options=request_options, ) - return _response.data async def create( self, @@ -507,7 +510,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -519,7 +524,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -541,9 +546,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.comments import ( - CommentsRetrieveRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -554,7 +556,6 @@ async def retrieve( async def main() -> None: await client.ticketing.comments.retrieve( id="id", - expand=CommentsRetrieveRequestExpand.CONTACT, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/comments/raw_client.py b/src/merge/resources/ticketing/resources/comments/raw_client.py index b4c11960..a4516c6e 100644 --- a/src/merge/resources/ticketing/resources/comments/raw_client.py +++ b/src/merge/resources/ticketing/resources/comments/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.comment import Comment @@ -16,8 +17,8 @@ from ...types.comment_response import CommentResponse from ...types.meta_response import MetaResponse from ...types.paginated_comment_list import PaginatedCommentList -from .types.comments_list_request_expand import CommentsListRequestExpand -from .types.comments_retrieve_request_expand import CommentsRetrieveRequestExpand +from .types.comments_list_request_expand_item import CommentsListRequestExpandItem +from .types.comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -33,7 +34,9 @@ def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -44,7 +47,7 @@ def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedCommentList]: + ) -> SyncPager[Comment]: """ Returns a list of `Comment` objects. @@ -59,7 +62,7 @@ def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +97,7 @@ def list( Returns ------- - HttpResponse[PaginatedCommentList] + SyncPager[Comment] """ _response = self._client_wrapper.httpx_client.request( @@ -121,14 +124,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCommentList, construct_type( type_=PaginatedCommentList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -198,7 +222,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -210,7 +236,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -299,7 +325,9 @@ async def list( created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, - expand: typing.Optional[CommentsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +338,7 @@ async def list( remote_id: typing.Optional[str] = None, ticket_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedCommentList]: + ) -> AsyncPager[Comment]: """ Returns a list of `Comment` objects. @@ -325,7 +353,7 @@ async def list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[CommentsListRequestExpand] + expand : typing.Optional[typing.Union[CommentsListRequestExpandItem, typing.Sequence[CommentsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -360,7 +388,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedCommentList] + AsyncPager[Comment] """ _response = await self._client_wrapper.httpx_client.request( @@ -387,14 +415,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedCommentList, construct_type( type_=PaginatedCommentList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_created_after=remote_created_after, + remote_id=remote_id, + ticket_id=ticket_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -464,7 +516,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[CommentsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -476,7 +530,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[CommentsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[CommentsRetrieveRequestExpandItem, typing.Sequence[CommentsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/comments/types/__init__.py b/src/merge/resources/ticketing/resources/comments/types/__init__.py index 8a5f64ab..485b83cf 100644 --- a/src/merge/resources/ticketing/resources/comments/types/__init__.py +++ b/src/merge/resources/ticketing/resources/comments/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .comments_list_request_expand import CommentsListRequestExpand - from .comments_retrieve_request_expand import CommentsRetrieveRequestExpand + from .comments_list_request_expand_item import CommentsListRequestExpandItem + from .comments_retrieve_request_expand_item import CommentsRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "CommentsListRequestExpand": ".comments_list_request_expand", - "CommentsRetrieveRequestExpand": ".comments_retrieve_request_expand", + "CommentsListRequestExpandItem": ".comments_list_request_expand_item", + "CommentsRetrieveRequestExpandItem": ".comments_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["CommentsListRequestExpand", "CommentsRetrieveRequestExpand"] +__all__ = ["CommentsListRequestExpandItem", "CommentsRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py deleted file mode 100644 index 81453337..00000000 --- a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CommentsListRequestExpand(str, enum.Enum): - CONTACT = "contact" - CONTACT_TICKET = "contact,ticket" - TICKET = "ticket" - USER = "user" - USER_CONTACT = "user,contact" - USER_CONTACT_TICKET = "user,contact,ticket" - USER_TICKET = "user,ticket" - - def visit( - self, - contact: typing.Callable[[], T_Result], - contact_ticket: typing.Callable[[], T_Result], - ticket: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_contact: typing.Callable[[], T_Result], - user_contact_ticket: typing.Callable[[], T_Result], - user_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CommentsListRequestExpand.CONTACT: - return contact() - if self is CommentsListRequestExpand.CONTACT_TICKET: - return contact_ticket() - if self is CommentsListRequestExpand.TICKET: - return ticket() - if self is CommentsListRequestExpand.USER: - return user() - if self is CommentsListRequestExpand.USER_CONTACT: - return user_contact() - if self is CommentsListRequestExpand.USER_CONTACT_TICKET: - return user_contact_ticket() - if self is CommentsListRequestExpand.USER_TICKET: - return user_ticket() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py new file mode 100644 index 00000000..9d1695ba --- /dev/null +++ b/src/merge/resources/ticketing/resources/comments/types/comments_list_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CommentsListRequestExpandItem(str, enum.Enum): + CONTACT = "contact" + TICKET = "ticket" + USER = "user" + + def visit( + self, + contact: typing.Callable[[], T_Result], + ticket: typing.Callable[[], T_Result], + user: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CommentsListRequestExpandItem.CONTACT: + return contact() + if self is CommentsListRequestExpandItem.TICKET: + return ticket() + if self is CommentsListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py deleted file mode 100644 index e0ade3cb..00000000 --- a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand.py +++ /dev/null @@ -1,41 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class CommentsRetrieveRequestExpand(str, enum.Enum): - CONTACT = "contact" - CONTACT_TICKET = "contact,ticket" - TICKET = "ticket" - USER = "user" - USER_CONTACT = "user,contact" - USER_CONTACT_TICKET = "user,contact,ticket" - USER_TICKET = "user,ticket" - - def visit( - self, - contact: typing.Callable[[], T_Result], - contact_ticket: typing.Callable[[], T_Result], - ticket: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_contact: typing.Callable[[], T_Result], - user_contact_ticket: typing.Callable[[], T_Result], - user_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is CommentsRetrieveRequestExpand.CONTACT: - return contact() - if self is CommentsRetrieveRequestExpand.CONTACT_TICKET: - return contact_ticket() - if self is CommentsRetrieveRequestExpand.TICKET: - return ticket() - if self is CommentsRetrieveRequestExpand.USER: - return user() - if self is CommentsRetrieveRequestExpand.USER_CONTACT: - return user_contact() - if self is CommentsRetrieveRequestExpand.USER_CONTACT_TICKET: - return user_contact_ticket() - if self is CommentsRetrieveRequestExpand.USER_TICKET: - return user_ticket() diff --git a/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py new file mode 100644 index 00000000..1cc39df9 --- /dev/null +++ b/src/merge/resources/ticketing/resources/comments/types/comments_retrieve_request_expand_item.py @@ -0,0 +1,25 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class CommentsRetrieveRequestExpandItem(str, enum.Enum): + CONTACT = "contact" + TICKET = "ticket" + USER = "user" + + def visit( + self, + contact: typing.Callable[[], T_Result], + ticket: typing.Callable[[], T_Result], + user: typing.Callable[[], T_Result], + ) -> T_Result: + if self is CommentsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is CommentsRetrieveRequestExpandItem.TICKET: + return ticket() + if self is CommentsRetrieveRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/contacts/client.py b/src/merge/resources/ticketing/resources/contacts/client.py index 7d63c6f3..e816caae 100644 --- a/src/merge/resources/ticketing/resources/contacts/client.py +++ b/src/merge/resources/ticketing/resources/contacts/client.py @@ -4,11 +4,11 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.contact import Contact from ...types.contact_request import ContactRequest from ...types.meta_response import MetaResponse -from ...types.paginated_contact_list import PaginatedContactList from ...types.ticketing_contact_response import TicketingContactResponse from .raw_client import AsyncRawContactsClient, RawContactsClient @@ -38,7 +38,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -47,7 +49,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -65,7 +67,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -94,7 +96,7 @@ def list( Returns ------- - PaginatedContactList + SyncPager[Contact] Examples @@ -107,7 +109,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.contacts.list( + response = client.ticketing.contacts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -128,8 +130,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -144,7 +151,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def create( self, @@ -199,7 +205,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -211,7 +219,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -301,7 +309,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -310,7 +320,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedContactList: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -328,7 +338,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -357,7 +367,7 @@ async def list( Returns ------- - PaginatedContactList + AsyncPager[Contact] Examples @@ -374,7 +384,7 @@ async def list( async def main() -> None: - await client.ticketing.contacts.list( + response = await client.ticketing.contacts.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -395,11 +405,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -414,7 +430,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def create( self, @@ -477,7 +492,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -489,7 +506,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/contacts/raw_client.py b/src/merge/resources/ticketing/resources/contacts/raw_client.py index d4f89160..a7a92006 100644 --- a/src/merge/resources/ticketing/resources/contacts/raw_client.py +++ b/src/merge/resources/ticketing/resources/contacts/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.contact import Contact @@ -32,7 +33,9 @@ def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -41,7 +44,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedContactList]: + ) -> SyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -59,7 +62,7 @@ def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -88,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedContactList] + SyncPager[Contact] """ _response = self._client_wrapper.httpx_client.request( @@ -112,14 +115,34 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -189,7 +212,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -201,7 +226,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -291,7 +316,9 @@ async def list( created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -300,7 +327,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedContactList]: + ) -> AsyncPager[Contact]: """ Returns a list of `Contact` objects. @@ -318,7 +345,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return Contacts that match this email. - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -347,7 +374,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedContactList] + AsyncPager[Contact] """ _response = await self._client_wrapper.httpx_client.request( @@ -371,14 +398,37 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedContactList, construct_type( type_=PaginatedContactList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -448,7 +498,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[typing.Literal["account"]] = None, + expand: typing.Optional[ + typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -460,7 +512,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[typing.Literal["account"]] + expand : typing.Optional[typing.Union[typing.Literal["account"], typing.Sequence[typing.Literal["account"]]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/field_mapping/client.py b/src/merge/resources/ticketing/resources/field_mapping/client.py index 8cbd3674..04b3aa9a 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/client.py @@ -78,6 +78,7 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: @@ -107,6 +108,9 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + jmes_path : typing.Optional[str] JMES path to specify json query expression to be used on field mapping. @@ -128,6 +132,7 @@ def field_mappings_create( ) client.ticketing.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -144,6 +149,7 @@ def field_mappings_create( remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, jmes_path=jmes_path, request_options=request_options, ) @@ -186,6 +192,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -199,6 +206,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -229,10 +239,12 @@ def field_mappings_partial_update( ) client.ticketing.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) """ _response = self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, @@ -387,6 +399,7 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> FieldMappingInstanceResponse: @@ -416,6 +429,9 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + jmes_path : typing.Optional[str] JMES path to specify json query expression to be used on field mapping. @@ -442,6 +458,7 @@ async def field_mappings_create( async def main() -> None: await client.ticketing.field_mapping.field_mappings_create( exclude_remote_field_metadata=True, + remote_data_iteration_count=1, target_field_name="example_target_field_name", target_field_description="this is a example description of the target field", remote_field_traversal_path=["example_remote_field"], @@ -461,6 +478,7 @@ async def main() -> None: remote_url_path=remote_url_path, common_model_name=common_model_name, exclude_remote_field_metadata=exclude_remote_field_metadata, + remote_data_iteration_count=remote_data_iteration_count, jmes_path=jmes_path, request_options=request_options, ) @@ -511,6 +529,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -524,6 +543,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -559,6 +581,7 @@ async def field_mappings_partial_update( async def main() -> None: await client.ticketing.field_mapping.field_mappings_partial_update( field_mapping_id="field_mapping_id", + remote_data_iteration_count=1, ) @@ -566,6 +589,7 @@ async def main() -> None: """ _response = await self._raw_client.field_mappings_partial_update( field_mapping_id, + remote_data_iteration_count=remote_data_iteration_count, remote_field_traversal_path=remote_field_traversal_path, remote_method=remote_method, remote_url_path=remote_url_path, diff --git a/src/merge/resources/ticketing/resources/field_mapping/raw_client.py b/src/merge/resources/ticketing/resources/field_mapping/raw_client.py index 1609c8ac..cf42f54a 100644 --- a/src/merge/resources/ticketing/resources/field_mapping/raw_client.py +++ b/src/merge/resources/ticketing/resources/field_mapping/raw_client.py @@ -77,6 +77,7 @@ def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[FieldMappingInstanceResponse]: @@ -106,6 +107,9 @@ def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + jmes_path : typing.Optional[str] JMES path to specify json query expression to be used on field mapping. @@ -122,6 +126,7 @@ def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -195,6 +200,7 @@ def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -208,6 +214,9 @@ def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -231,6 +240,9 @@ def field_mappings_partial_update( _response = self._client_wrapper.httpx_client.request( f"ticketing/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, @@ -404,6 +416,7 @@ async def field_mappings_create( remote_url_path: str, common_model_name: str, exclude_remote_field_metadata: typing.Optional[bool] = None, + remote_data_iteration_count: typing.Optional[int] = None, jmes_path: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[FieldMappingInstanceResponse]: @@ -433,6 +446,9 @@ async def field_mappings_create( exclude_remote_field_metadata : typing.Optional[bool] If `true`, remote fields metadata is excluded from each field mapping instance (i.e. `remote_fields.remote_key_name` and `remote_fields.schema` will be null). This will increase the speed of the request since these fields require some calculations. + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + jmes_path : typing.Optional[str] JMES path to specify json query expression to be used on field mapping. @@ -449,6 +465,7 @@ async def field_mappings_create( method="POST", params={ "exclude_remote_field_metadata": exclude_remote_field_metadata, + "remote_data_iteration_count": remote_data_iteration_count, }, json={ "target_field_name": target_field_name, @@ -522,6 +539,7 @@ async def field_mappings_partial_update( self, field_mapping_id: str, *, + remote_data_iteration_count: typing.Optional[int] = None, remote_field_traversal_path: typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] = OMIT, remote_method: typing.Optional[str] = OMIT, remote_url_path: typing.Optional[str] = OMIT, @@ -535,6 +553,9 @@ async def field_mappings_partial_update( ---------- field_mapping_id : str + remote_data_iteration_count : typing.Optional[int] + Number of common model instances to iterate through when fetching remote data for field mappings. Defaults to 250 if not provided. + remote_field_traversal_path : typing.Optional[typing.Sequence[typing.Optional[typing.Any]]] The field traversal path of the remote field listed when you hit the GET /remote-fields endpoint. @@ -558,6 +579,9 @@ async def field_mappings_partial_update( _response = await self._client_wrapper.httpx_client.request( f"ticketing/v1/field-mappings/{jsonable_encoder(field_mapping_id)}", method="PATCH", + params={ + "remote_data_iteration_count": remote_data_iteration_count, + }, json={ "remote_field_traversal_path": remote_field_traversal_path, "remote_method": remote_method, diff --git a/src/merge/resources/ticketing/resources/issues/client.py b/src/merge/resources/ticketing/resources/issues/client.py index d5bd9179..756dcfb7 100644 --- a/src/merge/resources/ticketing/resources/issues/client.py +++ b/src/merge/resources/ticketing/resources/issues/client.py @@ -4,9 +4,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.issue import Issue -from ...types.paginated_issue_list import PaginatedIssueList from .raw_client import AsyncRawIssuesClient, RawIssuesClient from .types.issues_list_request_status import IssuesListRequestStatus @@ -44,7 +44,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -97,7 +97,7 @@ def list( Returns ------- - PaginatedIssueList + SyncPager[Issue] Examples @@ -111,7 +111,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.issues.list( + response = client.ticketing.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -135,8 +135,13 @@ def list( start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -153,7 +158,6 @@ def list( status=status, request_options=request_options, ) - return _response.data def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ @@ -220,7 +224,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedIssueList: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -273,7 +277,7 @@ async def list( Returns ------- - PaginatedIssueList + AsyncPager[Issue] Examples @@ -291,7 +295,7 @@ async def list( async def main() -> None: - await client.ticketing.issues.list( + response = await client.ticketing.issues.list( account_token="account_token", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_date="end_date", @@ -315,11 +319,17 @@ async def main() -> None: start_date="start_date", status=IssuesListRequestStatus.ONGOING, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_token=account_token, cursor=cursor, end_date=end_date, @@ -336,7 +346,6 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data async def retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> Issue: """ diff --git a/src/merge/resources/ticketing/resources/issues/raw_client.py b/src/merge/resources/ticketing/resources/issues/raw_client.py index 09986b0c..9f067bca 100644 --- a/src/merge/resources/ticketing/resources/issues/raw_client.py +++ b/src/merge/resources/ticketing/resources/issues/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.issue import Issue @@ -38,7 +39,7 @@ def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedIssueList]: + ) -> SyncPager[Issue]: """ Gets all issues for Organization. @@ -91,7 +92,7 @@ def list( Returns ------- - HttpResponse[PaginatedIssueList] + SyncPager[Issue] """ _response = self._client_wrapper.httpx_client.request( @@ -125,14 +126,36 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -197,7 +220,7 @@ async def list( start_date: typing.Optional[str] = None, status: typing.Optional[IssuesListRequestStatus] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedIssueList]: + ) -> AsyncPager[Issue]: """ Gets all issues for Organization. @@ -250,7 +273,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedIssueList] + AsyncPager[Issue] """ _response = await self._client_wrapper.httpx_client.request( @@ -284,14 +307,39 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedIssueList, construct_type( type_=PaginatedIssueList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_token=account_token, + cursor=_parsed_next, + end_date=end_date, + end_user_organization_name=end_user_organization_name, + first_incident_time_after=first_incident_time_after, + first_incident_time_before=first_incident_time_before, + include_muted=include_muted, + integration_name=integration_name, + last_incident_time_after=last_incident_time_after, + last_incident_time_before=last_incident_time_before, + linked_account_id=linked_account_id, + page_size=page_size, + start_date=start_date, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/link_token/__init__.py b/src/merge/resources/ticketing/resources/link_token/__init__.py index be8c3839..3bad6adf 100644 --- a/src/merge/resources/ticketing/resources/link_token/__init__.py +++ b/src/merge/resources/ticketing/resources/link_token/__init__.py @@ -6,11 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import EndUserDetailsRequestCompletedAccountInitialScreen, EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".types", - "EndUserDetailsRequestLanguage": ".types", -} + from .types import EndUserDetailsRequestLanguage +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -32,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ticketing/resources/link_token/client.py b/src/merge/resources/ticketing/resources/link_token/client.py index 9dba6f77..9b98f597 100644 --- a/src/merge/resources/ticketing/resources/link_token/client.py +++ b/src/merge/resources/ticketing/resources/link_token/client.py @@ -9,9 +9,6 @@ from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken from .raw_client import AsyncRawLinkTokenClient, RawLinkTokenClient -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -51,11 +48,10 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -101,11 +97,6 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -144,7 +135,6 @@ def create( language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data @@ -183,11 +173,10 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> LinkToken: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -233,11 +222,6 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -284,7 +268,6 @@ async def main() -> None: language=language, are_syncs_disabled=are_syncs_disabled, integration_specific_config=integration_specific_config, - completed_account_initial_screen=completed_account_initial_screen, request_options=request_options, ) return _response.data diff --git a/src/merge/resources/ticketing/resources/link_token/raw_client.py b/src/merge/resources/ticketing/resources/link_token/raw_client.py index b93faced..2bb04483 100644 --- a/src/merge/resources/ticketing/resources/link_token/raw_client.py +++ b/src/merge/resources/ticketing/resources/link_token/raw_client.py @@ -12,9 +12,6 @@ from ...types.common_model_scopes_body_request import CommonModelScopesBodyRequest from ...types.individual_common_model_scope_deserializer_request import IndividualCommonModelScopeDeserializerRequest from ...types.link_token import LinkToken -from .types.end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, -) from .types.end_user_details_request_language import EndUserDetailsRequestLanguage # this is used as the default value for optional parameters @@ -43,11 +40,10 @@ def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> HttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -93,11 +89,6 @@ def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -123,7 +114,6 @@ def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", @@ -169,11 +159,10 @@ async def create( language: typing.Optional[EndUserDetailsRequestLanguage] = OMIT, are_syncs_disabled: typing.Optional[bool] = OMIT, integration_specific_config: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT, - completed_account_initial_screen: typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] = OMIT, request_options: typing.Optional[RequestOptions] = None, ) -> AsyncHttpResponse[LinkToken]: """ - Creates a link token to be used when linking a new end user. + Creates a link token to be used when linking a new end user. The link token expires after single use. Parameters ---------- @@ -219,11 +208,6 @@ async def create( integration_specific_config : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] A JSON object containing integration-specific configuration options. - completed_account_initial_screen : typing.Optional[EndUserDetailsRequestCompletedAccountInitialScreen] - When creating a Link token, you can specifiy the initial screen of Linking Flow for a completed Linked Account. - - * `SELECTIVE_SYNC` - SELECTIVE_SYNC - request_options : typing.Optional[RequestOptions] Request-specific configuration. @@ -249,7 +233,6 @@ async def create( "language": language, "are_syncs_disabled": are_syncs_disabled, "integration_specific_config": integration_specific_config, - "completed_account_initial_screen": completed_account_initial_screen, }, headers={ "content-type": "application/json", diff --git a/src/merge/resources/ticketing/resources/link_token/types/__init__.py b/src/merge/resources/ticketing/resources/link_token/types/__init__.py index 55cc1d4e..e9a7d3b9 100644 --- a/src/merge/resources/ticketing/resources/link_token/types/__init__.py +++ b/src/merge/resources/ticketing/resources/link_token/types/__init__.py @@ -6,14 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .end_user_details_request_completed_account_initial_screen import ( - EndUserDetailsRequestCompletedAccountInitialScreen, - ) from .end_user_details_request_language import EndUserDetailsRequestLanguage -_dynamic_imports: typing.Dict[str, str] = { - "EndUserDetailsRequestCompletedAccountInitialScreen": ".end_user_details_request_completed_account_initial_screen", - "EndUserDetailsRequestLanguage": ".end_user_details_request_language", -} +_dynamic_imports: typing.Dict[str, str] = {"EndUserDetailsRequestLanguage": ".end_user_details_request_language"} def __getattr__(attr_name: str) -> typing.Any: @@ -35,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["EndUserDetailsRequestCompletedAccountInitialScreen", "EndUserDetailsRequestLanguage"] +__all__ = ["EndUserDetailsRequestLanguage"] diff --git a/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py b/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py deleted file mode 100644 index 0c5d586d..00000000 --- a/src/merge/resources/ticketing/resources/link_token/types/end_user_details_request_completed_account_initial_screen.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from ....types.completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum - -EndUserDetailsRequestCompletedAccountInitialScreen = typing.Union[CompletedAccountInitialScreenEnum, str] diff --git a/src/merge/resources/ticketing/resources/linked_accounts/client.py b/src/merge/resources/ticketing/resources/linked_accounts/client.py index 59ed7936..1bf33d77 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList +from ...types.account_details_and_actions import AccountDetailsAndActions from .raw_client import AsyncRawLinkedAccountsClient, RawLinkedAccountsClient from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -41,7 +42,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -98,7 +99,7 @@ def list( Returns ------- - PaginatedAccountDetailsAndActionsList + SyncPager[AccountDetailsAndActions] Examples @@ -112,7 +113,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.linked_accounts.list( + response = client.ticketing.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -127,8 +128,13 @@ def list( page_size=1, status="status", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -144,7 +150,6 @@ def list( status=status, request_options=request_options, ) - return _response.data class AsyncLinkedAccountsClient: @@ -179,7 +184,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedAccountDetailsAndActionsList: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -236,7 +241,7 @@ async def list( Returns ------- - PaginatedAccountDetailsAndActionsList + AsyncPager[AccountDetailsAndActions] Examples @@ -255,7 +260,7 @@ async def list( async def main() -> None: - await client.ticketing.linked_accounts.list( + response = await client.ticketing.linked_accounts.list( category=LinkedAccountsListRequestCategory.ACCOUNTING, cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", end_user_email_address="end_user_email_address", @@ -270,11 +275,17 @@ async def main() -> None: page_size=1, status="status", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( category=category, cursor=cursor, end_user_email_address=end_user_email_address, @@ -290,4 +301,3 @@ async def main() -> None: status=status, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py b/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py index 5526d4f8..3df8d2b6 100644 --- a/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py +++ b/src/merge/resources/ticketing/resources/linked_accounts/raw_client.py @@ -5,9 +5,10 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type +from ...types.account_details_and_actions import AccountDetailsAndActions from ...types.paginated_account_details_and_actions_list import PaginatedAccountDetailsAndActionsList from .types.linked_accounts_list_request_category import LinkedAccountsListRequestCategory @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> SyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -90,7 +91,7 @@ def list( Returns ------- - HttpResponse[PaginatedAccountDetailsAndActionsList] + SyncPager[AccountDetailsAndActions] """ _response = self._client_wrapper.httpx_client.request( @@ -115,14 +116,35 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -150,7 +172,7 @@ async def list( page_size: typing.Optional[int] = None, status: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedAccountDetailsAndActionsList]: + ) -> AsyncPager[AccountDetailsAndActions]: """ List linked accounts for your organization. @@ -207,7 +229,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedAccountDetailsAndActionsList] + AsyncPager[AccountDetailsAndActions] """ _response = await self._client_wrapper.httpx_client.request( @@ -232,14 +254,38 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedAccountDetailsAndActionsList, construct_type( type_=PaginatedAccountDetailsAndActionsList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + category=category, + cursor=_parsed_next, + end_user_email_address=end_user_email_address, + end_user_organization_name=end_user_organization_name, + end_user_origin_id=end_user_origin_id, + end_user_origin_ids=end_user_origin_ids, + id=id, + ids=ids, + include_duplicates=include_duplicates, + integration_name=integration_name, + is_test_account=is_test_account, + page_size=page_size, + status=status, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/projects/__init__.py b/src/merge/resources/ticketing/resources/projects/__init__.py index 177f19e3..4017e304 100644 --- a/src/merge/resources/ticketing/resources/projects/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/__init__.py @@ -6,8 +6,8 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import ProjectsUsersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".types"} + from .types import ProjectsUsersListRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpandItem": ".types"} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +29,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsUsersListRequestExpand"] +__all__ = ["ProjectsUsersListRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/projects/client.py b/src/merge/resources/ticketing/resources/projects/client.py index 133cfa0d..ee7bcef9 100644 --- a/src/merge/resources/ticketing/resources/projects/client.py +++ b/src/merge/resources/ticketing/resources/projects/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_project_list import PaginatedProjectList -from ...types.paginated_user_list import PaginatedUserList from ...types.project import Project +from ...types.user import User from .raw_client import AsyncRawProjectsClient, RawProjectsClient -from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand +from .types.projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem class ProjectsClient: @@ -41,7 +41,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> SyncPager[Project]: """ Returns a list of `Project` objects. @@ -72,7 +72,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -82,7 +82,7 @@ def list( Returns ------- - PaginatedProjectList + SyncPager[Project] Examples @@ -95,7 +95,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.projects.list( + response = client.ticketing.projects.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -115,8 +115,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -129,7 +134,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -187,13 +191,15 @@ def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -204,7 +210,7 @@ def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -224,31 +230,32 @@ def users_list( Returns ------- - PaginatedUserList + SyncPager[User] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.projects.users_list( + response = client.ticketing.projects.users_list( parent_id="parent_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.users_list( + return self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -258,7 +265,6 @@ def users_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncProjectsClient: @@ -290,7 +296,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedProjectList: + ) -> AsyncPager[Project]: """ Returns a list of `Project` objects. @@ -321,7 +327,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -331,7 +337,7 @@ async def list( Returns ------- - PaginatedProjectList + AsyncPager[Project] Examples @@ -348,7 +354,7 @@ async def list( async def main() -> None: - await client.ticketing.projects.list( + response = await client.ticketing.projects.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -368,11 +374,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -385,7 +397,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, @@ -451,13 +462,15 @@ async def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -468,7 +481,7 @@ async def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -488,7 +501,7 @@ async def users_list( Returns ------- - PaginatedUserList + AsyncPager[User] Examples @@ -496,9 +509,6 @@ async def users_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.projects import ( - ProjectsUsersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -507,20 +517,25 @@ async def users_list( async def main() -> None: - await client.ticketing.projects.users_list( + response = await client.ticketing.projects.users_list( parent_id="parent_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=ProjectsUsersListRequestExpand.ROLES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.users_list( + return await self._raw_client.users_list( parent_id, cursor=cursor, expand=expand, @@ -530,4 +545,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/projects/raw_client.py b/src/merge/resources/ticketing/resources/projects/raw_client.py index ccc990a5..3b3ede37 100644 --- a/src/merge/resources/ticketing/resources/projects/raw_client.py +++ b/src/merge/resources/ticketing/resources/projects/raw_client.py @@ -9,12 +9,14 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_project_list import PaginatedProjectList from ...types.paginated_user_list import PaginatedUserList from ...types.project import Project -from .types.projects_users_list_request_expand import ProjectsUsersListRequestExpand +from ...types.user import User +from .types.projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem class RawProjectsClient: @@ -35,7 +37,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedProjectList]: + ) -> SyncPager[Project]: """ Returns a list of `Project` objects. @@ -66,7 +68,7 @@ def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -76,7 +78,7 @@ def list( Returns ------- - HttpResponse[PaginatedProjectList] + SyncPager[Project] """ _response = self._client_wrapper.httpx_client.request( @@ -98,14 +100,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -169,13 +189,15 @@ def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User]: """ Returns a list of `User` objects. @@ -186,7 +208,7 @@ def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -206,7 +228,7 @@ def users_list( Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User] """ _response = self._client_wrapper.httpx_client.request( @@ -224,14 +246,29 @@ def users_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.users_list( + parent_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -256,7 +293,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedProjectList]: + ) -> AsyncPager[Project]: """ Returns a list of `Project` objects. @@ -287,7 +324,7 @@ async def list( If provided, only objects synced by Merge before this date time will be returned. page_size : typing.Optional[int] - Number of results to return per page. The maximum limit is 100. + Number of results to return per page. remote_id : typing.Optional[str] The API provider's ID for the given object. @@ -297,7 +334,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedProjectList] + AsyncPager[Project] """ _response = await self._client_wrapper.httpx_client.request( @@ -319,14 +356,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedProjectList, construct_type( type_=PaginatedProjectList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -390,13 +448,15 @@ async def users_list( parent_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[ProjectsUsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. @@ -407,7 +467,7 @@ async def users_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[ProjectsUsersListRequestExpand] + expand : typing.Optional[typing.Union[ProjectsUsersListRequestExpandItem, typing.Sequence[ProjectsUsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -427,7 +487,7 @@ async def users_list( Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User] """ _response = await self._client_wrapper.httpx_client.request( @@ -445,14 +505,32 @@ async def users_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.users_list( + parent_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/projects/types/__init__.py b/src/merge/resources/ticketing/resources/projects/types/__init__.py index ec7542f3..7724983b 100644 --- a/src/merge/resources/ticketing/resources/projects/types/__init__.py +++ b/src/merge/resources/ticketing/resources/projects/types/__init__.py @@ -6,8 +6,10 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .projects_users_list_request_expand import ProjectsUsersListRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"ProjectsUsersListRequestExpand": ".projects_users_list_request_expand"} + from .projects_users_list_request_expand_item import ProjectsUsersListRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "ProjectsUsersListRequestExpandItem": ".projects_users_list_request_expand_item" +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +31,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["ProjectsUsersListRequestExpand"] +__all__ = ["ProjectsUsersListRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py deleted file mode 100644 index e1d7fbd6..00000000 --- a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class ProjectsUsersListRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is ProjectsUsersListRequestExpand.ROLES: - return roles() - if self is ProjectsUsersListRequestExpand.TEAMS: - return teams() - if self is ProjectsUsersListRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py new file mode 100644 index 00000000..1f068356 --- /dev/null +++ b/src/merge/resources/ticketing/resources/projects/types/projects_users_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ProjectsUsersListRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is ProjectsUsersListRequestExpandItem.ROLES: + return roles() + if self is ProjectsUsersListRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/resources/roles/client.py b/src/merge/resources/ticketing/resources/roles/client.py index 69432e4c..87deff4b 100644 --- a/src/merge/resources/ticketing/resources/roles/client.py +++ b/src/merge/resources/ticketing/resources/roles/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_role_list import PaginatedRoleList from ...types.role import Role from .raw_client import AsyncRawRolesClient, RawRolesClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRoleList: + ) -> SyncPager[Role]: """ Returns a list of `Role` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedRoleList + SyncPager[Role] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.roles.list( + response = client.ticketing.roles.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRoleList: + ) -> AsyncPager[Role]: """ Returns a list of `Role` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedRoleList + AsyncPager[Role] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ticketing.roles.list( + response = await client.ticketing.roles.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ticketing/resources/roles/raw_client.py b/src/merge/resources/ticketing/resources/roles/raw_client.py index 5f40ef03..e168c68c 100644 --- a/src/merge/resources/ticketing/resources/roles/raw_client.py +++ b/src/merge/resources/ticketing/resources/roles/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_role_list import PaginatedRoleList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRoleList]: + ) -> SyncPager[Role]: """ Returns a list of `Role` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedRoleList] + SyncPager[Role] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRoleList, construct_type( type_=PaginatedRoleList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRoleList]: + ) -> AsyncPager[Role]: """ Returns a list of `Role` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedRoleList] + AsyncPager[Role] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRoleList, construct_type( type_=PaginatedRoleList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/sync_status/client.py b/src/merge/resources/ticketing/resources/sync_status/client.py index 9a69dc0c..b367a0a7 100644 --- a/src/merge/resources/ticketing/resources/sync_status/client.py +++ b/src/merge/resources/ticketing/resources/sync_status/client.py @@ -3,8 +3,9 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus from .raw_client import AsyncRawSyncStatusClient, RawSyncStatusClient @@ -29,7 +30,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -46,7 +47,7 @@ def list( Returns ------- - PaginatedSyncStatusList + SyncPager[SyncStatus] Examples @@ -57,13 +58,17 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.sync_status.list( + response = client.ticketing.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) class AsyncSyncStatusClient: @@ -87,7 +92,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedSyncStatusList: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -104,7 +109,7 @@ async def list( Returns ------- - PaginatedSyncStatusList + AsyncPager[SyncStatus] Examples @@ -120,13 +125,18 @@ async def list( async def main() -> None: - await client.ticketing.sync_status.list( + response = await client.ticketing.sync_status.list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) - return _response.data + return await self._raw_client.list(cursor=cursor, page_size=page_size, request_options=request_options) diff --git a/src/merge/resources/ticketing/resources/sync_status/raw_client.py b/src/merge/resources/ticketing/resources/sync_status/raw_client.py index 0052fc35..79417f68 100644 --- a/src/merge/resources/ticketing/resources/sync_status/raw_client.py +++ b/src/merge/resources/ticketing/resources/sync_status/raw_client.py @@ -5,10 +5,11 @@ from .....core.api_error import ApiError from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper -from .....core.http_response import AsyncHttpResponse, HttpResponse +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_sync_status_list import PaginatedSyncStatusList +from ...types.sync_status import SyncStatus class RawSyncStatusClient: @@ -21,7 +22,7 @@ def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedSyncStatusList]: + ) -> SyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -38,7 +39,7 @@ def list( Returns ------- - HttpResponse[PaginatedSyncStatusList] + SyncPager[SyncStatus] """ _response = self._client_wrapper.httpx_client.request( @@ -52,14 +53,24 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -76,7 +87,7 @@ async def list( cursor: typing.Optional[str] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedSyncStatusList]: + ) -> AsyncPager[SyncStatus]: """ Get sync status for the current sync and the most recently finished sync. `last_sync_start` represents the most recent time any sync began. `last_sync_finished` represents the most recent time any sync completed. These timestamps may correspond to different sync instances which may result in a sync start time being later than a separate sync completed time. To ensure you are retrieving the latest available data reference the `last_sync_finished` timestamp where `last_sync_result` is `DONE`. Possible values for `status` and `last_sync_result` are `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses). @@ -93,7 +104,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedSyncStatusList] + AsyncPager[SyncStatus] """ _response = await self._client_wrapper.httpx_client.request( @@ -107,14 +118,27 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedSyncStatusList, construct_type( type_=PaginatedSyncStatusList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + cursor=_parsed_next, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tags/client.py b/src/merge/resources/ticketing/resources/tags/client.py index c6184fb8..6f15e224 100644 --- a/src/merge/resources/ticketing/resources/tags/client.py +++ b/src/merge/resources/ticketing/resources/tags/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_tag_list import PaginatedTagList from ...types.tag import Tag from .raw_client import AsyncRawTagsClient, RawTagsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> SyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedTagList + SyncPager[Tag] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tags.list( + response = client.ticketing.tags.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTagList: + ) -> AsyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedTagList + AsyncPager[Tag] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ticketing.tags.list( + response = await client.ticketing.tags.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ticketing/resources/tags/raw_client.py b/src/merge/resources/ticketing/resources/tags/raw_client.py index 8a283c5b..db682ced 100644 --- a/src/merge/resources/ticketing/resources/tags/raw_client.py +++ b/src/merge/resources/ticketing/resources/tags/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_tag_list import PaginatedTagList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTagList]: + ) -> SyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedTagList] + SyncPager[Tag] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTagList]: + ) -> AsyncPager[Tag]: """ Returns a list of `Tag` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTagList] + AsyncPager[Tag] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTagList, construct_type( type_=PaginatedTagList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/teams/client.py b/src/merge/resources/ticketing/resources/teams/client.py index 79af0f1c..b1fba139 100644 --- a/src/merge/resources/ticketing/resources/teams/client.py +++ b/src/merge/resources/ticketing/resources/teams/client.py @@ -4,8 +4,8 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_team_list import PaginatedTeamList from ...types.team import Team from .raw_client import AsyncRawTeamsClient, RawTeamsClient @@ -39,7 +39,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> SyncPager[Team]: """ Returns a list of `Team` objects. @@ -80,7 +80,7 @@ def list( Returns ------- - PaginatedTeamList + SyncPager[Team] Examples @@ -93,7 +93,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.teams.list( + response = client.ticketing.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -113,8 +113,13 @@ def list( page_size=1, remote_id="remote_id", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -127,7 +132,6 @@ def list( remote_id=remote_id, request_options=request_options, ) - return _response.data def retrieve( self, @@ -210,7 +214,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTeamList: + ) -> AsyncPager[Team]: """ Returns a list of `Team` objects. @@ -251,7 +255,7 @@ async def list( Returns ------- - PaginatedTeamList + AsyncPager[Team] Examples @@ -268,7 +272,7 @@ async def list( async def main() -> None: - await client.ticketing.teams.list( + response = await client.ticketing.teams.list( created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -288,11 +292,17 @@ async def main() -> None: page_size=1, remote_id="remote_id", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( created_after=created_after, created_before=created_before, cursor=cursor, @@ -305,7 +315,6 @@ async def main() -> None: remote_id=remote_id, request_options=request_options, ) - return _response.data async def retrieve( self, diff --git a/src/merge/resources/ticketing/resources/teams/raw_client.py b/src/merge/resources/ticketing/resources/teams/raw_client.py index 05f6264d..3251e013 100644 --- a/src/merge/resources/ticketing/resources/teams/raw_client.py +++ b/src/merge/resources/ticketing/resources/teams/raw_client.py @@ -9,6 +9,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_team_list import PaginatedTeamList @@ -33,7 +34,7 @@ def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTeamList]: + ) -> SyncPager[Team]: """ Returns a list of `Team` objects. @@ -74,7 +75,7 @@ def list( Returns ------- - HttpResponse[PaginatedTeamList] + SyncPager[Team] """ _response = self._client_wrapper.httpx_client.request( @@ -96,14 +97,32 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -181,7 +200,7 @@ async def list( page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTeamList]: + ) -> AsyncPager[Team]: """ Returns a list of `Team` objects. @@ -222,7 +241,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTeamList] + AsyncPager[Team] """ _response = await self._client_wrapper.httpx_client.request( @@ -244,14 +263,35 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTeamList, construct_type( type_=PaginatedTeamList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tickets/__init__.py b/src/merge/resources/ticketing/resources/tickets/__init__.py index 564c5c59..e6bd28f7 100644 --- a/src/merge/resources/ticketing/resources/tickets/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/__init__.py @@ -7,26 +7,30 @@ if typing.TYPE_CHECKING: from .types import ( - TicketsListRequestExpand, + TicketsListRequestExpandItem, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, TicketsListRequestStatus, - TicketsRetrieveRequestExpand, + TicketsLiveSearchRetrieveRequestRemoteFields, + TicketsLiveSearchRetrieveRequestShowEnumOrigins, + TicketsRetrieveRequestExpandItem, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, - TicketsViewersListRequestExpand, + TicketsViewersListRequestExpandItem, ) _dynamic_imports: typing.Dict[str, str] = { - "TicketsListRequestExpand": ".types", + "TicketsListRequestExpandItem": ".types", "TicketsListRequestPriority": ".types", "TicketsListRequestRemoteFields": ".types", "TicketsListRequestShowEnumOrigins": ".types", "TicketsListRequestStatus": ".types", - "TicketsRetrieveRequestExpand": ".types", + "TicketsLiveSearchRetrieveRequestRemoteFields": ".types", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins": ".types", + "TicketsRetrieveRequestExpandItem": ".types", "TicketsRetrieveRequestRemoteFields": ".types", "TicketsRetrieveRequestShowEnumOrigins": ".types", - "TicketsViewersListRequestExpand": ".types", + "TicketsViewersListRequestExpandItem": ".types", } @@ -50,13 +54,15 @@ def __dir__(): __all__ = [ - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsLiveSearchRetrieveRequestRemoteFields", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", ] diff --git a/src/merge/resources/ticketing/resources/tickets/client.py b/src/merge/resources/ticketing/resources/tickets/client.py index f23cd724..37bc9bcc 100644 --- a/src/merge/resources/ticketing/resources/tickets/client.py +++ b/src/merge/resources/ticketing/resources/tickets/client.py @@ -4,25 +4,29 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions from ...types.meta_response import MetaResponse -from ...types.paginated_remote_field_class_list import PaginatedRemoteFieldClassList -from ...types.paginated_ticket_list import PaginatedTicketList -from ...types.paginated_viewer_list import PaginatedViewerList from ...types.patched_ticket_request import PatchedTicketRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.ticket import Ticket from ...types.ticket_request import TicketRequest from ...types.ticket_response import TicketResponse +from ...types.viewer import Viewer from .raw_client import AsyncRawTicketsClient, RawTicketsClient -from .types.tickets_list_request_expand import TicketsListRequestExpand +from .types.tickets_list_request_expand_item import TicketsListRequestExpandItem from .types.tickets_list_request_priority import TicketsListRequestPriority from .types.tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .types.tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .types.tickets_list_request_status import TicketsListRequestStatus -from .types.tickets_retrieve_request_expand import TicketsRetrieveRequestExpand +from .types.tickets_live_search_retrieve_request_remote_fields import TicketsLiveSearchRetrieveRequestRemoteFields +from .types.tickets_live_search_retrieve_request_show_enum_origins import ( + TicketsLiveSearchRetrieveRequestShowEnumOrigins, +) +from .types.tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand +from .types.tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -59,7 +63,9 @@ def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -74,6 +80,7 @@ def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_fields: typing.Optional[TicketsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, + remote_ids: typing.Optional[str] = None, remote_updated_after: typing.Optional[dt.datetime] = None, remote_updated_before: typing.Optional[dt.datetime] = None, show_enum_origins: typing.Optional[TicketsListRequestShowEnumOrigins] = None, @@ -82,7 +89,7 @@ def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTicketList: + ) -> SyncPager[Ticket]: """ Returns a list of `Ticket` objects. @@ -127,7 +134,7 @@ def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -177,6 +184,9 @@ def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + remote_ids : typing.Optional[str] + If provided, will only return tickets with these remote IDs (comma-separated). + remote_updated_after : typing.Optional[dt.datetime] If provided, will only return tickets updated in the third party platform after this datetime. @@ -203,7 +213,7 @@ def list( Returns ------- - PaginatedTicketList + SyncPager[Ticket] Examples @@ -212,7 +222,6 @@ def list( from merge import Merge from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, @@ -223,7 +232,7 @@ def list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.list( + response = client.ticketing.tickets.list( account_id="account_id", assignee_ids="assignee_ids", collection_ids="collection_ids", @@ -249,7 +258,6 @@ def list( due_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=TicketsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -272,6 +280,7 @@ def list( ), remote_fields=TicketsListRequestRemoteFields.PRIORITY, remote_id="remote_id", + remote_ids="remote_ids", remote_updated_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -284,8 +293,13 @@ def list( ticket_type="ticket_type", ticket_url="ticket_url", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -314,6 +328,7 @@ def list( remote_created_before=remote_created_before, remote_fields=remote_fields, remote_id=remote_id, + remote_ids=remote_ids, remote_updated_after=remote_updated_after, remote_updated_before=remote_updated_before, show_enum_origins=show_enum_origins, @@ -323,7 +338,6 @@ def list( ticket_url=ticket_url, request_options=request_options, ) - return _response.data def create( self, @@ -378,7 +392,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -393,7 +409,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -423,7 +439,6 @@ def retrieve( -------- from merge import Merge from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, ) @@ -434,7 +449,6 @@ def retrieve( ) client.ticketing.tickets.retrieve( id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -512,13 +526,15 @@ def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> SyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -529,7 +545,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -549,31 +565,32 @@ def viewers_list( Returns ------- - PaginatedViewerList + SyncPager[Viewer] Examples -------- from merge import Merge - from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, - ) client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.viewers_list( + response = client.ticketing.tickets.viewers_list( ticket_id="ticket_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.viewers_list( + return self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -583,7 +600,94 @@ def viewers_list( page_size=page_size, request_options=request_options, ) - return _response.data + + def live_search_retrieve( + self, + *, + assignee_ids: typing.Optional[str] = None, + assignees: typing.Optional[str] = None, + collection_ids: typing.Optional[str] = None, + collections: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + name: typing.Optional[str] = None, + remote_cursor: typing.Optional[str] = None, + remote_fields: typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] = None, + status: typing.Optional[str] = None, + ticket_url: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[bytes]: + """ + Returns a list of `Ticket` objects. + + Parameters + ---------- + assignee_ids : typing.Optional[str] + Filter tickets by assignee IDs (comma-separated) + + assignees : typing.Optional[str] + Filter tickets by assignee names (comma-separated) + + collection_ids : typing.Optional[str] + Filter tickets by collection IDs (comma-separated) + + collections : typing.Optional[str] + Filter tickets by collection names (comma-separated) + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + name : typing.Optional[str] + Filter tickets by name/title + + remote_cursor : typing.Optional[str] + Pagination cursor for remote data + + remote_fields : typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + status : typing.Optional[str] + Filter tickets by status + + ticket_url : typing.Optional[str] + Filter tickets by URL + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[bytes] + + """ + with self._raw_client.live_search_retrieve( + assignee_ids=assignee_ids, + assignees=assignees, + collection_ids=collection_ids, + collections=collections, + include_deleted_data=include_deleted_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + name=name, + remote_cursor=remote_cursor, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + status=status, + ticket_url=ticket_url, + request_options=request_options, + ) as r: + yield from r.data def meta_patch_retrieve(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MetaResponse: """ @@ -672,7 +776,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -707,7 +811,7 @@ def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + SyncPager[RemoteFieldClass] Examples @@ -718,7 +822,7 @@ def remote_field_classes_list( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.tickets.remote_field_classes_list( + response = client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ids="ids", include_deleted_data=True, @@ -728,8 +832,13 @@ def remote_field_classes_list( is_custom=True, page_size=1, ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.remote_field_classes_list( + return self._raw_client.remote_field_classes_list( cursor=cursor, ids=ids, include_deleted_data=include_deleted_data, @@ -740,7 +849,6 @@ def remote_field_classes_list( page_size=page_size, request_options=request_options, ) - return _response.data class AsyncTicketsClient: @@ -774,7 +882,9 @@ async def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -789,6 +899,7 @@ async def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_fields: typing.Optional[TicketsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, + remote_ids: typing.Optional[str] = None, remote_updated_after: typing.Optional[dt.datetime] = None, remote_updated_before: typing.Optional[dt.datetime] = None, show_enum_origins: typing.Optional[TicketsListRequestShowEnumOrigins] = None, @@ -797,7 +908,7 @@ async def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedTicketList: + ) -> AsyncPager[Ticket]: """ Returns a list of `Ticket` objects. @@ -842,7 +953,7 @@ async def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -892,6 +1003,9 @@ async def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + remote_ids : typing.Optional[str] + If provided, will only return tickets with these remote IDs (comma-separated). + remote_updated_after : typing.Optional[dt.datetime] If provided, will only return tickets updated in the third party platform after this datetime. @@ -918,7 +1032,7 @@ async def list( Returns ------- - PaginatedTicketList + AsyncPager[Ticket] Examples @@ -928,7 +1042,6 @@ async def list( from merge import AsyncMerge from merge.resources.ticketing.resources.tickets import ( - TicketsListRequestExpand, TicketsListRequestPriority, TicketsListRequestRemoteFields, TicketsListRequestShowEnumOrigins, @@ -942,7 +1055,7 @@ async def list( async def main() -> None: - await client.ticketing.tickets.list( + response = await client.ticketing.tickets.list( account_id="account_id", assignee_ids="assignee_ids", collection_ids="collection_ids", @@ -968,7 +1081,6 @@ async def main() -> None: due_before=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), - expand=TicketsListRequestExpand.ACCOUNT, include_deleted_data=True, include_remote_data=True, include_remote_fields=True, @@ -991,6 +1103,7 @@ async def main() -> None: ), remote_fields=TicketsListRequestRemoteFields.PRIORITY, remote_id="remote_id", + remote_ids="remote_ids", remote_updated_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -1003,11 +1116,17 @@ async def main() -> None: ticket_type="ticket_type", ticket_url="ticket_url", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( account_id=account_id, assignee_ids=assignee_ids, collection_ids=collection_ids, @@ -1036,6 +1155,7 @@ async def main() -> None: remote_created_before=remote_created_before, remote_fields=remote_fields, remote_id=remote_id, + remote_ids=remote_ids, remote_updated_after=remote_updated_after, remote_updated_before=remote_updated_before, show_enum_origins=show_enum_origins, @@ -1045,7 +1165,6 @@ async def main() -> None: ticket_url=ticket_url, request_options=request_options, ) - return _response.data async def create( self, @@ -1108,7 +1227,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -1123,7 +1244,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -1155,7 +1276,6 @@ async def retrieve( from merge import AsyncMerge from merge.resources.ticketing.resources.tickets import ( - TicketsRetrieveRequestExpand, TicketsRetrieveRequestRemoteFields, TicketsRetrieveRequestShowEnumOrigins, ) @@ -1169,7 +1289,6 @@ async def retrieve( async def main() -> None: await client.ticketing.tickets.retrieve( id="id", - expand=TicketsRetrieveRequestExpand.ACCOUNT, include_remote_data=True, include_remote_fields=True, include_shell_data=True, @@ -1258,13 +1377,15 @@ async def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedViewerList: + ) -> AsyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -1275,7 +1396,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -1295,7 +1416,7 @@ async def viewers_list( Returns ------- - PaginatedViewerList + AsyncPager[Viewer] Examples @@ -1303,9 +1424,6 @@ async def viewers_list( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.tickets import ( - TicketsViewersListRequestExpand, - ) client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -1314,20 +1432,25 @@ async def viewers_list( async def main() -> None: - await client.ticketing.tickets.viewers_list( + response = await client.ticketing.tickets.viewers_list( ticket_id="ticket_id", cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", - expand=TicketsViewersListRequestExpand.TEAM, include_deleted_data=True, include_remote_data=True, include_shell_data=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.viewers_list( + return await self._raw_client.viewers_list( ticket_id, cursor=cursor, expand=expand, @@ -1337,7 +1460,95 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data + + async def live_search_retrieve( + self, + *, + assignee_ids: typing.Optional[str] = None, + assignees: typing.Optional[str] = None, + collection_ids: typing.Optional[str] = None, + collections: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + name: typing.Optional[str] = None, + remote_cursor: typing.Optional[str] = None, + remote_fields: typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] = None, + status: typing.Optional[str] = None, + ticket_url: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[bytes]: + """ + Returns a list of `Ticket` objects. + + Parameters + ---------- + assignee_ids : typing.Optional[str] + Filter tickets by assignee IDs (comma-separated) + + assignees : typing.Optional[str] + Filter tickets by assignee names (comma-separated) + + collection_ids : typing.Optional[str] + Filter tickets by collection IDs (comma-separated) + + collections : typing.Optional[str] + Filter tickets by collection names (comma-separated) + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + name : typing.Optional[str] + Filter tickets by name/title + + remote_cursor : typing.Optional[str] + Pagination cursor for remote data + + remote_fields : typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + status : typing.Optional[str] + Filter tickets by status + + ticket_url : typing.Optional[str] + Filter tickets by URL + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[bytes] + + """ + async with self._raw_client.live_search_retrieve( + assignee_ids=assignee_ids, + assignees=assignees, + collection_ids=collection_ids, + collections=collections, + include_deleted_data=include_deleted_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + name=name, + remote_cursor=remote_cursor, + remote_fields=remote_fields, + show_enum_origins=show_enum_origins, + status=status, + ticket_url=ticket_url, + request_options=request_options, + ) as r: + async for _chunk in r.data: + yield _chunk async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None @@ -1444,7 +1655,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedRemoteFieldClassList: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1479,7 +1690,7 @@ async def remote_field_classes_list( Returns ------- - PaginatedRemoteFieldClassList + AsyncPager[RemoteFieldClass] Examples @@ -1495,7 +1706,7 @@ async def remote_field_classes_list( async def main() -> None: - await client.ticketing.tickets.remote_field_classes_list( + response = await client.ticketing.tickets.remote_field_classes_list( cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", ids="ids", include_deleted_data=True, @@ -1505,11 +1716,17 @@ async def main() -> None: is_custom=True, page_size=1, ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.remote_field_classes_list( + return await self._raw_client.remote_field_classes_list( cursor=cursor, ids=ids, include_deleted_data=include_deleted_data, @@ -1520,4 +1737,3 @@ async def main() -> None: page_size=page_size, request_options=request_options, ) - return _response.data diff --git a/src/merge/resources/ticketing/resources/tickets/raw_client.py b/src/merge/resources/ticketing/resources/tickets/raw_client.py index b9bb7a0d..c85111d0 100644 --- a/src/merge/resources/ticketing/resources/tickets/raw_client.py +++ b/src/merge/resources/ticketing/resources/tickets/raw_client.py @@ -1,5 +1,6 @@ # This file was auto-generated by Fern from our API Definition. +import contextlib import datetime as dt import typing from json.decoder import JSONDecodeError @@ -9,6 +10,7 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.meta_response import MetaResponse @@ -16,18 +18,24 @@ from ...types.paginated_ticket_list import PaginatedTicketList from ...types.paginated_viewer_list import PaginatedViewerList from ...types.patched_ticket_request import PatchedTicketRequest +from ...types.remote_field_class import RemoteFieldClass from ...types.ticket import Ticket from ...types.ticket_request import TicketRequest from ...types.ticket_response import TicketResponse -from .types.tickets_list_request_expand import TicketsListRequestExpand +from ...types.viewer import Viewer +from .types.tickets_list_request_expand_item import TicketsListRequestExpandItem from .types.tickets_list_request_priority import TicketsListRequestPriority from .types.tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .types.tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .types.tickets_list_request_status import TicketsListRequestStatus -from .types.tickets_retrieve_request_expand import TicketsRetrieveRequestExpand +from .types.tickets_live_search_retrieve_request_remote_fields import TicketsLiveSearchRetrieveRequestRemoteFields +from .types.tickets_live_search_retrieve_request_show_enum_origins import ( + TicketsLiveSearchRetrieveRequestShowEnumOrigins, +) +from .types.tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .types.tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .types.tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins -from .types.tickets_viewers_list_request_expand import TicketsViewersListRequestExpand +from .types.tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem # this is used as the default value for optional parameters OMIT = typing.cast(typing.Any, ...) @@ -53,7 +61,9 @@ def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -68,6 +78,7 @@ def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_fields: typing.Optional[TicketsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, + remote_ids: typing.Optional[str] = None, remote_updated_after: typing.Optional[dt.datetime] = None, remote_updated_before: typing.Optional[dt.datetime] = None, show_enum_origins: typing.Optional[TicketsListRequestShowEnumOrigins] = None, @@ -76,7 +87,7 @@ def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedTicketList]: + ) -> SyncPager[Ticket]: """ Returns a list of `Ticket` objects. @@ -121,7 +132,7 @@ def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -171,6 +182,9 @@ def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + remote_ids : typing.Optional[str] + If provided, will only return tickets with these remote IDs (comma-separated). + remote_updated_after : typing.Optional[dt.datetime] If provided, will only return tickets updated in the third party platform after this datetime. @@ -197,7 +211,7 @@ def list( Returns ------- - HttpResponse[PaginatedTicketList] + SyncPager[Ticket] """ _response = self._client_wrapper.httpx_client.request( @@ -236,6 +250,7 @@ def list( else None, "remote_fields": remote_fields, "remote_id": remote_id, + "remote_ids": remote_ids, "remote_updated_after": serialize_datetime(remote_updated_after) if remote_updated_after is not None else None, @@ -252,14 +267,58 @@ def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTicketList, construct_type( type_=PaginatedTicketList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + account_id=account_id, + assignee_ids=assignee_ids, + collection_ids=collection_ids, + completed_after=completed_after, + completed_before=completed_before, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + creator_ids=creator_ids, + cursor=_parsed_next, + due_after=due_after, + due_before=due_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_ticket_id=parent_ticket_id, + priority=priority, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_fields=remote_fields, + remote_id=remote_id, + remote_ids=remote_ids, + remote_updated_after=remote_updated_after, + remote_updated_before=remote_updated_before, + show_enum_origins=show_enum_origins, + status=status, + tags=tags, + ticket_type=ticket_type, + ticket_url=ticket_url, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -329,7 +388,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -344,7 +405,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -466,13 +527,15 @@ def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedViewerList]: + ) -> SyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -483,7 +546,7 @@ def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -503,7 +566,7 @@ def viewers_list( Returns ------- - HttpResponse[PaginatedViewerList] + SyncPager[Viewer] """ _response = self._client_wrapper.httpx_client.request( @@ -521,19 +584,143 @@ def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.viewers_list( + ticket_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + @contextlib.contextmanager + def live_search_retrieve( + self, + *, + assignee_ids: typing.Optional[str] = None, + assignees: typing.Optional[str] = None, + collection_ids: typing.Optional[str] = None, + collections: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + name: typing.Optional[str] = None, + remote_cursor: typing.Optional[str] = None, + remote_fields: typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] = None, + status: typing.Optional[str] = None, + ticket_url: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.Iterator[HttpResponse[typing.Iterator[bytes]]]: + """ + Returns a list of `Ticket` objects. + + Parameters + ---------- + assignee_ids : typing.Optional[str] + Filter tickets by assignee IDs (comma-separated) + + assignees : typing.Optional[str] + Filter tickets by assignee names (comma-separated) + + collection_ids : typing.Optional[str] + Filter tickets by collection IDs (comma-separated) + + collections : typing.Optional[str] + Filter tickets by collection names (comma-separated) + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + name : typing.Optional[str] + Filter tickets by name/title + + remote_cursor : typing.Optional[str] + Pagination cursor for remote data + + remote_fields : typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + status : typing.Optional[str] + Filter tickets by status + + ticket_url : typing.Optional[str] + Filter tickets by URL + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.Iterator[HttpResponse[typing.Iterator[bytes]]] + + """ + with self._client_wrapper.httpx_client.stream( + "ticketing/v1/tickets/live-search", + method="GET", + params={ + "assignee_ids": assignee_ids, + "assignees": assignees, + "collection_ids": collection_ids, + "collections": collections, + "include_deleted_data": include_deleted_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "name": name, + "remote_cursor": remote_cursor, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + "status": status, + "ticket_url": ticket_url, + }, + request_options=request_options, + ) as _response: + + def _stream() -> HttpResponse[typing.Iterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None + return HttpResponse( + response=_response, data=(_chunk for _chunk in _response.iter_bytes(chunk_size=_chunk_size)) + ) + _response.read() + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield _stream() + def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> HttpResponse[MetaResponse]: @@ -634,7 +821,7 @@ def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedRemoteFieldClassList]: + ) -> SyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -669,7 +856,7 @@ def remote_field_classes_list( Returns ------- - HttpResponse[PaginatedRemoteFieldClassList] + SyncPager[RemoteFieldClass] """ _response = self._client_wrapper.httpx_client.request( @@ -689,14 +876,30 @@ def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.remote_field_classes_list( + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -723,7 +926,9 @@ async def list( cursor: typing.Optional[str] = None, due_after: typing.Optional[dt.datetime] = None, due_before: typing.Optional[dt.datetime] = None, - expand: typing.Optional[TicketsListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, @@ -738,6 +943,7 @@ async def list( remote_created_before: typing.Optional[dt.datetime] = None, remote_fields: typing.Optional[TicketsListRequestRemoteFields] = None, remote_id: typing.Optional[str] = None, + remote_ids: typing.Optional[str] = None, remote_updated_after: typing.Optional[dt.datetime] = None, remote_updated_before: typing.Optional[dt.datetime] = None, show_enum_origins: typing.Optional[TicketsListRequestShowEnumOrigins] = None, @@ -746,7 +952,7 @@ async def list( ticket_type: typing.Optional[str] = None, ticket_url: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedTicketList]: + ) -> AsyncPager[Ticket]: """ Returns a list of `Ticket` objects. @@ -791,7 +997,7 @@ async def list( due_before : typing.Optional[dt.datetime] If provided, will only return tickets due before this datetime. - expand : typing.Optional[TicketsListRequestExpand] + expand : typing.Optional[typing.Union[TicketsListRequestExpandItem, typing.Sequence[TicketsListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -841,6 +1047,9 @@ async def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + remote_ids : typing.Optional[str] + If provided, will only return tickets with these remote IDs (comma-separated). + remote_updated_after : typing.Optional[dt.datetime] If provided, will only return tickets updated in the third party platform after this datetime. @@ -867,7 +1076,7 @@ async def list( Returns ------- - AsyncHttpResponse[PaginatedTicketList] + AsyncPager[Ticket] """ _response = await self._client_wrapper.httpx_client.request( @@ -906,6 +1115,7 @@ async def list( else None, "remote_fields": remote_fields, "remote_id": remote_id, + "remote_ids": remote_ids, "remote_updated_after": serialize_datetime(remote_updated_after) if remote_updated_after is not None else None, @@ -922,14 +1132,61 @@ async def list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedTicketList, construct_type( type_=PaginatedTicketList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + account_id=account_id, + assignee_ids=assignee_ids, + collection_ids=collection_ids, + completed_after=completed_after, + completed_before=completed_before, + contact_id=contact_id, + created_after=created_after, + created_before=created_before, + creator_id=creator_id, + creator_ids=creator_ids, + cursor=_parsed_next, + due_after=due_after, + due_before=due_before, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_remote_fields=include_remote_fields, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + name=name, + page_size=page_size, + parent_ticket_id=parent_ticket_id, + priority=priority, + remote_created_after=remote_created_after, + remote_created_before=remote_created_before, + remote_fields=remote_fields, + remote_id=remote_id, + remote_ids=remote_ids, + remote_updated_after=remote_updated_after, + remote_updated_before=remote_updated_before, + show_enum_origins=show_enum_origins, + status=status, + tags=tags, + ticket_type=ticket_type, + ticket_url=ticket_url, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -999,7 +1256,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[TicketsRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_remote_fields: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -1014,7 +1273,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[TicketsRetrieveRequestExpand] + expand : typing.Optional[typing.Union[TicketsRetrieveRequestExpandItem, typing.Sequence[TicketsRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -1136,13 +1395,15 @@ async def viewers_list( ticket_id: str, *, cursor: typing.Optional[str] = None, - expand: typing.Optional[TicketsViewersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedViewerList]: + ) -> AsyncPager[Viewer]: """ Returns a list of `Viewer` objects that point to a User id or Team id that is either an assignee or viewer on a `Ticket` with the given id. [Learn more.](https://help.merge.dev/en/articles/10333658-ticketing-access-control-list-acls) @@ -1153,7 +1414,7 @@ async def viewers_list( cursor : typing.Optional[str] The pagination cursor value. - expand : typing.Optional[TicketsViewersListRequestExpand] + expand : typing.Optional[typing.Union[TicketsViewersListRequestExpandItem, typing.Sequence[TicketsViewersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -1173,7 +1434,7 @@ async def viewers_list( Returns ------- - AsyncHttpResponse[PaginatedViewerList] + AsyncPager[Viewer] """ _response = await self._client_wrapper.httpx_client.request( @@ -1191,19 +1452,147 @@ async def viewers_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedViewerList, construct_type( type_=PaginatedViewerList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.viewers_list( + ticket_id, + cursor=_parsed_next, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + @contextlib.asynccontextmanager + async def live_search_retrieve( + self, + *, + assignee_ids: typing.Optional[str] = None, + assignees: typing.Optional[str] = None, + collection_ids: typing.Optional[str] = None, + collections: typing.Optional[str] = None, + include_deleted_data: typing.Optional[bool] = None, + include_remote_fields: typing.Optional[bool] = None, + include_shell_data: typing.Optional[bool] = None, + name: typing.Optional[str] = None, + remote_cursor: typing.Optional[str] = None, + remote_fields: typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] = None, + show_enum_origins: typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] = None, + status: typing.Optional[str] = None, + ticket_url: typing.Optional[str] = None, + request_options: typing.Optional[RequestOptions] = None, + ) -> typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]]: + """ + Returns a list of `Ticket` objects. + + Parameters + ---------- + assignee_ids : typing.Optional[str] + Filter tickets by assignee IDs (comma-separated) + + assignees : typing.Optional[str] + Filter tickets by assignee names (comma-separated) + + collection_ids : typing.Optional[str] + Filter tickets by collection IDs (comma-separated) + + collections : typing.Optional[str] + Filter tickets by collection names (comma-separated) + + include_deleted_data : typing.Optional[bool] + Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). + + include_remote_fields : typing.Optional[bool] + Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. + + include_shell_data : typing.Optional[bool] + Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null). + + name : typing.Optional[str] + Filter tickets by name/title + + remote_cursor : typing.Optional[str] + Pagination cursor for remote data + + remote_fields : typing.Optional[TicketsLiveSearchRetrieveRequestRemoteFields] + Deprecated. Use show_enum_origins. + + show_enum_origins : typing.Optional[TicketsLiveSearchRetrieveRequestShowEnumOrigins] + A comma separated list of enum field names for which you'd like the original values to be returned, instead of Merge's normalized enum values. [Learn more](https://help.merge.dev/en/articles/8950958-show_enum_origins-query-parameter) + + status : typing.Optional[str] + Filter tickets by status + + ticket_url : typing.Optional[str] + Filter tickets by URL + + request_options : typing.Optional[RequestOptions] + Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response. + + Returns + ------- + typing.AsyncIterator[AsyncHttpResponse[typing.AsyncIterator[bytes]]] + + """ + async with self._client_wrapper.httpx_client.stream( + "ticketing/v1/tickets/live-search", + method="GET", + params={ + "assignee_ids": assignee_ids, + "assignees": assignees, + "collection_ids": collection_ids, + "collections": collections, + "include_deleted_data": include_deleted_data, + "include_remote_fields": include_remote_fields, + "include_shell_data": include_shell_data, + "name": name, + "remote_cursor": remote_cursor, + "remote_fields": remote_fields, + "show_enum_origins": show_enum_origins, + "status": status, + "ticket_url": ticket_url, + }, + request_options=request_options, + ) as _response: + + async def _stream() -> AsyncHttpResponse[typing.AsyncIterator[bytes]]: + try: + if 200 <= _response.status_code < 300: + _chunk_size = request_options.get("chunk_size", None) if request_options is not None else None + return AsyncHttpResponse( + response=_response, + data=(_chunk async for _chunk in _response.aiter_bytes(chunk_size=_chunk_size)), + ) + await _response.aread() + _response_json = _response.json() + except JSONDecodeError: + raise ApiError( + status_code=_response.status_code, headers=dict(_response.headers), body=_response.text + ) + raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json) + + yield await _stream() + async def meta_patch_retrieve( self, id: str, *, request_options: typing.Optional[RequestOptions] = None ) -> AsyncHttpResponse[MetaResponse]: @@ -1304,7 +1693,7 @@ async def remote_field_classes_list( is_custom: typing.Optional[bool] = None, page_size: typing.Optional[int] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedRemoteFieldClassList]: + ) -> AsyncPager[RemoteFieldClass]: """ Returns a list of `RemoteFieldClass` objects. @@ -1339,7 +1728,7 @@ async def remote_field_classes_list( Returns ------- - AsyncHttpResponse[PaginatedRemoteFieldClassList] + AsyncPager[RemoteFieldClass] """ _response = await self._client_wrapper.httpx_client.request( @@ -1359,14 +1748,33 @@ async def remote_field_classes_list( ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedRemoteFieldClassList, construct_type( type_=PaginatedRemoteFieldClassList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.remote_field_classes_list( + cursor=_parsed_next, + ids=ids, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + is_common_model_field=is_common_model_field, + is_custom=is_custom, + page_size=page_size, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) diff --git a/src/merge/resources/ticketing/resources/tickets/types/__init__.py b/src/merge/resources/ticketing/resources/tickets/types/__init__.py index af027d4e..8af738f3 100644 --- a/src/merge/resources/ticketing/resources/tickets/types/__init__.py +++ b/src/merge/resources/ticketing/resources/tickets/types/__init__.py @@ -6,25 +6,29 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .tickets_list_request_expand import TicketsListRequestExpand + from .tickets_list_request_expand_item import TicketsListRequestExpandItem from .tickets_list_request_priority import TicketsListRequestPriority from .tickets_list_request_remote_fields import TicketsListRequestRemoteFields from .tickets_list_request_show_enum_origins import TicketsListRequestShowEnumOrigins from .tickets_list_request_status import TicketsListRequestStatus - from .tickets_retrieve_request_expand import TicketsRetrieveRequestExpand + from .tickets_live_search_retrieve_request_remote_fields import TicketsLiveSearchRetrieveRequestRemoteFields + from .tickets_live_search_retrieve_request_show_enum_origins import TicketsLiveSearchRetrieveRequestShowEnumOrigins + from .tickets_retrieve_request_expand_item import TicketsRetrieveRequestExpandItem from .tickets_retrieve_request_remote_fields import TicketsRetrieveRequestRemoteFields from .tickets_retrieve_request_show_enum_origins import TicketsRetrieveRequestShowEnumOrigins - from .tickets_viewers_list_request_expand import TicketsViewersListRequestExpand + from .tickets_viewers_list_request_expand_item import TicketsViewersListRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "TicketsListRequestExpand": ".tickets_list_request_expand", + "TicketsListRequestExpandItem": ".tickets_list_request_expand_item", "TicketsListRequestPriority": ".tickets_list_request_priority", "TicketsListRequestRemoteFields": ".tickets_list_request_remote_fields", "TicketsListRequestShowEnumOrigins": ".tickets_list_request_show_enum_origins", "TicketsListRequestStatus": ".tickets_list_request_status", - "TicketsRetrieveRequestExpand": ".tickets_retrieve_request_expand", + "TicketsLiveSearchRetrieveRequestRemoteFields": ".tickets_live_search_retrieve_request_remote_fields", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins": ".tickets_live_search_retrieve_request_show_enum_origins", + "TicketsRetrieveRequestExpandItem": ".tickets_retrieve_request_expand_item", "TicketsRetrieveRequestRemoteFields": ".tickets_retrieve_request_remote_fields", "TicketsRetrieveRequestShowEnumOrigins": ".tickets_retrieve_request_show_enum_origins", - "TicketsViewersListRequestExpand": ".tickets_viewers_list_request_expand", + "TicketsViewersListRequestExpandItem": ".tickets_viewers_list_request_expand_item", } @@ -48,13 +52,15 @@ def __dir__(): __all__ = [ - "TicketsListRequestExpand", + "TicketsListRequestExpandItem", "TicketsListRequestPriority", "TicketsListRequestRemoteFields", "TicketsListRequestShowEnumOrigins", "TicketsListRequestStatus", - "TicketsRetrieveRequestExpand", + "TicketsLiveSearchRetrieveRequestRemoteFields", + "TicketsLiveSearchRetrieveRequestShowEnumOrigins", + "TicketsRetrieveRequestExpandItem", "TicketsRetrieveRequestRemoteFields", "TicketsRetrieveRequestShowEnumOrigins", - "TicketsViewersListRequestExpand", + "TicketsViewersListRequestExpandItem", ] diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py deleted file mode 100644 index 77966842..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand.py +++ /dev/null @@ -1,1162 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsListRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_CREATOR = "account,contact,creator" - ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "account,contact,creator,parent_ticket" - ACCOUNT_CONTACT_PARENT_TICKET = "account,contact,parent_ticket" - ACCOUNT_CREATOR = "account,creator" - ACCOUNT_CREATOR_PARENT_TICKET = "account,creator,parent_ticket" - ACCOUNT_PARENT_TICKET = "account,parent_ticket" - ASSIGNED_TEAMS = "assigned_teams" - ASSIGNED_TEAMS_ACCOUNT = "assigned_teams,account" - ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assigned_teams,account,contact" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assigned_teams,account,contact,creator" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,account,contact,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assigned_teams,account,contact,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assigned_teams,account,creator" - ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assigned_teams,account,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assigned_teams,account,parent_ticket" - ASSIGNED_TEAMS_CONTACT = "assigned_teams,contact" - ASSIGNED_TEAMS_CONTACT_CREATOR = "assigned_teams,contact,creator" - ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,contact,creator,parent_ticket" - ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assigned_teams,contact,parent_ticket" - ASSIGNED_TEAMS_CREATOR = "assigned_teams,creator" - ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assigned_teams,creator,parent_ticket" - ASSIGNED_TEAMS_PARENT_TICKET = "assigned_teams,parent_ticket" - ASSIGNEES = "assignees" - ASSIGNEES_ACCOUNT = "assignees,account" - ASSIGNEES_ACCOUNT_CONTACT = "assignees,account,contact" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "assignees,account,contact,creator" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assignees,account,contact,creator,parent_ticket" - ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,account,contact,parent_ticket" - ASSIGNEES_ACCOUNT_CREATOR = "assignees,account,creator" - ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,account,creator,parent_ticket" - ASSIGNEES_ACCOUNT_PARENT_TICKET = "assignees,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS = "assignees,assigned_teams" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "assignees,assigned_teams,account" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,assigned_teams,account,contact" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assignees,assigned_teams,account,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,assigned_teams,account,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,assigned_teams,account,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,account,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assignees,assigned_teams,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "assignees,assigned_teams,contact" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,assigned_teams,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,contact,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assignees,assigned_teams,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "assignees,assigned_teams,creator" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assignees,assigned_teams,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS = "assignees,collections" - ASSIGNEES_COLLECTIONS_ACCOUNT = "assignees,collections,account" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "assignees,collections,account,contact" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "assignees,collections,account,contact,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,collections,account,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "assignees,collections,account,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,collections,account,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "assignees,collections,account,parent_ticket" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "assignees,collections,assigned_teams" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "assignees,collections,assigned_teams,account" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,collections,assigned_teams,account,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "assignees,collections,assigned_teams,account,contact,creator" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,collections,assigned_teams,account,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "assignees,collections,assigned_teams,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,collections,assigned_teams,contact,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "assignees,collections,assigned_teams,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,collections,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT = "assignees,collections,contact" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "assignees,collections,contact,creator" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "assignees,collections,contact,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "assignees,collections,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_CREATOR = "assignees,collections,creator" - ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "assignees,collections,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_PARENT_TICKET = "assignees,collections,parent_ticket" - ASSIGNEES_CONTACT = "assignees,contact" - ASSIGNEES_CONTACT_CREATOR = "assignees,contact,creator" - ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "assignees,contact,creator,parent_ticket" - ASSIGNEES_CONTACT_PARENT_TICKET = "assignees,contact,parent_ticket" - ASSIGNEES_CREATOR = "assignees,creator" - ASSIGNEES_CREATOR_PARENT_TICKET = "assignees,creator,parent_ticket" - ASSIGNEES_PARENT_TICKET = "assignees,parent_ticket" - ATTACHMENTS = "attachments" - ATTACHMENTS_ACCOUNT = "attachments,account" - ATTACHMENTS_ACCOUNT_CONTACT = "attachments,account,contact" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR = "attachments,account,contact,creator" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "attachments,account,contact,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,account,contact,parent_ticket" - ATTACHMENTS_ACCOUNT_CREATOR = "attachments,account,creator" - ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,account,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_PARENT_TICKET = "attachments,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS = "attachments,assigned_teams" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT = "attachments,assigned_teams,account" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "attachments,assigned_teams,account,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "attachments,assigned_teams,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT = "attachments,assigned_teams,contact" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "attachments,assigned_teams,contact,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR = "attachments,assigned_teams,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "attachments,assigned_teams,creator,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES = "attachments,assignees" - ATTACHMENTS_ASSIGNEES_ACCOUNT = "attachments,assignees,account" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT = "attachments,assignees,account,contact" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "attachments,assignees,account,contact,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,assignees,account,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR = "attachments,assignees,account,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,assignees,account,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET = "attachments,assignees,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS = "attachments,assignees,assigned_teams" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "attachments,assignees,assigned_teams,account" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assignees,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assignees,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "attachments,assignees,assigned_teams,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assignees,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "attachments,assignees,assigned_teams,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assignees,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS = "attachments,assignees,collections" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT = "attachments,assignees,collections,account" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "attachments,assignees,collections,account,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "attachments,assignees,collections,account,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,assignees,collections,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "attachments,assignees,collections,assigned_teams" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = ( - "attachments,assignees,collections,assigned_teams,account" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = ( - "attachments,assignees,collections,assigned_teams,account,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = ( - "attachments,assignees,collections,assigned_teams,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = ( - "attachments,assignees,collections,assigned_teams,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT = "attachments,assignees,collections,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "attachments,assignees,collections,contact,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,assignees,collections,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR = "attachments,assignees,collections,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,assignees,collections,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET = "attachments,assignees,collections,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT = "attachments,assignees,contact" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR = "attachments,assignees,contact,creator" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "attachments,assignees,contact,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET = "attachments,assignees,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_CREATOR = "attachments,assignees,creator" - ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET = "attachments,assignees,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_PARENT_TICKET = "attachments,assignees,parent_ticket" - ATTACHMENTS_COLLECTIONS = "attachments,collections" - ATTACHMENTS_COLLECTIONS_ACCOUNT = "attachments,collections,account" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT = "attachments,collections,account,contact" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "attachments,collections,account,contact,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,collections,account,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR = "attachments,collections,account,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,collections,account,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,collections,account,parent_ticket" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS = "attachments,collections,assigned_teams" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "attachments,collections,assigned_teams,account" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,collections,assigned_teams,account,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,collections,assigned_teams,account,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "attachments,collections,assigned_teams,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,collections,assigned_teams,contact,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "attachments,collections,assigned_teams,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,collections,assigned_teams,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT = "attachments,collections,contact" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR = "attachments,collections,contact,creator" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "attachments,collections,contact,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,collections,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_CREATOR = "attachments,collections,creator" - ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,collections,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_PARENT_TICKET = "attachments,collections,parent_ticket" - ATTACHMENTS_CONTACT = "attachments,contact" - ATTACHMENTS_CONTACT_CREATOR = "attachments,contact,creator" - ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET = "attachments,contact,creator,parent_ticket" - ATTACHMENTS_CONTACT_PARENT_TICKET = "attachments,contact,parent_ticket" - ATTACHMENTS_CREATOR = "attachments,creator" - ATTACHMENTS_CREATOR_PARENT_TICKET = "attachments,creator,parent_ticket" - ATTACHMENTS_PARENT_TICKET = "attachments,parent_ticket" - COLLECTIONS = "collections" - COLLECTIONS_ACCOUNT = "collections,account" - COLLECTIONS_ACCOUNT_CONTACT = "collections,account,contact" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "collections,account,contact,creator" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "collections,account,contact,creator,parent_ticket" - COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "collections,account,contact,parent_ticket" - COLLECTIONS_ACCOUNT_CREATOR = "collections,account,creator" - COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "collections,account,creator,parent_ticket" - COLLECTIONS_ACCOUNT_PARENT_TICKET = "collections,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS = "collections,assigned_teams" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "collections,assigned_teams,account" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "collections,assigned_teams,account,contact" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "collections,assigned_teams,account,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "collections,assigned_teams,account,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "collections,assigned_teams,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "collections,assigned_teams,contact" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "collections,assigned_teams,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "collections,assigned_teams,contact,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "collections,assigned_teams,creator" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "collections,assigned_teams,creator,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "collections,assigned_teams,parent_ticket" - COLLECTIONS_CONTACT = "collections,contact" - COLLECTIONS_CONTACT_CREATOR = "collections,contact,creator" - COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "collections,contact,creator,parent_ticket" - COLLECTIONS_CONTACT_PARENT_TICKET = "collections,contact,parent_ticket" - COLLECTIONS_CREATOR = "collections,creator" - COLLECTIONS_CREATOR_PARENT_TICKET = "collections,creator,parent_ticket" - COLLECTIONS_PARENT_TICKET = "collections,parent_ticket" - CONTACT = "contact" - CONTACT_CREATOR = "contact,creator" - CONTACT_CREATOR_PARENT_TICKET = "contact,creator,parent_ticket" - CONTACT_PARENT_TICKET = "contact,parent_ticket" - CREATOR = "creator" - CREATOR_PARENT_TICKET = "creator,parent_ticket" - PARENT_TICKET = "parent_ticket" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_creator: typing.Callable[[], T_Result], - account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - account_contact_parent_ticket: typing.Callable[[], T_Result], - account_creator: typing.Callable[[], T_Result], - account_creator_parent_ticket: typing.Callable[[], T_Result], - account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams: typing.Callable[[], T_Result], - assigned_teams_account: typing.Callable[[], T_Result], - assigned_teams_account_contact: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_creator: typing.Callable[[], T_Result], - assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact: typing.Callable[[], T_Result], - assigned_teams_contact_creator: typing.Callable[[], T_Result], - assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_creator: typing.Callable[[], T_Result], - assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees: typing.Callable[[], T_Result], - assignees_account: typing.Callable[[], T_Result], - assignees_account_contact: typing.Callable[[], T_Result], - assignees_account_contact_creator: typing.Callable[[], T_Result], - assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_account_creator: typing.Callable[[], T_Result], - assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams: typing.Callable[[], T_Result], - assignees_assigned_teams_account: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections: typing.Callable[[], T_Result], - assignees_collections_account: typing.Callable[[], T_Result], - assignees_collections_account_contact: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_creator: typing.Callable[[], T_Result], - assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact: typing.Callable[[], T_Result], - assignees_collections_contact_creator: typing.Callable[[], T_Result], - assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_creator: typing.Callable[[], T_Result], - assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_parent_ticket: typing.Callable[[], T_Result], - assignees_contact: typing.Callable[[], T_Result], - assignees_contact_creator: typing.Callable[[], T_Result], - assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_creator: typing.Callable[[], T_Result], - assignees_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_parent_ticket: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - attachments_account: typing.Callable[[], T_Result], - attachments_account_contact: typing.Callable[[], T_Result], - attachments_account_contact_creator: typing.Callable[[], T_Result], - attachments_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_account_creator: typing.Callable[[], T_Result], - attachments_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams: typing.Callable[[], T_Result], - attachments_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees: typing.Callable[[], T_Result], - attachments_assignees_account: typing.Callable[[], T_Result], - attachments_assignees_account_contact: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_creator: typing.Callable[[], T_Result], - attachments_assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections: typing.Callable[[], T_Result], - attachments_assignees_collections_account: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[ - [], T_Result - ], - attachments_assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact: typing.Callable[[], T_Result], - attachments_assignees_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_creator: typing.Callable[[], T_Result], - attachments_assignees_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_parent_ticket: typing.Callable[[], T_Result], - attachments_collections: typing.Callable[[], T_Result], - attachments_collections_account: typing.Callable[[], T_Result], - attachments_collections_account_contact: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_creator: typing.Callable[[], T_Result], - attachments_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact: typing.Callable[[], T_Result], - attachments_collections_contact_creator: typing.Callable[[], T_Result], - attachments_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_creator: typing.Callable[[], T_Result], - attachments_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_contact: typing.Callable[[], T_Result], - attachments_contact_creator: typing.Callable[[], T_Result], - attachments_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_creator: typing.Callable[[], T_Result], - attachments_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_parent_ticket: typing.Callable[[], T_Result], - collections: typing.Callable[[], T_Result], - collections_account: typing.Callable[[], T_Result], - collections_account_contact: typing.Callable[[], T_Result], - collections_account_contact_creator: typing.Callable[[], T_Result], - collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_account_creator: typing.Callable[[], T_Result], - collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams: typing.Callable[[], T_Result], - collections_assigned_teams_account: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_creator: typing.Callable[[], T_Result], - collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - collections_contact: typing.Callable[[], T_Result], - collections_contact_creator: typing.Callable[[], T_Result], - collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_contact_parent_ticket: typing.Callable[[], T_Result], - collections_creator: typing.Callable[[], T_Result], - collections_creator_parent_ticket: typing.Callable[[], T_Result], - collections_parent_ticket: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_creator: typing.Callable[[], T_Result], - contact_creator_parent_ticket: typing.Callable[[], T_Result], - contact_parent_ticket: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - creator_parent_ticket: typing.Callable[[], T_Result], - parent_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsListRequestExpand.ACCOUNT: - return account() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_CREATOR: - return account_contact_creator() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_CONTACT_PARENT_TICKET: - return account_contact_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_CREATOR: - return account_creator() - if self is TicketsListRequestExpand.ACCOUNT_CREATOR_PARENT_TICKET: - return account_creator_parent_ticket() - if self is TicketsListRequestExpand.ACCOUNT_PARENT_TICKET: - return account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS: - return assigned_teams() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT: - return assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT: - return assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR: - return assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CREATOR: - return assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNED_TEAMS_PARENT_TICKET: - return assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES: - return assignees() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT: - return assignees_account() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT: - return assignees_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return assignees_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CREATOR: - return assignees_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ACCOUNT_PARENT_TICKET: - return assignees_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS: - return assignees_assigned_teams() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return assignees_assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return assignees_assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return assignees_assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS: - return assignees_collections() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT: - return assignees_collections_account() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return assignees_collections_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return assignees_collections_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return assignees_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return assignees_collections_assigned_teams() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return assignees_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return assignees_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return assignees_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT: - return assignees_collections_contact() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return assignees_collections_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return assignees_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR: - return assignees_collections_creator() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return assignees_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return assignees_collections_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT: - return assignees_contact() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_CREATOR: - return assignees_contact_creator() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return assignees_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CONTACT_PARENT_TICKET: - return assignees_contact_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_CREATOR: - return assignees_creator() - if self is TicketsListRequestExpand.ASSIGNEES_CREATOR_PARENT_TICKET: - return assignees_creator_parent_ticket() - if self is TicketsListRequestExpand.ASSIGNEES_PARENT_TICKET: - return assignees_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS: - return attachments() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT: - return attachments_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT: - return attachments_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR: - return attachments_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR: - return attachments_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ACCOUNT_PARENT_TICKET: - return attachments_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS: - return attachments_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT: - return attachments_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR: - return attachments_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES: - return attachments_assignees() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT: - return attachments_assignees_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT: - return attachments_assignees_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR: - return attachments_assignees_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET: - return attachments_assignees_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS: - return attachments_assignees_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS: - return attachments_assignees_collections() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT: - return attachments_assignees_collections_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_assignees_collections_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_assignees_collections_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_assignees_collections_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT: - return attachments_assignees_collections_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return attachments_assignees_collections_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR: - return attachments_assignees_collections_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return attachments_assignees_collections_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT: - return attachments_assignees_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR: - return attachments_assignees_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET: - return attachments_assignees_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR: - return attachments_assignees_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET: - return attachments_assignees_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_ASSIGNEES_PARENT_TICKET: - return attachments_assignees_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS: - return attachments_collections() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT: - return attachments_collections_account() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_collections_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_account_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_collections_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_collections_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_collections_assigned_teams() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_collections_assigned_teams_account() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_collections_assigned_teams_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_collections_assigned_teams_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT: - return attachments_collections_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR: - return attachments_collections_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_collections_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR: - return attachments_collections_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_collections_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_COLLECTIONS_PARENT_TICKET: - return attachments_collections_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT: - return attachments_contact() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_CREATOR: - return attachments_contact_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CONTACT_PARENT_TICKET: - return attachments_contact_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_CREATOR: - return attachments_creator() - if self is TicketsListRequestExpand.ATTACHMENTS_CREATOR_PARENT_TICKET: - return attachments_creator_parent_ticket() - if self is TicketsListRequestExpand.ATTACHMENTS_PARENT_TICKET: - return attachments_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS: - return collections() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT: - return collections_account() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT: - return collections_account_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return collections_account_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_account_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CREATOR: - return collections_account_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_account_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ACCOUNT_PARENT_TICKET: - return collections_account_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS: - return collections_assigned_teams() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return collections_assigned_teams_account() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return collections_assigned_teams_account_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return collections_assigned_teams_account_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return collections_assigned_teams_account_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return collections_assigned_teams_account_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return collections_assigned_teams_contact() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return collections_assigned_teams_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return collections_assigned_teams_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return collections_assigned_teams_creator() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return collections_assigned_teams_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return collections_assigned_teams_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT: - return collections_contact() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_CREATOR: - return collections_contact_creator() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return collections_contact_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CONTACT_PARENT_TICKET: - return collections_contact_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_CREATOR: - return collections_creator() - if self is TicketsListRequestExpand.COLLECTIONS_CREATOR_PARENT_TICKET: - return collections_creator_parent_ticket() - if self is TicketsListRequestExpand.COLLECTIONS_PARENT_TICKET: - return collections_parent_ticket() - if self is TicketsListRequestExpand.CONTACT: - return contact() - if self is TicketsListRequestExpand.CONTACT_CREATOR: - return contact_creator() - if self is TicketsListRequestExpand.CONTACT_CREATOR_PARENT_TICKET: - return contact_creator_parent_ticket() - if self is TicketsListRequestExpand.CONTACT_PARENT_TICKET: - return contact_parent_ticket() - if self is TicketsListRequestExpand.CREATOR: - return creator() - if self is TicketsListRequestExpand.CREATOR_PARENT_TICKET: - return creator_parent_ticket() - if self is TicketsListRequestExpand.PARENT_TICKET: - return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py new file mode 100644 index 00000000..3fd344fd --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_list_request_expand_item.py @@ -0,0 +1,49 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsListRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ASSIGNED_TEAMS = "assigned_teams" + ASSIGNEES = "assignees" + ATTACHMENTS = "attachments" + COLLECTIONS = "collections" + CONTACT = "contact" + CREATOR = "creator" + PARENT_TICKET = "parent_ticket" + PERMISSIONS = "permissions" + + def visit( + self, + account: typing.Callable[[], T_Result], + assigned_teams: typing.Callable[[], T_Result], + assignees: typing.Callable[[], T_Result], + attachments: typing.Callable[[], T_Result], + collections: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + creator: typing.Callable[[], T_Result], + parent_ticket: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsListRequestExpandItem.ACCOUNT: + return account() + if self is TicketsListRequestExpandItem.ASSIGNED_TEAMS: + return assigned_teams() + if self is TicketsListRequestExpandItem.ASSIGNEES: + return assignees() + if self is TicketsListRequestExpandItem.ATTACHMENTS: + return attachments() + if self is TicketsListRequestExpandItem.COLLECTIONS: + return collections() + if self is TicketsListRequestExpandItem.CONTACT: + return contact() + if self is TicketsListRequestExpandItem.CREATOR: + return creator() + if self is TicketsListRequestExpandItem.PARENT_TICKET: + return parent_ticket() + if self is TicketsListRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_remote_fields.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_remote_fields.py new file mode 100644 index 00000000..1a43df23 --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_remote_fields.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsLiveSearchRetrieveRequestRemoteFields(str, enum.Enum): + PRIORITY = "priority" + PRIORITY_STATUS = "priority,status" + PRIORITY_STATUS_TICKET_TYPE = "priority,status,ticket_type" + PRIORITY_TICKET_TYPE = "priority,ticket_type" + STATUS = "status" + STATUS_TICKET_TYPE = "status,ticket_type" + TICKET_TYPE = "ticket_type" + + def visit( + self, + priority: typing.Callable[[], T_Result], + priority_status: typing.Callable[[], T_Result], + priority_status_ticket_type: typing.Callable[[], T_Result], + priority_ticket_type: typing.Callable[[], T_Result], + status: typing.Callable[[], T_Result], + status_ticket_type: typing.Callable[[], T_Result], + ticket_type: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsLiveSearchRetrieveRequestRemoteFields.PRIORITY: + return priority() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.PRIORITY_STATUS: + return priority_status() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.PRIORITY_STATUS_TICKET_TYPE: + return priority_status_ticket_type() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.PRIORITY_TICKET_TYPE: + return priority_ticket_type() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.STATUS: + return status() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.STATUS_TICKET_TYPE: + return status_ticket_type() + if self is TicketsLiveSearchRetrieveRequestRemoteFields.TICKET_TYPE: + return ticket_type() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_show_enum_origins.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_show_enum_origins.py new file mode 100644 index 00000000..203e0ded --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_live_search_retrieve_request_show_enum_origins.py @@ -0,0 +1,41 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsLiveSearchRetrieveRequestShowEnumOrigins(str, enum.Enum): + PRIORITY = "priority" + PRIORITY_STATUS = "priority,status" + PRIORITY_STATUS_TICKET_TYPE = "priority,status,ticket_type" + PRIORITY_TICKET_TYPE = "priority,ticket_type" + STATUS = "status" + STATUS_TICKET_TYPE = "status,ticket_type" + TICKET_TYPE = "ticket_type" + + def visit( + self, + priority: typing.Callable[[], T_Result], + priority_status: typing.Callable[[], T_Result], + priority_status_ticket_type: typing.Callable[[], T_Result], + priority_ticket_type: typing.Callable[[], T_Result], + status: typing.Callable[[], T_Result], + status_ticket_type: typing.Callable[[], T_Result], + ticket_type: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.PRIORITY: + return priority() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.PRIORITY_STATUS: + return priority_status() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.PRIORITY_STATUS_TICKET_TYPE: + return priority_status_ticket_type() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.PRIORITY_TICKET_TYPE: + return priority_ticket_type() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.STATUS: + return status() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.STATUS_TICKET_TYPE: + return status_ticket_type() + if self is TicketsLiveSearchRetrieveRequestShowEnumOrigins.TICKET_TYPE: + return ticket_type() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py deleted file mode 100644 index 62c0058f..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand.py +++ /dev/null @@ -1,1171 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsRetrieveRequestExpand(str, enum.Enum): - ACCOUNT = "account" - ACCOUNT_CONTACT = "account,contact" - ACCOUNT_CONTACT_CREATOR = "account,contact,creator" - ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "account,contact,creator,parent_ticket" - ACCOUNT_CONTACT_PARENT_TICKET = "account,contact,parent_ticket" - ACCOUNT_CREATOR = "account,creator" - ACCOUNT_CREATOR_PARENT_TICKET = "account,creator,parent_ticket" - ACCOUNT_PARENT_TICKET = "account,parent_ticket" - ASSIGNED_TEAMS = "assigned_teams" - ASSIGNED_TEAMS_ACCOUNT = "assigned_teams,account" - ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assigned_teams,account,contact" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assigned_teams,account,contact,creator" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,account,contact,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assigned_teams,account,contact,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assigned_teams,account,creator" - ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assigned_teams,account,creator,parent_ticket" - ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assigned_teams,account,parent_ticket" - ASSIGNED_TEAMS_CONTACT = "assigned_teams,contact" - ASSIGNED_TEAMS_CONTACT_CREATOR = "assigned_teams,contact,creator" - ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assigned_teams,contact,creator,parent_ticket" - ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assigned_teams,contact,parent_ticket" - ASSIGNED_TEAMS_CREATOR = "assigned_teams,creator" - ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assigned_teams,creator,parent_ticket" - ASSIGNED_TEAMS_PARENT_TICKET = "assigned_teams,parent_ticket" - ASSIGNEES = "assignees" - ASSIGNEES_ACCOUNT = "assignees,account" - ASSIGNEES_ACCOUNT_CONTACT = "assignees,account,contact" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "assignees,account,contact,creator" - ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "assignees,account,contact,creator,parent_ticket" - ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,account,contact,parent_ticket" - ASSIGNEES_ACCOUNT_CREATOR = "assignees,account,creator" - ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,account,creator,parent_ticket" - ASSIGNEES_ACCOUNT_PARENT_TICKET = "assignees,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS = "assignees,assigned_teams" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "assignees,assigned_teams,account" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,assigned_teams,account,contact" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "assignees,assigned_teams,account,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,assigned_teams,account,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,assigned_teams,account,creator" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,account,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "assignees,assigned_teams,account,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "assignees,assigned_teams,contact" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,assigned_teams,contact,creator" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = "assignees,assigned_teams,contact,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "assignees,assigned_teams,contact,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "assignees,assigned_teams,creator" - ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "assignees,assigned_teams,creator,parent_ticket" - ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS = "assignees,collections" - ASSIGNEES_COLLECTIONS_ACCOUNT = "assignees,collections,account" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "assignees,collections,account,contact" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "assignees,collections,account,contact,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "assignees,collections,account,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "assignees,collections,account,creator" - ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "assignees,collections,account,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "assignees,collections,account,parent_ticket" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "assignees,collections,assigned_teams" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "assignees,collections,assigned_teams,account" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "assignees,collections,assigned_teams,account,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "assignees,collections,assigned_teams,account,contact,creator" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "assignees,collections,assigned_teams,account,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,account,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "assignees,collections,assigned_teams,contact" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "assignees,collections,assigned_teams,contact,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "assignees,collections,assigned_teams,contact,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "assignees,collections,assigned_teams,creator" - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "assignees,collections,assigned_teams,creator,parent_ticket" - ) - ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "assignees,collections,assigned_teams,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT = "assignees,collections,contact" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "assignees,collections,contact,creator" - ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "assignees,collections,contact,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "assignees,collections,contact,parent_ticket" - ASSIGNEES_COLLECTIONS_CREATOR = "assignees,collections,creator" - ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "assignees,collections,creator,parent_ticket" - ASSIGNEES_COLLECTIONS_PARENT_TICKET = "assignees,collections,parent_ticket" - ASSIGNEES_CONTACT = "assignees,contact" - ASSIGNEES_CONTACT_CREATOR = "assignees,contact,creator" - ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "assignees,contact,creator,parent_ticket" - ASSIGNEES_CONTACT_PARENT_TICKET = "assignees,contact,parent_ticket" - ASSIGNEES_CREATOR = "assignees,creator" - ASSIGNEES_CREATOR_PARENT_TICKET = "assignees,creator,parent_ticket" - ASSIGNEES_PARENT_TICKET = "assignees,parent_ticket" - ATTACHMENTS = "attachments" - ATTACHMENTS_ACCOUNT = "attachments,account" - ATTACHMENTS_ACCOUNT_CONTACT = "attachments,account,contact" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR = "attachments,account,contact,creator" - ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "attachments,account,contact,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,account,contact,parent_ticket" - ATTACHMENTS_ACCOUNT_CREATOR = "attachments,account,creator" - ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,account,creator,parent_ticket" - ATTACHMENTS_ACCOUNT_PARENT_TICKET = "attachments,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS = "attachments,assigned_teams" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT = "attachments,assigned_teams,account" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "attachments,assigned_teams,account,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "attachments,assigned_teams,account,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT = "attachments,assigned_teams,contact" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "attachments,assigned_teams,contact,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR = "attachments,assigned_teams,creator" - ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "attachments,assigned_teams,creator,parent_ticket" - ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES = "attachments,assignees" - ATTACHMENTS_ASSIGNEES_ACCOUNT = "attachments,assignees,account" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT = "attachments,assignees,account,contact" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR = "attachments,assignees,account,contact,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,assignees,account,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR = "attachments,assignees,account,creator" - ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,assignees,account,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET = "attachments,assignees,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS = "attachments,assignees,assigned_teams" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT = "attachments,assignees,assigned_teams,account" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,assignees,assigned_teams,account,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,assignees,assigned_teams,account,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT = "attachments,assignees,assigned_teams,contact" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,assignees,assigned_teams,contact,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR = "attachments,assignees,assigned_teams,creator" - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,assignees,assigned_teams,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS = "attachments,assignees,collections" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT = "attachments,assignees,collections,account" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT = "attachments,assignees,collections,account,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR = "attachments,assignees,collections,account,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,assignees,collections,account,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS = "attachments,assignees,collections,assigned_teams" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = ( - "attachments,assignees,collections,assigned_teams,account" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = ( - "attachments,assignees,collections,assigned_teams,account,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,account,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = ( - "attachments,assignees,collections,assigned_teams,contact" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = ( - "attachments,assignees,collections,assigned_teams,contact,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = ( - "attachments,assignees,collections,assigned_teams,creator" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = ( - "attachments,assignees,collections,assigned_teams,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT = "attachments,assignees,collections,contact" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR = "attachments,assignees,collections,contact,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,assignees,collections,contact,creator,parent_ticket" - ) - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,assignees,collections,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR = "attachments,assignees,collections,creator" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,assignees,collections,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET = "attachments,assignees,collections,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT = "attachments,assignees,contact" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR = "attachments,assignees,contact,creator" - ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET = "attachments,assignees,contact,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET = "attachments,assignees,contact,parent_ticket" - ATTACHMENTS_ASSIGNEES_CREATOR = "attachments,assignees,creator" - ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET = "attachments,assignees,creator,parent_ticket" - ATTACHMENTS_ASSIGNEES_PARENT_TICKET = "attachments,assignees,parent_ticket" - ATTACHMENTS_COLLECTIONS = "attachments,collections" - ATTACHMENTS_COLLECTIONS_ACCOUNT = "attachments,collections,account" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT = "attachments,collections,account,contact" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "attachments,collections,account,contact,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "attachments,collections,account,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR = "attachments,collections,account,creator" - ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "attachments,collections,account,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET = "attachments,collections,account,parent_ticket" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS = "attachments,collections,assigned_teams" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "attachments,collections,assigned_teams,account" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "attachments,collections,assigned_teams,account,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = ( - "attachments,collections,assigned_teams,account,contact,creator" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "attachments,collections,assigned_teams,account,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,account,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "attachments,collections,assigned_teams,contact" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "attachments,collections,assigned_teams,contact,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = ( - "attachments,collections,assigned_teams,contact,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "attachments,collections,assigned_teams,creator" - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = ( - "attachments,collections,assigned_teams,creator,parent_ticket" - ) - ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "attachments,collections,assigned_teams,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT = "attachments,collections,contact" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR = "attachments,collections,contact,creator" - ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "attachments,collections,contact,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET = "attachments,collections,contact,parent_ticket" - ATTACHMENTS_COLLECTIONS_CREATOR = "attachments,collections,creator" - ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET = "attachments,collections,creator,parent_ticket" - ATTACHMENTS_COLLECTIONS_PARENT_TICKET = "attachments,collections,parent_ticket" - ATTACHMENTS_CONTACT = "attachments,contact" - ATTACHMENTS_CONTACT_CREATOR = "attachments,contact,creator" - ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET = "attachments,contact,creator,parent_ticket" - ATTACHMENTS_CONTACT_PARENT_TICKET = "attachments,contact,parent_ticket" - ATTACHMENTS_CREATOR = "attachments,creator" - ATTACHMENTS_CREATOR_PARENT_TICKET = "attachments,creator,parent_ticket" - ATTACHMENTS_PARENT_TICKET = "attachments,parent_ticket" - COLLECTIONS = "collections" - COLLECTIONS_ACCOUNT = "collections,account" - COLLECTIONS_ACCOUNT_CONTACT = "collections,account,contact" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR = "collections,account,contact,creator" - COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = "collections,account,contact,creator,parent_ticket" - COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET = "collections,account,contact,parent_ticket" - COLLECTIONS_ACCOUNT_CREATOR = "collections,account,creator" - COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET = "collections,account,creator,parent_ticket" - COLLECTIONS_ACCOUNT_PARENT_TICKET = "collections,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS = "collections,assigned_teams" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT = "collections,assigned_teams,account" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT = "collections,assigned_teams,account,contact" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR = "collections,assigned_teams,account,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET = ( - "collections,assigned_teams,account,contact,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR = "collections,assigned_teams,account,creator" - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,account,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET = "collections,assigned_teams,account,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT = "collections,assigned_teams,contact" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR = "collections,assigned_teams,contact,creator" - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET = ( - "collections,assigned_teams,contact,creator,parent_ticket" - ) - COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET = "collections,assigned_teams,contact,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR = "collections,assigned_teams,creator" - COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET = "collections,assigned_teams,creator,parent_ticket" - COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET = "collections,assigned_teams,parent_ticket" - COLLECTIONS_CONTACT = "collections,contact" - COLLECTIONS_CONTACT_CREATOR = "collections,contact,creator" - COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET = "collections,contact,creator,parent_ticket" - COLLECTIONS_CONTACT_PARENT_TICKET = "collections,contact,parent_ticket" - COLLECTIONS_CREATOR = "collections,creator" - COLLECTIONS_CREATOR_PARENT_TICKET = "collections,creator,parent_ticket" - COLLECTIONS_PARENT_TICKET = "collections,parent_ticket" - CONTACT = "contact" - CONTACT_CREATOR = "contact,creator" - CONTACT_CREATOR_PARENT_TICKET = "contact,creator,parent_ticket" - CONTACT_PARENT_TICKET = "contact,parent_ticket" - CREATOR = "creator" - CREATOR_PARENT_TICKET = "creator,parent_ticket" - PARENT_TICKET = "parent_ticket" - - def visit( - self, - account: typing.Callable[[], T_Result], - account_contact: typing.Callable[[], T_Result], - account_contact_creator: typing.Callable[[], T_Result], - account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - account_contact_parent_ticket: typing.Callable[[], T_Result], - account_creator: typing.Callable[[], T_Result], - account_creator_parent_ticket: typing.Callable[[], T_Result], - account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams: typing.Callable[[], T_Result], - assigned_teams_account: typing.Callable[[], T_Result], - assigned_teams_account_contact: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_creator: typing.Callable[[], T_Result], - assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact: typing.Callable[[], T_Result], - assigned_teams_contact_creator: typing.Callable[[], T_Result], - assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_creator: typing.Callable[[], T_Result], - assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees: typing.Callable[[], T_Result], - assignees_account: typing.Callable[[], T_Result], - assignees_account_contact: typing.Callable[[], T_Result], - assignees_account_contact_creator: typing.Callable[[], T_Result], - assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_account_creator: typing.Callable[[], T_Result], - assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams: typing.Callable[[], T_Result], - assignees_assigned_teams_account: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections: typing.Callable[[], T_Result], - assignees_collections_account: typing.Callable[[], T_Result], - assignees_collections_account_contact: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_creator: typing.Callable[[], T_Result], - assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact: typing.Callable[[], T_Result], - assignees_collections_contact_creator: typing.Callable[[], T_Result], - assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_creator: typing.Callable[[], T_Result], - assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_collections_parent_ticket: typing.Callable[[], T_Result], - assignees_contact: typing.Callable[[], T_Result], - assignees_contact_creator: typing.Callable[[], T_Result], - assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_contact_parent_ticket: typing.Callable[[], T_Result], - assignees_creator: typing.Callable[[], T_Result], - assignees_creator_parent_ticket: typing.Callable[[], T_Result], - assignees_parent_ticket: typing.Callable[[], T_Result], - attachments: typing.Callable[[], T_Result], - attachments_account: typing.Callable[[], T_Result], - attachments_account_contact: typing.Callable[[], T_Result], - attachments_account_contact_creator: typing.Callable[[], T_Result], - attachments_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_account_creator: typing.Callable[[], T_Result], - attachments_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams: typing.Callable[[], T_Result], - attachments_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees: typing.Callable[[], T_Result], - attachments_assignees_account: typing.Callable[[], T_Result], - attachments_assignees_account_contact: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_creator: typing.Callable[[], T_Result], - attachments_assignees_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections: typing.Callable[[], T_Result], - attachments_assignees_collections_account: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[ - [], T_Result - ], - attachments_assignees_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_creator: typing.Callable[[], T_Result], - attachments_assignees_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact: typing.Callable[[], T_Result], - attachments_assignees_contact_creator: typing.Callable[[], T_Result], - attachments_assignees_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_creator: typing.Callable[[], T_Result], - attachments_assignees_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_assignees_parent_ticket: typing.Callable[[], T_Result], - attachments_collections: typing.Callable[[], T_Result], - attachments_collections_account: typing.Callable[[], T_Result], - attachments_collections_account_contact: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_creator: typing.Callable[[], T_Result], - attachments_collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact: typing.Callable[[], T_Result], - attachments_collections_contact_creator: typing.Callable[[], T_Result], - attachments_collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_creator: typing.Callable[[], T_Result], - attachments_collections_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_collections_parent_ticket: typing.Callable[[], T_Result], - attachments_contact: typing.Callable[[], T_Result], - attachments_contact_creator: typing.Callable[[], T_Result], - attachments_contact_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_contact_parent_ticket: typing.Callable[[], T_Result], - attachments_creator: typing.Callable[[], T_Result], - attachments_creator_parent_ticket: typing.Callable[[], T_Result], - attachments_parent_ticket: typing.Callable[[], T_Result], - collections: typing.Callable[[], T_Result], - collections_account: typing.Callable[[], T_Result], - collections_account_contact: typing.Callable[[], T_Result], - collections_account_contact_creator: typing.Callable[[], T_Result], - collections_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_account_creator: typing.Callable[[], T_Result], - collections_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams: typing.Callable[[], T_Result], - collections_assigned_teams_account: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator: typing.Callable[[], T_Result], - collections_assigned_teams_account_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_account_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator: typing.Callable[[], T_Result], - collections_assigned_teams_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_contact_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_creator: typing.Callable[[], T_Result], - collections_assigned_teams_creator_parent_ticket: typing.Callable[[], T_Result], - collections_assigned_teams_parent_ticket: typing.Callable[[], T_Result], - collections_contact: typing.Callable[[], T_Result], - collections_contact_creator: typing.Callable[[], T_Result], - collections_contact_creator_parent_ticket: typing.Callable[[], T_Result], - collections_contact_parent_ticket: typing.Callable[[], T_Result], - collections_creator: typing.Callable[[], T_Result], - collections_creator_parent_ticket: typing.Callable[[], T_Result], - collections_parent_ticket: typing.Callable[[], T_Result], - contact: typing.Callable[[], T_Result], - contact_creator: typing.Callable[[], T_Result], - contact_creator_parent_ticket: typing.Callable[[], T_Result], - contact_parent_ticket: typing.Callable[[], T_Result], - creator: typing.Callable[[], T_Result], - creator_parent_ticket: typing.Callable[[], T_Result], - parent_ticket: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsRetrieveRequestExpand.ACCOUNT: - return account() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT: - return account_contact() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_CREATOR: - return account_contact_creator() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CONTACT_PARENT_TICKET: - return account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CREATOR: - return account_creator() - if self is TicketsRetrieveRequestExpand.ACCOUNT_CREATOR_PARENT_TICKET: - return account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ACCOUNT_PARENT_TICKET: - return account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS: - return assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT: - return assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT: - return assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR: - return assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CREATOR: - return assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNED_TEAMS_PARENT_TICKET: - return assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES: - return assignees() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT: - return assignees_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT: - return assignees_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return assignees_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CREATOR: - return assignees_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ACCOUNT_PARENT_TICKET: - return assignees_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS: - return assignees_assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return assignees_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return assignees_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return assignees_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS: - return assignees_collections() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT: - return assignees_collections_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return assignees_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return assignees_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return assignees_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return assignees_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return assignees_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return assignees_collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return assignees_collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return assignees_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return assignees_collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return assignees_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return assignees_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT: - return assignees_collections_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return assignees_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return assignees_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return assignees_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR: - return assignees_collections_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return assignees_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return assignees_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT: - return assignees_contact() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_CREATOR: - return assignees_contact_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return assignees_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CONTACT_PARENT_TICKET: - return assignees_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CREATOR: - return assignees_creator() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_CREATOR_PARENT_TICKET: - return assignees_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ASSIGNEES_PARENT_TICKET: - return assignees_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS: - return attachments() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT: - return attachments_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT: - return attachments_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR: - return attachments_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR: - return attachments_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ACCOUNT_PARENT_TICKET: - return attachments_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS: - return attachments_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT: - return attachments_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR: - return attachments_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES: - return attachments_assignees() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT: - return attachments_assignees_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT: - return attachments_assignees_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR: - return attachments_assignees_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ACCOUNT_PARENT_TICKET: - return attachments_assignees_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS: - return attachments_assignees_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS: - return attachments_assignees_collections() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT: - return attachments_assignees_collections_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_assignees_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_assignees_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_assignees_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_assignees_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_assignees_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_assignees_collections_assigned_teams_account_contact() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_creator_parent_ticket() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_assignees_collections_assigned_teams_account_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_assignees_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_assignees_collections_assigned_teams_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_assignees_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_assignees_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_assignees_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT: - return attachments_assignees_collections_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR: - return attachments_assignees_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_assignees_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR: - return attachments_assignees_collections_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_assignees_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_COLLECTIONS_PARENT_TICKET: - return attachments_assignees_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT: - return attachments_assignees_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR: - return attachments_assignees_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_CREATOR_PARENT_TICKET: - return attachments_assignees_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CONTACT_PARENT_TICKET: - return attachments_assignees_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR: - return attachments_assignees_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_CREATOR_PARENT_TICKET: - return attachments_assignees_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_ASSIGNEES_PARENT_TICKET: - return attachments_assignees_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS: - return attachments_collections() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT: - return attachments_collections_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT: - return attachments_collections_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR: - return attachments_collections_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ACCOUNT_PARENT_TICKET: - return attachments_collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS: - return attachments_collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return attachments_collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return attachments_collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return attachments_collections_assigned_teams_account_contact_creator() - if ( - self - is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET - ): - return attachments_collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return attachments_collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return attachments_collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return attachments_collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return attachments_collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return attachments_collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return attachments_collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return attachments_collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return attachments_collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT: - return attachments_collections_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR: - return attachments_collections_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CONTACT_PARENT_TICKET: - return attachments_collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR: - return attachments_collections_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_CREATOR_PARENT_TICKET: - return attachments_collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_COLLECTIONS_PARENT_TICKET: - return attachments_collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT: - return attachments_contact() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_CREATOR: - return attachments_contact_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_CREATOR_PARENT_TICKET: - return attachments_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CONTACT_PARENT_TICKET: - return attachments_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CREATOR: - return attachments_creator() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_CREATOR_PARENT_TICKET: - return attachments_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.ATTACHMENTS_PARENT_TICKET: - return attachments_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS: - return collections() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT: - return collections_account() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT: - return collections_account_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR: - return collections_account_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CREATOR: - return collections_account_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ACCOUNT_PARENT_TICKET: - return collections_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS: - return collections_assigned_teams() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT: - return collections_assigned_teams_account() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT: - return collections_assigned_teams_account_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR: - return collections_assigned_teams_account_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CONTACT_PARENT_TICKET: - return collections_assigned_teams_account_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR: - return collections_assigned_teams_account_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_account_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_ACCOUNT_PARENT_TICKET: - return collections_assigned_teams_account_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT: - return collections_assigned_teams_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR: - return collections_assigned_teams_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_CREATOR_PARENT_TICKET: - return collections_assigned_teams_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CONTACT_PARENT_TICKET: - return collections_assigned_teams_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR: - return collections_assigned_teams_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_CREATOR_PARENT_TICKET: - return collections_assigned_teams_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_ASSIGNED_TEAMS_PARENT_TICKET: - return collections_assigned_teams_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT: - return collections_contact() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_CREATOR: - return collections_contact_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_CREATOR_PARENT_TICKET: - return collections_contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CONTACT_PARENT_TICKET: - return collections_contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CREATOR: - return collections_creator() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_CREATOR_PARENT_TICKET: - return collections_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.COLLECTIONS_PARENT_TICKET: - return collections_parent_ticket() - if self is TicketsRetrieveRequestExpand.CONTACT: - return contact() - if self is TicketsRetrieveRequestExpand.CONTACT_CREATOR: - return contact_creator() - if self is TicketsRetrieveRequestExpand.CONTACT_CREATOR_PARENT_TICKET: - return contact_creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.CONTACT_PARENT_TICKET: - return contact_parent_ticket() - if self is TicketsRetrieveRequestExpand.CREATOR: - return creator() - if self is TicketsRetrieveRequestExpand.CREATOR_PARENT_TICKET: - return creator_parent_ticket() - if self is TicketsRetrieveRequestExpand.PARENT_TICKET: - return parent_ticket() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py new file mode 100644 index 00000000..1b50b165 --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_retrieve_request_expand_item.py @@ -0,0 +1,49 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsRetrieveRequestExpandItem(str, enum.Enum): + ACCOUNT = "account" + ASSIGNED_TEAMS = "assigned_teams" + ASSIGNEES = "assignees" + ATTACHMENTS = "attachments" + COLLECTIONS = "collections" + CONTACT = "contact" + CREATOR = "creator" + PARENT_TICKET = "parent_ticket" + PERMISSIONS = "permissions" + + def visit( + self, + account: typing.Callable[[], T_Result], + assigned_teams: typing.Callable[[], T_Result], + assignees: typing.Callable[[], T_Result], + attachments: typing.Callable[[], T_Result], + collections: typing.Callable[[], T_Result], + contact: typing.Callable[[], T_Result], + creator: typing.Callable[[], T_Result], + parent_ticket: typing.Callable[[], T_Result], + permissions: typing.Callable[[], T_Result], + ) -> T_Result: + if self is TicketsRetrieveRequestExpandItem.ACCOUNT: + return account() + if self is TicketsRetrieveRequestExpandItem.ASSIGNED_TEAMS: + return assigned_teams() + if self is TicketsRetrieveRequestExpandItem.ASSIGNEES: + return assignees() + if self is TicketsRetrieveRequestExpandItem.ATTACHMENTS: + return attachments() + if self is TicketsRetrieveRequestExpandItem.COLLECTIONS: + return collections() + if self is TicketsRetrieveRequestExpandItem.CONTACT: + return contact() + if self is TicketsRetrieveRequestExpandItem.CREATOR: + return creator() + if self is TicketsRetrieveRequestExpandItem.PARENT_TICKET: + return parent_ticket() + if self is TicketsRetrieveRequestExpandItem.PERMISSIONS: + return permissions() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py deleted file mode 100644 index ddb14bb3..00000000 --- a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class TicketsViewersListRequestExpand(str, enum.Enum): - TEAM = "team" - USER = "user" - USER_TEAM = "user,team" - - def visit( - self, - team: typing.Callable[[], T_Result], - user: typing.Callable[[], T_Result], - user_team: typing.Callable[[], T_Result], - ) -> T_Result: - if self is TicketsViewersListRequestExpand.TEAM: - return team() - if self is TicketsViewersListRequestExpand.USER: - return user() - if self is TicketsViewersListRequestExpand.USER_TEAM: - return user_team() diff --git a/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py new file mode 100644 index 00000000..756fcef2 --- /dev/null +++ b/src/merge/resources/ticketing/resources/tickets/types/tickets_viewers_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class TicketsViewersListRequestExpandItem(str, enum.Enum): + TEAM = "team" + USER = "user" + + def visit(self, team: typing.Callable[[], T_Result], user: typing.Callable[[], T_Result]) -> T_Result: + if self is TicketsViewersListRequestExpandItem.TEAM: + return team() + if self is TicketsViewersListRequestExpandItem.USER: + return user() diff --git a/src/merge/resources/ticketing/resources/users/__init__.py b/src/merge/resources/ticketing/resources/users/__init__.py index a2dfa5f8..8e4fa9ff 100644 --- a/src/merge/resources/ticketing/resources/users/__init__.py +++ b/src/merge/resources/ticketing/resources/users/__init__.py @@ -6,8 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .types import UsersListRequestExpand, UsersRetrieveRequestExpand -_dynamic_imports: typing.Dict[str, str] = {"UsersListRequestExpand": ".types", "UsersRetrieveRequestExpand": ".types"} + from .types import UsersListRequestExpandItem, UsersRetrieveRequestExpandItem +_dynamic_imports: typing.Dict[str, str] = { + "UsersListRequestExpandItem": ".types", + "UsersRetrieveRequestExpandItem": ".types", +} def __getattr__(attr_name: str) -> typing.Any: @@ -29,4 +32,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["UsersListRequestExpand", "UsersRetrieveRequestExpand"] +__all__ = ["UsersListRequestExpandItem", "UsersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/users/client.py b/src/merge/resources/ticketing/resources/users/client.py index 69855e85..9a751f86 100644 --- a/src/merge/resources/ticketing/resources/users/client.py +++ b/src/merge/resources/ticketing/resources/users/client.py @@ -4,12 +4,12 @@ import typing from .....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper +from .....core.pagination import AsyncPager, SyncPager from .....core.request_options import RequestOptions -from ...types.paginated_user_list import PaginatedUserList from ...types.user import User from .raw_client import AsyncRawUsersClient, RawUsersClient -from .types.users_list_request_expand import UsersListRequestExpand -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand +from .types.users_list_request_expand_item import UsersListRequestExpandItem +from .types.users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem class UsersClient: @@ -30,11 +30,14 @@ def with_raw_response(self) -> RawUsersClient: def list( self, *, + collections: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -42,14 +45,19 @@ def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, + roles: typing.Optional[str] = None, team: typing.Optional[str] = None, + teams: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> SyncPager[User]: """ Returns a list of `User` objects. Parameters ---------- + collections : typing.Optional[str] + If provided, will only return users involved with at least one of these collections. + created_after : typing.Optional[dt.datetime] If provided, will only return objects created after this datetime. @@ -62,7 +70,7 @@ def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -86,15 +94,21 @@ def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + roles : typing.Optional[str] + If provided, will only return users with at least one of these roles. + team : typing.Optional[str] If provided, will only return users matching in this team. + teams : typing.Optional[str] + If provided, will only return users with at least one of these teams. + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedUserList + SyncPager[User] Examples @@ -102,13 +116,13 @@ def list( import datetime from merge import Merge - from merge.resources.ticketing.resources.users import UsersListRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", api_key="YOUR_API_KEY", ) - client.ticketing.users.list( + response = client.ticketing.users.list( + collections="collections", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -117,7 +131,6 @@ def list( ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_address="email_address", - expand=UsersListRequestExpand.ROLES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -129,10 +142,18 @@ def list( ), page_size=1, remote_id="remote_id", + roles="roles", team="team", + teams="teams", ) + for item in response: + yield item + # alternatively, you can paginate page-by-page + for page in response.iter_pages(): + yield page """ - _response = self._raw_client.list( + return self._raw_client.list( + collections=collections, created_after=created_after, created_before=created_before, cursor=cursor, @@ -145,16 +166,19 @@ def list( modified_before=modified_before, page_size=page_size, remote_id=remote_id, + roles=roles, team=team, + teams=teams, request_options=request_options, ) - return _response.data def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -166,7 +190,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -186,7 +210,6 @@ def retrieve( Examples -------- from merge import Merge - from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand client = Merge( account_token="YOUR_ACCOUNT_TOKEN", @@ -194,7 +217,6 @@ def retrieve( ) client.ticketing.users.retrieve( id="id", - expand=UsersRetrieveRequestExpand.ROLES, include_remote_data=True, include_shell_data=True, ) @@ -227,11 +249,14 @@ def with_raw_response(self) -> AsyncRawUsersClient: async def list( self, *, + collections: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -239,14 +264,19 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, + roles: typing.Optional[str] = None, team: typing.Optional[str] = None, + teams: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> PaginatedUserList: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. Parameters ---------- + collections : typing.Optional[str] + If provided, will only return users involved with at least one of these collections. + created_after : typing.Optional[dt.datetime] If provided, will only return objects created after this datetime. @@ -259,7 +289,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -283,15 +313,21 @@ async def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + roles : typing.Optional[str] + If provided, will only return users with at least one of these roles. + team : typing.Optional[str] If provided, will only return users matching in this team. + teams : typing.Optional[str] + If provided, will only return users with at least one of these teams. + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - PaginatedUserList + AsyncPager[User] Examples @@ -300,7 +336,6 @@ async def list( import datetime from merge import AsyncMerge - from merge.resources.ticketing.resources.users import UsersListRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -309,7 +344,8 @@ async def list( async def main() -> None: - await client.ticketing.users.list( + response = await client.ticketing.users.list( + collections="collections", created_after=datetime.datetime.fromisoformat( "2024-01-15 09:30:00+00:00", ), @@ -318,7 +354,6 @@ async def main() -> None: ), cursor="cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", email_address="email_address", - expand=UsersListRequestExpand.ROLES, include_deleted_data=True, include_remote_data=True, include_shell_data=True, @@ -330,13 +365,22 @@ async def main() -> None: ), page_size=1, remote_id="remote_id", + roles="roles", team="team", + teams="teams", ) + async for item in response: + yield item + + # alternatively, you can paginate page-by-page + async for page in response.iter_pages(): + yield page asyncio.run(main()) """ - _response = await self._raw_client.list( + return await self._raw_client.list( + collections=collections, created_after=created_after, created_before=created_before, cursor=cursor, @@ -349,16 +393,19 @@ async def main() -> None: modified_before=modified_before, page_size=page_size, remote_id=remote_id, + roles=roles, team=team, + teams=teams, request_options=request_options, ) - return _response.data async def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -370,7 +417,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -392,7 +439,6 @@ async def retrieve( import asyncio from merge import AsyncMerge - from merge.resources.ticketing.resources.users import UsersRetrieveRequestExpand client = AsyncMerge( account_token="YOUR_ACCOUNT_TOKEN", @@ -403,7 +449,6 @@ async def retrieve( async def main() -> None: await client.ticketing.users.retrieve( id="id", - expand=UsersRetrieveRequestExpand.ROLES, include_remote_data=True, include_shell_data=True, ) diff --git a/src/merge/resources/ticketing/resources/users/raw_client.py b/src/merge/resources/ticketing/resources/users/raw_client.py index b7f9c286..86c667a5 100644 --- a/src/merge/resources/ticketing/resources/users/raw_client.py +++ b/src/merge/resources/ticketing/resources/users/raw_client.py @@ -9,12 +9,13 @@ from .....core.datetime_utils import serialize_datetime from .....core.http_response import AsyncHttpResponse, HttpResponse from .....core.jsonable_encoder import jsonable_encoder +from .....core.pagination import AsyncPager, BaseHttpResponse, SyncPager from .....core.request_options import RequestOptions from .....core.unchecked_base_model import construct_type from ...types.paginated_user_list import PaginatedUserList from ...types.user import User -from .types.users_list_request_expand import UsersListRequestExpand -from .types.users_retrieve_request_expand import UsersRetrieveRequestExpand +from .types.users_list_request_expand_item import UsersListRequestExpandItem +from .types.users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem class RawUsersClient: @@ -24,11 +25,14 @@ def __init__(self, *, client_wrapper: SyncClientWrapper): def list( self, *, + collections: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -36,14 +40,19 @@ def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, + roles: typing.Optional[str] = None, team: typing.Optional[str] = None, + teams: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> HttpResponse[PaginatedUserList]: + ) -> SyncPager[User]: """ Returns a list of `User` objects. Parameters ---------- + collections : typing.Optional[str] + If provided, will only return users involved with at least one of these collections. + created_after : typing.Optional[dt.datetime] If provided, will only return objects created after this datetime. @@ -56,7 +65,7 @@ def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -80,21 +89,28 @@ def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + roles : typing.Optional[str] + If provided, will only return users with at least one of these roles. + team : typing.Optional[str] If provided, will only return users matching in this team. + teams : typing.Optional[str] + If provided, will only return users with at least one of these teams. + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - HttpResponse[PaginatedUserList] + SyncPager[User] """ _response = self._client_wrapper.httpx_client.request( "ticketing/v1/users", method="GET", params={ + "collections": collections, "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, @@ -107,20 +123,46 @@ def list( "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, "remote_id": remote_id, + "roles": roles, "team": team, + "teams": teams, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return HttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + _get_next = lambda: self.list( + collections=collections, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + roles=roles, + team=team, + teams=teams, + request_options=request_options, + ) + return SyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -130,7 +172,9 @@ def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -142,7 +186,7 @@ def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] @@ -192,11 +236,14 @@ def __init__(self, *, client_wrapper: AsyncClientWrapper): async def list( self, *, + collections: typing.Optional[str] = None, created_after: typing.Optional[dt.datetime] = None, created_before: typing.Optional[dt.datetime] = None, cursor: typing.Optional[str] = None, email_address: typing.Optional[str] = None, - expand: typing.Optional[UsersListRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]] + ] = None, include_deleted_data: typing.Optional[bool] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, @@ -204,14 +251,19 @@ async def list( modified_before: typing.Optional[dt.datetime] = None, page_size: typing.Optional[int] = None, remote_id: typing.Optional[str] = None, + roles: typing.Optional[str] = None, team: typing.Optional[str] = None, + teams: typing.Optional[str] = None, request_options: typing.Optional[RequestOptions] = None, - ) -> AsyncHttpResponse[PaginatedUserList]: + ) -> AsyncPager[User]: """ Returns a list of `User` objects. Parameters ---------- + collections : typing.Optional[str] + If provided, will only return users involved with at least one of these collections. + created_after : typing.Optional[dt.datetime] If provided, will only return objects created after this datetime. @@ -224,7 +276,7 @@ async def list( email_address : typing.Optional[str] If provided, will only return users with emails equal to this value (case insensitive). - expand : typing.Optional[UsersListRequestExpand] + expand : typing.Optional[typing.Union[UsersListRequestExpandItem, typing.Sequence[UsersListRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_deleted_data : typing.Optional[bool] @@ -248,21 +300,28 @@ async def list( remote_id : typing.Optional[str] The API provider's ID for the given object. + roles : typing.Optional[str] + If provided, will only return users with at least one of these roles. + team : typing.Optional[str] If provided, will only return users matching in this team. + teams : typing.Optional[str] + If provided, will only return users with at least one of these teams. + request_options : typing.Optional[RequestOptions] Request-specific configuration. Returns ------- - AsyncHttpResponse[PaginatedUserList] + AsyncPager[User] """ _response = await self._client_wrapper.httpx_client.request( "ticketing/v1/users", method="GET", params={ + "collections": collections, "created_after": serialize_datetime(created_after) if created_after is not None else None, "created_before": serialize_datetime(created_before) if created_before is not None else None, "cursor": cursor, @@ -275,20 +334,49 @@ async def list( "modified_before": serialize_datetime(modified_before) if modified_before is not None else None, "page_size": page_size, "remote_id": remote_id, + "roles": roles, "team": team, + "teams": teams, }, request_options=request_options, ) try: if 200 <= _response.status_code < 300: - _data = typing.cast( + _parsed_response = typing.cast( PaginatedUserList, construct_type( type_=PaginatedUserList, # type: ignore object_=_response.json(), ), ) - return AsyncHttpResponse(response=_response, data=_data) + _items = _parsed_response.results + _parsed_next = _parsed_response.next + _has_next = _parsed_next is not None and _parsed_next != "" + + async def _get_next(): + return await self.list( + collections=collections, + created_after=created_after, + created_before=created_before, + cursor=_parsed_next, + email_address=email_address, + expand=expand, + include_deleted_data=include_deleted_data, + include_remote_data=include_remote_data, + include_shell_data=include_shell_data, + modified_after=modified_after, + modified_before=modified_before, + page_size=page_size, + remote_id=remote_id, + roles=roles, + team=team, + teams=teams, + request_options=request_options, + ) + + return AsyncPager( + has_next=_has_next, items=_items, get_next=_get_next, response=BaseHttpResponse(response=_response) + ) _response_json = _response.json() except JSONDecodeError: raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text) @@ -298,7 +386,9 @@ async def retrieve( self, id: str, *, - expand: typing.Optional[UsersRetrieveRequestExpand] = None, + expand: typing.Optional[ + typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]] + ] = None, include_remote_data: typing.Optional[bool] = None, include_shell_data: typing.Optional[bool] = None, request_options: typing.Optional[RequestOptions] = None, @@ -310,7 +400,7 @@ async def retrieve( ---------- id : str - expand : typing.Optional[UsersRetrieveRequestExpand] + expand : typing.Optional[typing.Union[UsersRetrieveRequestExpandItem, typing.Sequence[UsersRetrieveRequestExpandItem]]] Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. include_remote_data : typing.Optional[bool] diff --git a/src/merge/resources/ticketing/resources/users/types/__init__.py b/src/merge/resources/ticketing/resources/users/types/__init__.py index bd60bdef..e7ba722e 100644 --- a/src/merge/resources/ticketing/resources/users/types/__init__.py +++ b/src/merge/resources/ticketing/resources/users/types/__init__.py @@ -6,11 +6,11 @@ from importlib import import_module if typing.TYPE_CHECKING: - from .users_list_request_expand import UsersListRequestExpand - from .users_retrieve_request_expand import UsersRetrieveRequestExpand + from .users_list_request_expand_item import UsersListRequestExpandItem + from .users_retrieve_request_expand_item import UsersRetrieveRequestExpandItem _dynamic_imports: typing.Dict[str, str] = { - "UsersListRequestExpand": ".users_list_request_expand", - "UsersRetrieveRequestExpand": ".users_retrieve_request_expand", + "UsersListRequestExpandItem": ".users_list_request_expand_item", + "UsersRetrieveRequestExpandItem": ".users_retrieve_request_expand_item", } @@ -33,4 +33,4 @@ def __dir__(): return sorted(lazy_attrs) -__all__ = ["UsersListRequestExpand", "UsersRetrieveRequestExpand"] +__all__ = ["UsersListRequestExpandItem", "UsersRetrieveRequestExpandItem"] diff --git a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py deleted file mode 100644 index d4b526f8..00000000 --- a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class UsersListRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is UsersListRequestExpand.ROLES: - return roles() - if self is UsersListRequestExpand.TEAMS: - return teams() - if self is UsersListRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py new file mode 100644 index 00000000..5a1b474b --- /dev/null +++ b/src/merge/resources/ticketing/resources/users/types/users_list_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersListRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersListRequestExpandItem.ROLES: + return roles() + if self is UsersListRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py deleted file mode 100644 index b7f19ab6..00000000 --- a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand.py +++ /dev/null @@ -1,25 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import enum -import typing - -T_Result = typing.TypeVar("T_Result") - - -class UsersRetrieveRequestExpand(str, enum.Enum): - ROLES = "roles" - TEAMS = "teams" - TEAMS_ROLES = "teams,roles" - - def visit( - self, - roles: typing.Callable[[], T_Result], - teams: typing.Callable[[], T_Result], - teams_roles: typing.Callable[[], T_Result], - ) -> T_Result: - if self is UsersRetrieveRequestExpand.ROLES: - return roles() - if self is UsersRetrieveRequestExpand.TEAMS: - return teams() - if self is UsersRetrieveRequestExpand.TEAMS_ROLES: - return teams_roles() diff --git a/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py new file mode 100644 index 00000000..5f734dfc --- /dev/null +++ b/src/merge/resources/ticketing/resources/users/types/users_retrieve_request_expand_item.py @@ -0,0 +1,17 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class UsersRetrieveRequestExpandItem(str, enum.Enum): + ROLES = "roles" + TEAMS = "teams" + + def visit(self, roles: typing.Callable[[], T_Result], teams: typing.Callable[[], T_Result]) -> T_Result: + if self is UsersRetrieveRequestExpandItem.ROLES: + return roles() + if self is UsersRetrieveRequestExpandItem.TEAMS: + return teams() diff --git a/src/merge/resources/ticketing/types/__init__.py b/src/merge/resources/ticketing/types/__init__.py index 59da70e3..ccba56c0 100644 --- a/src/merge/resources/ticketing/types/__init__.py +++ b/src/merge/resources/ticketing/types/__init__.py @@ -16,6 +16,7 @@ from .account_details_category import AccountDetailsCategory from .account_integration import AccountIntegration from .account_token import AccountToken + from .actions_enum import ActionsEnum from .advanced_metadata import AdvancedMetadata from .async_passthrough_reciept import AsyncPassthroughReciept from .attachment import Attachment @@ -31,8 +32,8 @@ from .collection import Collection from .collection_access_level import CollectionAccessLevel from .collection_access_level_enum import CollectionAccessLevelEnum - from .collection_collection_type import CollectionCollectionType from .collection_parent_collection import CollectionParentCollection + from .collection_permissions_item import CollectionPermissionsItem from .collection_type_enum import CollectionTypeEnum from .comment import Comment from .comment_contact import CommentContact @@ -45,7 +46,6 @@ from .comment_user import CommentUser from .common_model_scope_api import CommonModelScopeApi from .common_model_scopes_body_request import CommonModelScopesBodyRequest - from .completed_account_initial_screen_enum import CompletedAccountInitialScreenEnum from .contact import Contact from .contact_account import ContactAccount from .contact_request import ContactRequest @@ -53,6 +53,7 @@ from .data_passthrough_request import DataPassthroughRequest from .debug_mode_log import DebugModeLog from .debug_model_log_summary import DebugModelLogSummary + from .effect_enum import EffectEnum from .enabled_actions_enum import EnabledActionsEnum from .encoding_enum import EncodingEnum from .error_validation_problem import ErrorValidationProblem @@ -109,10 +110,14 @@ from .paginated_viewer_list import PaginatedViewerList from .patched_ticket_request import PatchedTicketRequest from .patched_ticket_request_access_level import PatchedTicketRequestAccessLevel - from .patched_ticket_request_priority import PatchedTicketRequestPriority from .patched_ticket_request_status import PatchedTicketRequestStatus + from .permission import Permission + from .permission_effect import PermissionEffect + from .permission_request import PermissionRequest + from .permission_request_effect import PermissionRequestEffect from .priority_enum import PriorityEnum from .project import Project + from .regenerate_account_token import RegenerateAccountToken from .remote_data import RemoteData from .remote_endpoint_info import RemoteEndpointInfo from .remote_field import RemoteField @@ -121,13 +126,12 @@ from .remote_field_api_response import RemoteFieldApiResponse from .remote_field_class import RemoteFieldClass from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem - from .remote_field_class_field_format import RemoteFieldClassFieldFormat - from .remote_field_class_field_type import RemoteFieldClassFieldType from .remote_field_remote_field_class import RemoteFieldRemoteFieldClass from .remote_field_request import RemoteFieldRequest from .remote_field_request_remote_field_class import RemoteFieldRequestRemoteFieldClass from .remote_key import RemoteKey from .remote_response import RemoteResponse + from .remote_response_response_type import RemoteResponseResponseType from .request_format_enum import RequestFormatEnum from .response_type_enum import ResponseTypeEnum from .role import Role @@ -138,6 +142,7 @@ from .status_fd_5_enum import StatusFd5Enum from .sync_status import SyncStatus from .sync_status_last_sync_result import SyncStatusLastSyncResult + from .sync_status_status import SyncStatusStatus from .tag import Tag from .team import Team from .ticket import Ticket @@ -191,6 +196,7 @@ "AccountDetailsCategory": ".account_details_category", "AccountIntegration": ".account_integration", "AccountToken": ".account_token", + "ActionsEnum": ".actions_enum", "AdvancedMetadata": ".advanced_metadata", "AsyncPassthroughReciept": ".async_passthrough_reciept", "Attachment": ".attachment", @@ -206,8 +212,8 @@ "Collection": ".collection", "CollectionAccessLevel": ".collection_access_level", "CollectionAccessLevelEnum": ".collection_access_level_enum", - "CollectionCollectionType": ".collection_collection_type", "CollectionParentCollection": ".collection_parent_collection", + "CollectionPermissionsItem": ".collection_permissions_item", "CollectionTypeEnum": ".collection_type_enum", "Comment": ".comment", "CommentContact": ".comment_contact", @@ -220,7 +226,6 @@ "CommentUser": ".comment_user", "CommonModelScopeApi": ".common_model_scope_api", "CommonModelScopesBodyRequest": ".common_model_scopes_body_request", - "CompletedAccountInitialScreenEnum": ".completed_account_initial_screen_enum", "Contact": ".contact", "ContactAccount": ".contact_account", "ContactRequest": ".contact_request", @@ -228,6 +233,7 @@ "DataPassthroughRequest": ".data_passthrough_request", "DebugModeLog": ".debug_mode_log", "DebugModelLogSummary": ".debug_model_log_summary", + "EffectEnum": ".effect_enum", "EnabledActionsEnum": ".enabled_actions_enum", "EncodingEnum": ".encoding_enum", "ErrorValidationProblem": ".error_validation_problem", @@ -282,10 +288,14 @@ "PaginatedViewerList": ".paginated_viewer_list", "PatchedTicketRequest": ".patched_ticket_request", "PatchedTicketRequestAccessLevel": ".patched_ticket_request_access_level", - "PatchedTicketRequestPriority": ".patched_ticket_request_priority", "PatchedTicketRequestStatus": ".patched_ticket_request_status", + "Permission": ".permission", + "PermissionEffect": ".permission_effect", + "PermissionRequest": ".permission_request", + "PermissionRequestEffect": ".permission_request_effect", "PriorityEnum": ".priority_enum", "Project": ".project", + "RegenerateAccountToken": ".regenerate_account_token", "RemoteData": ".remote_data", "RemoteEndpointInfo": ".remote_endpoint_info", "RemoteField": ".remote_field", @@ -294,13 +304,12 @@ "RemoteFieldApiResponse": ".remote_field_api_response", "RemoteFieldClass": ".remote_field_class", "RemoteFieldClassFieldChoicesItem": ".remote_field_class_field_choices_item", - "RemoteFieldClassFieldFormat": ".remote_field_class_field_format", - "RemoteFieldClassFieldType": ".remote_field_class_field_type", "RemoteFieldRemoteFieldClass": ".remote_field_remote_field_class", "RemoteFieldRequest": ".remote_field_request", "RemoteFieldRequestRemoteFieldClass": ".remote_field_request_remote_field_class", "RemoteKey": ".remote_key", "RemoteResponse": ".remote_response", + "RemoteResponseResponseType": ".remote_response_response_type", "RequestFormatEnum": ".request_format_enum", "ResponseTypeEnum": ".response_type_enum", "Role": ".role", @@ -311,6 +320,7 @@ "StatusFd5Enum": ".status_fd_5_enum", "SyncStatus": ".sync_status", "SyncStatusLastSyncResult": ".sync_status_last_sync_result", + "SyncStatusStatus": ".sync_status_status", "Tag": ".tag", "Team": ".team", "Ticket": ".ticket", @@ -386,6 +396,7 @@ def __dir__(): "AccountDetailsCategory", "AccountIntegration", "AccountToken", + "ActionsEnum", "AdvancedMetadata", "AsyncPassthroughReciept", "Attachment", @@ -401,8 +412,8 @@ def __dir__(): "Collection", "CollectionAccessLevel", "CollectionAccessLevelEnum", - "CollectionCollectionType", "CollectionParentCollection", + "CollectionPermissionsItem", "CollectionTypeEnum", "Comment", "CommentContact", @@ -415,7 +426,6 @@ def __dir__(): "CommentUser", "CommonModelScopeApi", "CommonModelScopesBodyRequest", - "CompletedAccountInitialScreenEnum", "Contact", "ContactAccount", "ContactRequest", @@ -423,6 +433,7 @@ def __dir__(): "DataPassthroughRequest", "DebugModeLog", "DebugModelLogSummary", + "EffectEnum", "EnabledActionsEnum", "EncodingEnum", "ErrorValidationProblem", @@ -477,10 +488,14 @@ def __dir__(): "PaginatedViewerList", "PatchedTicketRequest", "PatchedTicketRequestAccessLevel", - "PatchedTicketRequestPriority", "PatchedTicketRequestStatus", + "Permission", + "PermissionEffect", + "PermissionRequest", + "PermissionRequestEffect", "PriorityEnum", "Project", + "RegenerateAccountToken", "RemoteData", "RemoteEndpointInfo", "RemoteField", @@ -489,13 +504,12 @@ def __dir__(): "RemoteFieldApiResponse", "RemoteFieldClass", "RemoteFieldClassFieldChoicesItem", - "RemoteFieldClassFieldFormat", - "RemoteFieldClassFieldType", "RemoteFieldRemoteFieldClass", "RemoteFieldRequest", "RemoteFieldRequestRemoteFieldClass", "RemoteKey", "RemoteResponse", + "RemoteResponseResponseType", "RequestFormatEnum", "ResponseTypeEnum", "Role", @@ -506,6 +520,7 @@ def __dir__(): "StatusFd5Enum", "SyncStatus", "SyncStatusLastSyncResult", + "SyncStatusStatus", "Tag", "Team", "Ticket", diff --git a/src/merge/resources/ticketing/types/actions_enum.py b/src/merge/resources/ticketing/types/actions_enum.py new file mode 100644 index 00000000..77b81831 --- /dev/null +++ b/src/merge/resources/ticketing/types/actions_enum.py @@ -0,0 +1,36 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class ActionsEnum(str, enum.Enum): + """ + * `VIEW` - VIEW + * `CREATE` - CREATE + * `EDIT` - EDIT + * `DELETE` - DELETE + """ + + VIEW = "VIEW" + CREATE = "CREATE" + EDIT = "EDIT" + DELETE = "DELETE" + + def visit( + self, + view: typing.Callable[[], T_Result], + create: typing.Callable[[], T_Result], + edit: typing.Callable[[], T_Result], + delete: typing.Callable[[], T_Result], + ) -> T_Result: + if self is ActionsEnum.VIEW: + return view() + if self is ActionsEnum.CREATE: + return create() + if self is ActionsEnum.EDIT: + return edit() + if self is ActionsEnum.DELETE: + return delete() diff --git a/src/merge/resources/ticketing/types/audit_log_event.py b/src/merge/resources/ticketing/types/audit_log_event.py index ab69fd32..1bb2fdbf 100644 --- a/src/merge/resources/ticketing/types/audit_log_event.py +++ b/src/merge/resources/ticketing/types/audit_log_event.py @@ -32,6 +32,7 @@ class AuditLogEvent(UncheckedBaseModel): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ip_address: str diff --git a/src/merge/resources/ticketing/types/categories_enum.py b/src/merge/resources/ticketing/types/categories_enum.py index da1e0dc0..3f2dc5a9 100644 --- a/src/merge/resources/ticketing/types/categories_enum.py +++ b/src/merge/resources/ticketing/types/categories_enum.py @@ -15,7 +15,6 @@ class CategoriesEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage - * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -25,7 +24,6 @@ class CategoriesEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -36,7 +34,6 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoriesEnum.HRIS: return hris() @@ -52,5 +49,3 @@ def visit( return mktg() if self is CategoriesEnum.FILESTORAGE: return filestorage() - if self is CategoriesEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/ticketing/types/category_enum.py b/src/merge/resources/ticketing/types/category_enum.py index 1d7cd2c0..d37e48f5 100644 --- a/src/merge/resources/ticketing/types/category_enum.py +++ b/src/merge/resources/ticketing/types/category_enum.py @@ -15,7 +15,6 @@ class CategoryEnum(str, enum.Enum): * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage - * `knowledgebase` - knowledgebase """ HRIS = "hris" @@ -25,7 +24,6 @@ class CategoryEnum(str, enum.Enum): CRM = "crm" MKTG = "mktg" FILESTORAGE = "filestorage" - KNOWLEDGEBASE = "knowledgebase" def visit( self, @@ -36,7 +34,6 @@ def visit( crm: typing.Callable[[], T_Result], mktg: typing.Callable[[], T_Result], filestorage: typing.Callable[[], T_Result], - knowledgebase: typing.Callable[[], T_Result], ) -> T_Result: if self is CategoryEnum.HRIS: return hris() @@ -52,5 +49,3 @@ def visit( return mktg() if self is CategoryEnum.FILESTORAGE: return filestorage() - if self is CategoryEnum.KNOWLEDGEBASE: - return knowledgebase() diff --git a/src/merge/resources/ticketing/types/collection.py b/src/merge/resources/ticketing/types/collection.py index b74584a0..3943e4e7 100644 --- a/src/merge/resources/ticketing/types/collection.py +++ b/src/merge/resources/ticketing/types/collection.py @@ -9,7 +9,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ....core.unchecked_base_model import UncheckedBaseModel from .collection_access_level import CollectionAccessLevel -from .collection_collection_type import CollectionCollectionType +from .collection_permissions_item import CollectionPermissionsItem +from .collection_type_enum import CollectionTypeEnum from .remote_data import RemoteData @@ -59,7 +60,7 @@ class Collection(UncheckedBaseModel): * `PARENT_COLLECTION` - PARENT_COLLECTION """ - collection_type: typing.Optional[CollectionCollectionType] = pydantic.Field(default=None) + collection_type: typing.Optional[CollectionTypeEnum] = pydantic.Field(default=None) """ The collection's type. @@ -72,6 +73,7 @@ class Collection(UncheckedBaseModel): The parent collection for this collection. """ + permissions: typing.Optional[typing.List[CollectionPermissionsItem]] = None collection_url: typing.Optional[str] = pydantic.Field(default=None) """ The 3rd party url of the Collection. diff --git a/src/merge/resources/ticketing/types/collection_collection_type.py b/src/merge/resources/ticketing/types/collection_collection_type.py deleted file mode 100644 index 986d6db9..00000000 --- a/src/merge/resources/ticketing/types/collection_collection_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .collection_type_enum import CollectionTypeEnum - -CollectionCollectionType = typing.Union[CollectionTypeEnum, str] diff --git a/src/merge/resources/knowledgebase/types/article_permissions_item.py b/src/merge/resources/ticketing/types/collection_permissions_item.py similarity index 66% rename from src/merge/resources/knowledgebase/types/article_permissions_item.py rename to src/merge/resources/ticketing/types/collection_permissions_item.py index 1474bf4d..09b1aa44 100644 --- a/src/merge/resources/knowledgebase/types/article_permissions_item.py +++ b/src/merge/resources/ticketing/types/collection_permissions_item.py @@ -4,4 +4,4 @@ from .permission import Permission -ArticlePermissionsItem = typing.Union[str, Permission] +CollectionPermissionsItem = typing.Union[str, Permission] diff --git a/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py b/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py deleted file mode 100644 index c112dfd1..00000000 --- a/src/merge/resources/ticketing/types/completed_account_initial_screen_enum.py +++ /dev/null @@ -1,5 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -CompletedAccountInitialScreenEnum = typing.Literal["SELECTIVE_SYNC"] diff --git a/src/merge/resources/ticketing/types/effect_enum.py b/src/merge/resources/ticketing/types/effect_enum.py new file mode 100644 index 00000000..4b8cafc9 --- /dev/null +++ b/src/merge/resources/ticketing/types/effect_enum.py @@ -0,0 +1,31 @@ +# This file was auto-generated by Fern from our API Definition. + +import enum +import typing + +T_Result = typing.TypeVar("T_Result") + + +class EffectEnum(str, enum.Enum): + """ + * `ALLOWED` - ALLOWED + * `DENIED` - DENIED + * `INHERITED` - INHERITED + """ + + ALLOWED = "ALLOWED" + DENIED = "DENIED" + INHERITED = "INHERITED" + + def visit( + self, + allowed: typing.Callable[[], T_Result], + denied: typing.Callable[[], T_Result], + inherited: typing.Callable[[], T_Result], + ) -> T_Result: + if self is EffectEnum.ALLOWED: + return allowed() + if self is EffectEnum.DENIED: + return denied() + if self is EffectEnum.INHERITED: + return inherited() diff --git a/src/merge/resources/ticketing/types/patched_ticket_request.py b/src/merge/resources/ticketing/types/patched_ticket_request.py index d31860df..3a3ae864 100644 --- a/src/merge/resources/ticketing/types/patched_ticket_request.py +++ b/src/merge/resources/ticketing/types/patched_ticket_request.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .patched_ticket_request_access_level import PatchedTicketRequestAccessLevel -from .patched_ticket_request_priority import PatchedTicketRequestPriority from .patched_ticket_request_status import PatchedTicketRequestStatus +from .priority_enum import PriorityEnum from .remote_field_request import RemoteFieldRequest @@ -98,12 +98,17 @@ class PatchedTicketRequest(UncheckedBaseModel): tags: typing.Optional[typing.List[typing.Optional[str]]] = None roles: typing.Optional[typing.List[typing.Optional[str]]] = None + completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) + """ + When the ticket was completed. + """ + ticket_url: typing.Optional[str] = pydantic.Field(default=None) """ The 3rd party url of the Ticket. """ - priority: typing.Optional[PatchedTicketRequestPriority] = pydantic.Field(default=None) + priority: typing.Optional[PriorityEnum] = pydantic.Field(default=None) """ The priority or urgency of the Ticket. @@ -113,11 +118,6 @@ class PatchedTicketRequest(UncheckedBaseModel): * `LOW` - LOW """ - completed_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) - """ - When the ticket was completed. - """ - integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_fields: typing.Optional[typing.List[RemoteFieldRequest]] = None diff --git a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py b/src/merge/resources/ticketing/types/patched_ticket_request_priority.py deleted file mode 100644 index 73651006..00000000 --- a/src/merge/resources/ticketing/types/patched_ticket_request_priority.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .priority_enum import PriorityEnum - -PatchedTicketRequestPriority = typing.Union[PriorityEnum, str] diff --git a/src/merge/resources/knowledgebase/types/permission.py b/src/merge/resources/ticketing/types/permission.py similarity index 58% rename from src/merge/resources/knowledgebase/types/permission.py rename to src/merge/resources/ticketing/types/permission.py index 25d694be..bb45eeff 100644 --- a/src/merge/resources/knowledgebase/types/permission.py +++ b/src/merge/resources/ticketing/types/permission.py @@ -1,25 +1,23 @@ # This file was auto-generated by Fern from our API Definition. -from __future__ import annotations - import datetime as dt import typing import pydantic -from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs +from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .permission_group import PermissionGroup -from .permission_type import PermissionType -from .permission_user import PermissionUser -from .roles_enum import RolesEnum +from .actions_enum import ActionsEnum +from .permission_effect import PermissionEffect class Permission(UncheckedBaseModel): """ # The Permission Object ### Description - The `Permission` object is used to represent a user's or group's access to an article or container. Permissions are unexpanded by default. + The `Permission` object is used to represent permissions that can be applied to users, roles, teams, collections, and tickets. + ### Usage Example + TODO """ id: typing.Optional[str] = None @@ -38,23 +36,24 @@ class Permission(UncheckedBaseModel): The datetime that this object was modified by Merge. """ - user: typing.Optional[PermissionUser] = None - group: typing.Optional[PermissionGroup] = None - type: typing.Optional[PermissionType] = pydantic.Field(default=None) + effect: typing.Optional[PermissionEffect] = pydantic.Field(default=None) """ - Denotes what type of people have access to the Article or Container. + Outcome of this permission rule for matching users. - * `USER` - USER - * `GROUP` - GROUP - * `COMPANY` - COMPANY - * `ANYONE` - ANYONE + * `ALLOWED` - ALLOWED + * `DENIED` - DENIED + * `INHERITED` - INHERITED """ - roles: typing.Optional[typing.List[typing.Optional[RolesEnum]]] = pydantic.Field(default=None) + actions: typing.Optional[typing.List[typing.Optional[ActionsEnum]]] = pydantic.Field(default=None) """ - The permissions that the user or group has for the Article or Container. It is possible for a user or group to have multiple roles, such as viewing & uploading. + Operations that this permission applies to. If the entity inherits permission from a parent entity, then this should be an empty array. In that case, the entity would inherit the parent entity’s actions. """ + applied_to_users: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_roles: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_teams: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_collections: typing.Optional[typing.List[typing.Optional[str]]] = None remote_was_deleted: typing.Optional[bool] = pydantic.Field(default=None) """ Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). @@ -70,8 +69,3 @@ class Config: frozen = True smart_union = True extra = pydantic.Extra.allow - - -from .group import Group # noqa: E402, F401, I001 - -update_forward_refs(Permission) diff --git a/src/merge/resources/ticketing/types/permission_effect.py b/src/merge/resources/ticketing/types/permission_effect.py new file mode 100644 index 00000000..88d536ee --- /dev/null +++ b/src/merge/resources/ticketing/types/permission_effect.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .effect_enum import EffectEnum + +PermissionEffect = typing.Union[EffectEnum, str] diff --git a/src/merge/resources/ticketing/types/permission_request.py b/src/merge/resources/ticketing/types/permission_request.py new file mode 100644 index 00000000..4d4252b2 --- /dev/null +++ b/src/merge/resources/ticketing/types/permission_request.py @@ -0,0 +1,55 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel +from .actions_enum import ActionsEnum +from .permission_request_effect import PermissionRequestEffect + + +class PermissionRequest(UncheckedBaseModel): + """ + # The Permission Object + ### Description + The `Permission` object is used to represent permissions that can be applied to users, roles, teams, collections, and tickets. + + ### Usage Example + TODO + """ + + remote_id: typing.Optional[str] = pydantic.Field(default=None) + """ + The third-party API ID of the matching object. + """ + + effect: typing.Optional[PermissionRequestEffect] = pydantic.Field(default=None) + """ + Outcome of this permission rule for matching users. + + * `ALLOWED` - ALLOWED + * `DENIED` - DENIED + * `INHERITED` - INHERITED + """ + + actions: typing.Optional[typing.List[typing.Optional[ActionsEnum]]] = pydantic.Field(default=None) + """ + Operations that this permission applies to. If the entity inherits permission from a parent entity, then this should be an empty array. In that case, the entity would inherit the parent entity’s actions. + """ + + applied_to_users: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_roles: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_teams: typing.Optional[typing.List[typing.Optional[str]]] = None + applied_to_collections: typing.Optional[typing.List[typing.Optional[str]]] = None + integration_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + linked_account_params: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/ticketing/types/permission_request_effect.py b/src/merge/resources/ticketing/types/permission_request_effect.py new file mode 100644 index 00000000..9ae4c411 --- /dev/null +++ b/src/merge/resources/ticketing/types/permission_request_effect.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .effect_enum import EffectEnum + +PermissionRequestEffect = typing.Union[EffectEnum, str] diff --git a/src/merge/resources/ticketing/types/regenerate_account_token.py b/src/merge/resources/ticketing/types/regenerate_account_token.py new file mode 100644 index 00000000..5c31cf57 --- /dev/null +++ b/src/merge/resources/ticketing/types/regenerate_account_token.py @@ -0,0 +1,30 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +import pydantic +from ....core.pydantic_utilities import IS_PYDANTIC_V2 +from ....core.unchecked_base_model import UncheckedBaseModel + + +class RegenerateAccountToken(UncheckedBaseModel): + """ + # The RegenerateAccountToken Object + ### Description + The `RegenerateAccountToken` object is used to exchange an old account token for a new one. + + ### Usage Example + Post to receive a new `RegenerateAccountToken`. + """ + + linked_account_id: str + account_token: str + + if IS_PYDANTIC_V2: + model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2 + else: + + class Config: + frozen = True + smart_union = True + extra = pydantic.Extra.allow diff --git a/src/merge/resources/ticketing/types/remote_field_class.py b/src/merge/resources/ticketing/types/remote_field_class.py index 76189afe..c50d1dd3 100644 --- a/src/merge/resources/ticketing/types/remote_field_class.py +++ b/src/merge/resources/ticketing/types/remote_field_class.py @@ -5,10 +5,10 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel +from .field_format_enum import FieldFormatEnum +from .field_type_enum import FieldTypeEnum from .item_schema import ItemSchema from .remote_field_class_field_choices_item import RemoteFieldClassFieldChoicesItem -from .remote_field_class_field_format import RemoteFieldClassFieldFormat -from .remote_field_class_field_type import RemoteFieldClassFieldType class RemoteFieldClass(UncheckedBaseModel): @@ -19,8 +19,8 @@ class RemoteFieldClass(UncheckedBaseModel): is_custom: typing.Optional[bool] = None is_common_model_field: typing.Optional[bool] = None is_required: typing.Optional[bool] = None - field_type: typing.Optional[RemoteFieldClassFieldType] = None - field_format: typing.Optional[RemoteFieldClassFieldFormat] = None + field_type: typing.Optional[FieldTypeEnum] = None + field_format: typing.Optional[FieldFormatEnum] = None field_choices: typing.Optional[typing.List[RemoteFieldClassFieldChoicesItem]] = None item_schema: typing.Optional[ItemSchema] = None diff --git a/src/merge/resources/ticketing/types/remote_field_class_field_format.py b/src/merge/resources/ticketing/types/remote_field_class_field_format.py deleted file mode 100644 index 1412d3b4..00000000 --- a/src/merge/resources/ticketing/types/remote_field_class_field_format.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_format_enum import FieldFormatEnum - -RemoteFieldClassFieldFormat = typing.Union[str, FieldFormatEnum] diff --git a/src/merge/resources/ticketing/types/remote_field_class_field_type.py b/src/merge/resources/ticketing/types/remote_field_class_field_type.py deleted file mode 100644 index 41a0b893..00000000 --- a/src/merge/resources/ticketing/types/remote_field_class_field_type.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file was auto-generated by Fern from our API Definition. - -import typing - -from .field_type_enum import FieldTypeEnum - -RemoteFieldClassFieldType = typing.Union[str, FieldTypeEnum] diff --git a/src/merge/resources/ticketing/types/remote_response.py b/src/merge/resources/ticketing/types/remote_response.py index af181fc0..db01131f 100644 --- a/src/merge/resources/ticketing/types/remote_response.py +++ b/src/merge/resources/ticketing/types/remote_response.py @@ -5,7 +5,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel -from .response_type_enum import ResponseTypeEnum +from .remote_response_response_type import RemoteResponseResponseType class RemoteResponse(UncheckedBaseModel): @@ -23,7 +23,7 @@ class RemoteResponse(UncheckedBaseModel): status: int response: typing.Optional[typing.Any] = None response_headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None - response_type: typing.Optional[ResponseTypeEnum] = None + response_type: typing.Optional[RemoteResponseResponseType] = None headers: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None if IS_PYDANTIC_V2: diff --git a/src/merge/resources/ticketing/types/remote_response_response_type.py b/src/merge/resources/ticketing/types/remote_response_response_type.py new file mode 100644 index 00000000..2556417a --- /dev/null +++ b/src/merge/resources/ticketing/types/remote_response_response_type.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .response_type_enum import ResponseTypeEnum + +RemoteResponseResponseType = typing.Union[ResponseTypeEnum, str] diff --git a/src/merge/resources/ticketing/types/role_enum.py b/src/merge/resources/ticketing/types/role_enum.py index a6cfcc6f..8f2c9b1d 100644 --- a/src/merge/resources/ticketing/types/role_enum.py +++ b/src/merge/resources/ticketing/types/role_enum.py @@ -14,6 +14,7 @@ class RoleEnum(str, enum.Enum): * `API` - API * `SYSTEM` - SYSTEM * `MERGE_TEAM` - MERGE_TEAM + * `SUPPORT` - SUPPORT """ ADMIN = "ADMIN" @@ -22,6 +23,7 @@ class RoleEnum(str, enum.Enum): API = "API" SYSTEM = "SYSTEM" MERGE_TEAM = "MERGE_TEAM" + SUPPORT = "SUPPORT" def visit( self, @@ -31,6 +33,7 @@ def visit( api: typing.Callable[[], T_Result], system: typing.Callable[[], T_Result], merge_team: typing.Callable[[], T_Result], + support: typing.Callable[[], T_Result], ) -> T_Result: if self is RoleEnum.ADMIN: return admin() @@ -44,3 +47,5 @@ def visit( return system() if self is RoleEnum.MERGE_TEAM: return merge_team() + if self is RoleEnum.SUPPORT: + return support() diff --git a/src/merge/resources/ticketing/types/role_ticket_access.py b/src/merge/resources/ticketing/types/role_ticket_access.py index bf10da43..33e407ac 100644 --- a/src/merge/resources/ticketing/types/role_ticket_access.py +++ b/src/merge/resources/ticketing/types/role_ticket_access.py @@ -4,4 +4,4 @@ from .ticket_access_enum import TicketAccessEnum -RoleTicketAccess = typing.Union[str, TicketAccessEnum] +RoleTicketAccess = typing.Union[TicketAccessEnum, str] diff --git a/src/merge/resources/ticketing/types/role_ticket_actions_item.py b/src/merge/resources/ticketing/types/role_ticket_actions_item.py index 4b136989..7a8788e1 100644 --- a/src/merge/resources/ticketing/types/role_ticket_actions_item.py +++ b/src/merge/resources/ticketing/types/role_ticket_actions_item.py @@ -4,4 +4,4 @@ from .ticket_actions_enum import TicketActionsEnum -RoleTicketActionsItem = typing.Union[str, TicketActionsEnum] +RoleTicketActionsItem = typing.Union[TicketActionsEnum, str] diff --git a/src/merge/resources/ticketing/types/sync_status.py b/src/merge/resources/ticketing/types/sync_status.py index 4a628c4f..07ab1dc2 100644 --- a/src/merge/resources/ticketing/types/sync_status.py +++ b/src/merge/resources/ticketing/types/sync_status.py @@ -7,8 +7,8 @@ from ....core.pydantic_utilities import IS_PYDANTIC_V2 from ....core.unchecked_base_model import UncheckedBaseModel from .selective_sync_configurations_usage_enum import SelectiveSyncConfigurationsUsageEnum -from .status_fd_5_enum import StatusFd5Enum from .sync_status_last_sync_result import SyncStatusLastSyncResult +from .sync_status_status import SyncStatusStatus class SyncStatus(UncheckedBaseModel): @@ -27,7 +27,7 @@ class SyncStatus(UncheckedBaseModel): next_sync_start: typing.Optional[dt.datetime] = None last_sync_result: typing.Optional[SyncStatusLastSyncResult] = None last_sync_finished: typing.Optional[dt.datetime] = None - status: StatusFd5Enum + status: SyncStatusStatus is_initial_sync: bool selective_sync_configurations_usage: typing.Optional[SelectiveSyncConfigurationsUsageEnum] = None diff --git a/src/merge/resources/ticketing/types/sync_status_status.py b/src/merge/resources/ticketing/types/sync_status_status.py new file mode 100644 index 00000000..78e4cc47 --- /dev/null +++ b/src/merge/resources/ticketing/types/sync_status_status.py @@ -0,0 +1,7 @@ +# This file was auto-generated by Fern from our API Definition. + +import typing + +from .status_fd_5_enum import StatusFd5Enum + +SyncStatusStatus = typing.Union[StatusFd5Enum, str] diff --git a/src/merge/resources/ticketing/types/ticket.py b/src/merge/resources/ticketing/types/ticket.py index 0a550a82..c44fefb3 100644 --- a/src/merge/resources/ticketing/types/ticket.py +++ b/src/merge/resources/ticketing/types/ticket.py @@ -8,6 +8,7 @@ import pydantic from ....core.pydantic_utilities import IS_PYDANTIC_V2, update_forward_refs from ....core.unchecked_base_model import UncheckedBaseModel +from .permission import Permission from .remote_data import RemoteData from .remote_field import RemoteField from .ticket_access_level import TicketAccessLevel @@ -124,8 +125,24 @@ class Ticket(UncheckedBaseModel): * `COLLECTION` - COLLECTION """ + permissions: typing.Optional[typing.List[Permission]] = None tags: typing.Optional[typing.List[typing.Optional[str]]] = None roles: typing.Optional[typing.List[typing.Optional[str]]] = None + ticket_url: typing.Optional[str] = pydantic.Field(default=None) + """ + The 3rd party url of the Ticket. + """ + + priority: typing.Optional[TicketPriority] = pydantic.Field(default=None) + """ + The priority or urgency of the Ticket. + + * `URGENT` - URGENT + * `HIGH` - HIGH + * `NORMAL` - NORMAL + * `LOW` - LOW + """ + remote_created_at: typing.Optional[dt.datetime] = pydantic.Field(default=None) """ When the third party's ticket was created. @@ -146,21 +163,6 @@ class Ticket(UncheckedBaseModel): Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). """ - ticket_url: typing.Optional[str] = pydantic.Field(default=None) - """ - The 3rd party url of the Ticket. - """ - - priority: typing.Optional[TicketPriority] = pydantic.Field(default=None) - """ - The priority or urgency of the Ticket. - - * `URGENT` - URGENT - * `HIGH` - HIGH - * `NORMAL` - NORMAL - * `LOW` - LOW - """ - field_mappings: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = None remote_data: typing.Optional[typing.List[RemoteData]] = None remote_fields: typing.Optional[typing.List[RemoteField]] = None